/* General Body & Typography */
:root {
  --primary-color: #8d6e63; /* Main brown */
  --secondary-color: #c2185b; /* Accent pink */
  --background-light: #fff9f5; /* Light peach background */
  --background-white: #ffffff;
  --text-dark: #5d4037;
  --text-light: #757575;
  --border-color: #efebe9;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 70px; /* Offset for sticky navbar */
}

body {
  font-family: "Poppins", sans-serif;
  background-color: var(--background-white);
  color: var(--text-dark);
  margin: 0;
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px 0;
}

h1,
h2,
h3,
h4 {
  font-family: "Playfair Display", serif;
  color: var(--primary-color);
}

h2 {
  text-align: center;
  font-size: 2.5em;
  margin-bottom: 40px;
  font-style: italic;
}

/* Navbar */
.navbar {
  background: rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  padding: 10px 0;
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 6px 6px 12px #bebebe, -6px -6px 12px #ffffff;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
}

.nav-logo {
  font-family: "Playfair Display", serif;
  font-size: 1.8em;
  font-weight: bold;
  color: var(--primary-color);
  text-decoration: none;
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.nav-logo-img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: block;
}

.nav-menu {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
}

.nav-item {
  margin-left: 25px;
}

.nav-link {
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 700;
  font-size: 1em;
  padding: 5px;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--secondary-color);
}

/* Hide mobile close button by default (desktop/tablet) */
.nav-close-item {
  display: none;
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
}

.nav-toggle .bar {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  margin: 5px 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Responsive navigation */
@media (max-width: 768px) {
  .nav-toggle {
    display: inline-block;
  }
  .nav-menu {
    position: fixed;
    inset: 0;
    height: 100dvh;
    min-height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: calc(20px + env(safe-area-inset-top, 0)) 24px 24px 24px;
    padding-top: calc(70px + env(safe-area-inset-top, 0));
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    z-index: 900; /* below navbar (1000) so toggle stays clickable */
    overflow-y: auto;
  }
  .nav-close-item {
    list-style: none;
    display: block;
  }
  .nav-close {
    position: absolute;
    top: calc(14px + env(safe-area-inset-top, 0));
    right: 14px;
    background: transparent;
    border: 0;
    font-size: 2rem;
    line-height: 1;
    color: var(--text-dark);
    cursor: pointer;
    padding: 8px;
  }
  .nav-container {
    position: relative;
  }
  .nav-item {
    margin: 0;
  }
  .nav-link {
    padding: 14px 0;
    font-size: 1.2em;
  }

  /* open state */
  .nav-menu.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  /* animate hamburger into X when expanded */
  .nav-toggle[aria-expanded="true"] .bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .nav-toggle[aria-expanded="true"] .bar:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle[aria-expanded="true"] .bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  /* lock scroll when menu open */
  body.nav-open {
    overflow: hidden;
  }
}

/* Hero Header */
.hero {
  background: linear-gradient(180deg, var(--background-light) 0%, #fff 100%);
  color: var(--primary-color);
  text-align: center;
  padding: 80px 20px;
  position: relative;
  overflow: hidden;
  min-height: 65vh;
  display: grid;
  place-items: center;
  perspective: 1000px;
}

.hero-bg {
  position: absolute;
  inset: -10% -10% 0 -10%;
  z-index: 1;
}

.hero-decor {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.hero-decor .orb {
  position: absolute;
  display: block;
  border-radius: 50%;
  background: radial-gradient(
      circle at 30% 30%,
      rgba(255, 255, 255, 0.75),
      rgba(255, 255, 255, 0.25) 40%,
      rgba(255, 255, 255, 0) 70%
    ),
    radial-gradient(
      circle at 70% 70%,
      rgba(194, 24, 91, 0.18),
      rgba(141, 110, 99, 0.12) 60%,
      rgba(141, 110, 99, 0) 80%
    );
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08),
    inset 0 2px 8px rgba(255, 255, 255, 0.5);
  filter: blur(0.2px);
}

.hero-layer {
  position: absolute;
  inset: 0;
  will-change: transform, filter, opacity;
  transition: transform 0.2s ease-out;
}

.layer-back {
  background: radial-gradient(
      1000px 600px at 10% 20%,
      rgba(194, 24, 91, 0.1),
      transparent 60%
    ),
    radial-gradient(
      800px 500px at 90% 30%,
      rgba(141, 110, 99, 0.1),
      transparent 60%
    );
  filter: blur(4px);
}

.layer-mid {
  background: radial-gradient(
      600px 400px at 20% 80%,
      rgba(141, 110, 99, 0.12),
      transparent 60%
    ),
    radial-gradient(
      700px 400px at 80% 70%,
      rgba(194, 24, 91, 0.12),
      transparent 60%
    );
  filter: blur(6px);
  opacity: 0.9;
}

.layer-front {
  background: radial-gradient(
      420px 280px at 50% 40%,
      rgba(141, 110, 99, 0.12),
      transparent 60%
    ),
    radial-gradient(
      360px 240px at 30% 30%,
      rgba(194, 24, 91, 0.12),
      transparent 60%
    );
  filter: blur(10px);
  opacity: 0.8;
}

.hero-content h1 {
  font-size: 3.5em;
  margin: 0;
}

.hero-content .subtitle {
  font-size: 1.4em;
  font-style: italic;
  opacity: 0.8;
}

.hero-content {
  position: relative;
  z-index: 2;
  will-change: transform;
  transition: transform 0.2s ease-out, text-shadow 0.3s ease;
}

.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 18px;
}

.cta-button.secondary {
  display: inline-block;
  background-color: var(--background-light);
  color: var(--text-dark);
  padding: 3% !important;
  text-decoration: none;
  font-size: 0.8em;
  font-weight: 700;
  border-radius: 50px;
  box-shadow: 0 8px 20px rgba(194, 24, 91, 0.25);
  transition: background-color 0.3s ease, transform 0.3s ease,
    box-shadow 0.3s ease;
  justify-content: center;
  align-items: center;
}

.hero-cursor-glow {
  position: absolute;
  z-index: 1;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(
    circle,
    rgba(194, 24, 91, 0.28) 0%,
    rgba(194, 24, 91, 0.12) 40%,
    rgba(194, 24, 91, 0) 70%
  );
  filter: blur(8px);
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.scroll-indicator {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 44px;
  border: 2px solid rgba(93, 64, 55, 0.4);
  border-radius: 18px;
  display: inline-block;
}

.scroll-indicator::after {
  content: "";
  position: absolute;
  top: 8px;
  left: 50%;
  width: 6px;
  height: 6px;
  background: rgba(93, 64, 55, 0.6);
  border-radius: 50%;
  transform: translateX(-50%);
  animation: scrollDot 1.6s infinite ease-in-out;
}

@keyframes scrollDot {
  0% {
    opacity: 0;
    transform: translate(-50%, 0);
  }
  30% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate(-50%, 14px);
  }
}

.hero-content:hover h1 {
  text-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

/* Content Sections */
.content-section {
  padding: 60px 0;
}

.bg-light {
  background-color: var(--background-light);
}

/* Price List Table */
.price-list table {
  width: 100%;
  border-collapse: collapse;
  border-radius: 10px;
  box-shadow: 6px 6px 12px #bebebe, -6px -6px 12px #ffffff;
  padding: 5% !important;
}

.price-list td {
  padding: 15px 10px;
  border-bottom: 1px solid var(--border-color);
  font-size: 1.1em;
  text-align: left;
}

.price-list .price {
  font-weight: 700;
  color: var(--secondary-color);
  text-align: right;
  font-size: 1.2em;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.gallery-grid img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.gallery-grid img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Call to Action Button */
.cta-button {
  display: inline-block;
  background-color: var(--secondary-color);
  color: white;
  padding: 3% !important;
  text-decoration: none;
  font-size: 0.8em;
  font-weight: 700;
  border-radius: 50px;
  box-shadow: 0 8px 20px rgba(194, 24, 91, 0.25);
  transition: background-color 0.3s ease, transform 0.3s ease,
    box-shadow 0.3s ease;
  justify-content: center;
  align-items: center;
  border: 2px solid var(--secondary-color);
}

.cta-button:hover {
  background-color: #ad1457;
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(194, 24, 91, 0.35);
  color: white;
}

#contact {
  text-align: center;
}

/* Footer */
.site-footer {
  background-color: var(--primary-color);
  color: #f2f2f2;
  padding-top: 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  padding-bottom: 40px;
}

.site-footer h4 {
  color: white;
  font-size: 1.2em;
  margin-bottom: 15px;
}

.site-footer p,
.site-footer li {
  font-size: 0.95em;
  color: #e0e0e0;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #e0e0e0;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #ffffff;
}

.social-links a {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 15px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  text-decoration: none;
  color: white;
  font-weight: bold;
  transition: background-color 0.3s;
}

.social-links a:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.footer-bottom {
  border-top: 1px solid #795548;
  text-align: center;
  padding: 20px 0;
  font-size: 0.9em;
}

/* Map */
.map-container {
  position: relative;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.map-container iframe {
  display: block;
  width: 100%;
  height: clamp(320px, 50vw, 520px);
  border: 0;
}

.map-container:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.18);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Price list hover */
.price-list table tr:hover td {
  background-color: rgba(141, 110, 99, 0.06);
}

/* Video */
.video-container {
  position: relative;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.video-container video {
  display: block;
  width: 100%;
  height: auto;
}

.video-container:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.18);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Phone portrait modifier: 9:16 aspect, centered, narrow width */
.video-container.phone-portrait {
  max-width: 420px; /* phone width */
  aspect-ratio: 9 / 16;
}

.video-container.phone-portrait video {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

/* Product grid (Air‑Infuse Jet) */
.product-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 28px;
  align-items: start;
}

.product-copy ul {
  padding-left: 18px;
  margin-top: 14px;
}

.product-copy li {
  margin-bottom: 10px;
}

@media (max-width: 900px) {
  .product-grid {
    grid-template-columns: 1fr;
  }
  /* Mobile alignment */
  #air-infuse-jet .product-copy {
    text-align: left;
  }
  #air-infuse-jet-showcase .product-copy {
    text-align: center;
  }
}

/* Center text for Air‑Infuse sections */
#air-infuse-jet .product-copy,
#air-infuse-jet-showcase .product-copy {
  text-align: center;
}

/* Desktop override: showcase left on larger screens */
#air-infuse-jet-showcase .product-copy {
  text-align: left;
}

#air-infuse-jet .product-copy ul,
#air-infuse-jet-showcase .product-copy ul {
  padding-left: 0;
  list-style-position: inside;
}

/* Accordion */
.accordion {
  max-width: 900px;
  margin: 0 auto;
}

.accordion-item + .accordion-item {
  margin-top: 12px;
}

.accordion-button {
  width: 100%;
  text-align: left;
  background: #fff;
  color: var(--text-dark);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 14px 16px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.25s ease, box-shadow 0.25s ease,
    transform 0.2s ease;
}

.accordion-button[aria-expanded="true"] {
  background: var(--background-light);
}

.accordion-button:hover,
.accordion-button:focus-visible {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  transform: translateY(-1px);
}

.accordion-panel {
  border: 1px solid var(--border-color);
  border-top: 0;
  border-radius: 0 0 10px 10px;
  padding: 14px 16px;
  background: #fff;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

.accordion-panel.is-open {
  opacity: 1;
  height: auto;
}

/* Global fade-in on load */
.reveal {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}
