:root {
  --primary: #000000;
  --secondary: #666666;
  --background: #ffffff;
  --surface: #f8f9fa;
  --surface-hover: #f1f3f5;
  --border: #e9ecef;

  --font-serif: 'Playfair Display', serif;
  --font-sans: 'Inter', sans-serif;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;

  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);

  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: #eef1f5;
  color: var(--primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: url('/bottle-bg.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  opacity: 0.5;
  z-index: -1;
  pointer-events: none;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.2;
}

.section-padding {
  padding: 80px 5%;
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 60px;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.section-header p {
  color: var(--secondary);
  font-size: 1.1rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  font-family: var(--font-sans);
  font-size: 1rem;
}

.btn-primary {
  background: var(--primary);
  color: white;
}

.btn-primary:hover {
  background: #333;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: white;
  color: var(--primary);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: var(--surface);
  transform: translateY(-2px);
  border-color: var(--primary);
}

.btn-text {
  padding: 0;
  color: var(--primary);
  font-weight: 600;
}

.btn-text:hover {
  color: var(--secondary);
  text-decoration: underline;
}

.w-100 {
  width: 100%;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  transition: var(--transition);
}

.nav-brand {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  text-decoration: none;
  color: var(--primary);
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--primary);
  transition: var(--transition);
}

.nav-links a:hover::after {
  width: 100%;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--primary);
}

.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: white;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.mobile-menu-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.mobile-nav-links a {
  font-size: 1.5rem;
  font-family: var(--font-serif);
  text-decoration: none;
  color: var(--primary);
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  padding-top: 120px;
}

.hero-title {
  font-size: 4.5rem;
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--secondary);
  margin-bottom: 40px;
  max-width: 500px;
}

.hero-actions {
  display: flex;
  gap: 16px;
}

.hero-image-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: float 6s ease-in-out infinite;
}

.image-backdrop {
  position: absolute;
  width: 80%;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(0,0,0,0.05) 0%, rgba(255,255,255,0) 70%);
  border-radius: 50%;
  z-index: -1;
}

.hero-image {
  width: 100%;
  max-width: 450px;
  object-fit: contain;
  filter: drop-shadow(0 20px 30px rgba(0,0,0,0.15));
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
  100% { transform: translateY(0px); }
}

/* Product Catalog */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 40px;
}

.product-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 0;
  border: 1px solid var(--border);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  position: relative;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.pc-card-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 480px;
  background-size: cover;
  background-position: center;
  filter: blur(2px) brightness(0.9);
  transform: scale(1.05); /* hide blurred edges */
  z-index: 0;
}

.pc-bottle-container {
  position: relative;
  height: 480px;
  width: 100%;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: transparent;
  padding-top: 20px;
}

/* Using the Actual Bottle Image */
.real-bottle-img {
  width: 100%;
  height: auto;
  max-width: 260px;
  max-height: 380px;
  object-fit: contain;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 15px 25px rgba(0,0,0,0.5));
}

.real-bottle-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  /* Fine-tuning to hit identically over the physical label in the image */
  transform: translate(-50%, -35%); 
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 160px; /* bounds for the text inside label */
  height: 220px; /* bounds for the text inside label */
}

.pc-label-logo {
  margin-top: 5px;
  margin-bottom: 5px;
  z-index: 2;
}

.pc-label-header {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.word-perfume {
  color: #ffffff;
  font-family: 'Arial Black', Impact, sans-serif;
  font-weight: 900;
  font-size: 20px;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-align: justify;
  transform: scaleX(1.3);
  margin-left: 20px; /* offset for scale */
}

.pc-label-subrow {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2px;
  width: 100%;
}

.pc-label-tag {
  color: #CC9933;
  font-family: 'Brush Script MT', cursive;
  font-size: 11px;
}

.word-city {
  background: #ffffff;
  color: #0c1a4b;
  font-family: Arial, sans-serif;
  font-weight: 900;
  font-size: 13px;
  padding: 1px 12px;
  border-radius: 6px;
  margin-right: -10px;
}

.pc-label-name {
  margin-top: auto;
  margin-bottom: auto;
  text-align: center;
  font-weight: 700;
  line-height: 1.1;
  font-family: Arial, sans-serif;
  z-index: 2;
}

.name-top {
  font-size: 25px;
  color: #FFE066;
}
.name-bot {
  font-size: 25px;
  color: #FF9900;
}

.pc-label-footer {
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 3px;
  opacity: 0.8;
  margin-bottom: 16px;
  z-index: 2;
}

.inspired-brand-note {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 0.75rem;
  color: white;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  padding: 4px 10px;
  border-radius: 20px;
  z-index: 10;
  font-weight: 500;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Card Content Info Below Bottle */
.product-info {
  padding: 24px;
  display: flex;
  flex-direction: column;
  background: white;
  z-index: 2;
}

.product-title {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.product-desc {
  color: var(--secondary);
  font-size: 0.95rem;
  margin-bottom: 24px;
}

.size-selector {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
}

.size-btn {
  flex: 1;
  padding: 10px;
  border: 1px solid var(--border);
  background: white;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
}

.size-btn.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.price-display {
  font-size: 1.5rem;
  font-weight: 700;
  margin-top: auto;
  margin-bottom: 16px;
  color: var(--primary);
}

/* Services */
.services-section {
  background: var(--primary);
  color: white;
}

.services-section .section-header p {
  color: #a0a0a0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.service-card {
  background: rgba(255,255,255,0.05);
  padding: 40px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,0.1);
  transition: var(--transition);
}

.service-card:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-5px);
}

.service-icon {
  font-size: 2.5rem;
  margin-bottom: 24px;
}

.service-card h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.service-card p {
  color: #a0a0a0;
  margin-bottom: 24px;
}

.service-card .btn-text {
  color: white;
}

/* Careers */
.careers-section {
  background: var(--surface);
}

.careers-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.careers-content h2 {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.careers-content > p {
  color: var(--secondary);
  font-size: 1.1rem;
  margin-bottom: 40px;
}

.open-positions {
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: left;
  margin-bottom: 40px;
}

.position-card {
  background: white;
  padding: 24px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}

.position-card:hover {
  box-shadow: var(--shadow-sm);
  border-color: var(--primary);
}

.position-card h4 {
  font-family: var(--font-sans);
  font-size: 1.1rem;
}

.position-card span {
  color: var(--secondary);
  font-size: 0.9rem;
}

.careers-cta a {
  color: var(--primary);
  font-weight: 500;
}

/* Contact Section */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.contact-info-panel {
  padding: 60px;
}

.contact-info-panel h3 {
  margin-bottom: 32px;
  font-size: 1.75rem;
}

.info-item {
  margin-bottom: 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.info-item strong {
  min-width: 100px;
}

.info-item a {
  color: var(--primary);
  text-decoration: none;
}

.info-item a:hover {
  text-decoration: underline;
}

.contact-form {
  margin-top: 40px;
}

.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 1rem;
  transition: var(--transition);
  background: var(--surface);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: white;
}

.map-container {
  height: 100%;
  min-height: 400px;
}

/* Footer */
footer {
  background: var(--surface);
  padding: 40px 5%;
  text-align: center;
  border-top: 1px solid var(--border);
}

.footer-brand {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 16px;
}

footer p {
  color: var(--secondary);
  font-size: 0.9rem;
}

/* --- Open Cap Animation & Glitters --- */

.bottle-shake {
  animation: nozzlePress 0.5s ease;
}

@keyframes nozzlePress {
  0% { transform: scaleY(1); }
  30% { transform: scaleY(0.95) translateY(5%); }
  100% { transform: scaleY(1) translateY(0); }
}

.spray-container {
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 100px;
  pointer-events: none;
  z-index: 50;
}

.spray-mist {
  position: absolute;
  top: 0;
  left: 50%;
  width: 25px;
  height: 25px;
  background: radial-gradient(circle, rgba(255,255,255,0.95) 0%, rgba(200,200,200,0) 70%);
  border-radius: 50%;
  transform: translateX(-50%) translateZ(0);
  opacity: 0;
  filter: blur(8px);
}

.spray-active .spray-mist {
  animation: sprayErupt 0.7s cubic-bezier(0.1, 0.8, 0.3, 1) forwards;
}

@keyframes sprayErupt {
  0% { transform: translateX(-50%) translateY(0) scale(1.5); opacity: 0; }
  30% { opacity: 0.8; }
  100% { transform: translateX(-50%) translateY(-250px) scale(45); opacity: 0; }
}

.droplet {
  position: fixed;
  background: white;
  box-shadow: 0 0 10px 3px rgba(255, 255, 255, 0.8), 0 0 20px 5px rgba(255, 215, 0, 0.4);
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  pointer-events: none;
  z-index: 9999;
  opacity: 0;
  transform: scale(0) rotate(0deg);
}

.droplet.drip {
  animation: sparkleFloat 4s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

@keyframes sparkleFloat {
  0% { opacity: 0; transform: scale(0) translateY(0) rotate(0deg); }
  15% { opacity: 1; transform: scale(1) translateY(-10px) rotate(45deg); }
  40% { opacity: 0.8; transform: scale(0.6) translateY(10px) rotate(180deg); box-shadow: 0 0 15px 5px rgba(255, 255, 255, 1); }
  75% { opacity: 1; transform: scale(1.1) translateY(20px) rotate(270deg); }
  100% { opacity: 0; transform: scale(0) translateY(50px) rotate(360deg); }
}

/* Responsive */
@media (max-width: 900px) {
  .hero-section,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: 3.5rem;
  }

  .contact-info-panel {
    padding: 40px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .hero-section {
    padding-top: 100px;
    text-align: center;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-image-wrapper {
    order: -1;
  }

  .section-padding {
    padding: 60px 5%;
  }
}

.zoom-hover-img {
  transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  cursor: zoom-in;
  position: relative;
  z-index: 10;
  background: white;
  border-radius: 6px;
  transform-origin: top center;
}
.zoom-hover-img:hover {
  transform: scale(4.5);
  z-index: 99999 !important;
  box-shadow: 0 15px 50px rgba(0,0,0,0.4);
}