/* ============================================================
   AquaWave — Shared Components
   Navbar · Footer · Buttons · Cards · Glassmorphism
   ============================================================ */

/* ======================== NAVBAR ======================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: var(--space-md) 0;
  transition: all 0.35s ease;
}

/* Hide bubble decorations (legacy HTML) */
.navbar__bubbles {
  display: none;
}

.navbar.scrolled {
  background: rgba(10, 22, 40, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: var(--space-sm) 0;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar__logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  position: relative;
  z-index: 1002;
}

.navbar__logo img {
  height: 48px;
  width: auto;
  transition: height 0.3s ease;
}

.navbar.scrolled .navbar__logo img {
  height: 40px;
}

.navbar__logo-text {
  font-family: 'Outfit', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.05em;
}

.navbar__logo-text span {
  color: var(--prism-teal-light);
}

.navbar__links {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.navbar__link {
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 0.02em;
  padding: 8px 20px;
  border-radius: var(--radius-full);
  transition: all 0.3s ease;
  position: relative;
}

.navbar__link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--prism-teal);
  border-radius: var(--radius-full);
  transition: width 0.3s ease;
}

.navbar__link:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.navbar__link:hover::after {
  width: 50%;
}

.navbar__link.active {
  color: var(--white);
  background: rgba(0, 180, 216, 0.15);
  font-weight: 600;
}

.navbar__link.active::after {
  width: 50%;
}

.navbar__cta {
  display: inline-block;
  margin-left: var(--space-sm);
}

/* ======================== MOBILE TOGGLE ======================== */
.navbar__toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  cursor: pointer;
  padding: 0;
  position: relative;
  z-index: 1002;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  transition: all 0.3s ease;
}

.navbar__toggle:active {
  transform: scale(0.92);
  background: rgba(255, 255, 255, 0.15);
}

.navbar__toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--white);
  border-radius: var(--radius-full);
  transition: all 0.3s ease;
  transform-origin: center;
}

.navbar__toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.navbar__toggle.active span:nth-child(2) {
  opacity: 0;
}

.navbar__toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ======================== MOBILE NAVIGATION ======================== */
@media (max-width: 768px) {
  .navbar__toggle {
    display: flex;
  }

  .navbar__links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    max-width: 320px;
    height: 100vh;
    height: 100dvh;
    flex-direction: column;
    justify-content: center;
    gap: var(--space-lg);
    background: rgba(10, 22, 40, 0.98);
    padding: var(--space-3xl);
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                visibility 0s linear 0.4s;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    z-index: 1001;
    pointer-events: none;
    visibility: hidden;
  }

  .navbar__links.open {
    right: 0;
    pointer-events: auto;
    visibility: visible;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                visibility 0s linear 0s;
  }

  .navbar__link {
    font-size: 1.15rem;
    padding: 12px 20px;
    border-radius: var(--radius-md);
    width: 100%;
  }

  .navbar__link::after {
    display: none;
  }

  .navbar__link.active {
    background: rgba(0, 180, 216, 0.12);
  }

  .navbar__cta {
    margin-left: 0;
    margin-top: var(--space-md);
    width: 100%;
    text-align: center;
  }

  .mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 999;
  }

  .mobile-overlay.active {
    display: block;
  }
}




/* ======================== BUTTONS ======================== */

/* Primary CTA — Watery Transparent */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 14px 32px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  border-radius: var(--radius-full);
  transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  will-change: transform;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

.btn:active {
  transform: scale(0.96) !important;
  transition-duration: 0.1s;
}

.btn--primary {
  color: var(--white);
  background: linear-gradient(135deg, 
    rgba(0, 180, 216, 0.5) 0%, 
    rgba(26, 58, 143, 0.5) 50%, 
    rgba(0, 150, 183, 0.5) 100%);
  background-size: 200% 200%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 
    0 4px 15px rgba(0, 180, 216, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  animation: waterShimmer 4s ease infinite;
}

.btn--primary:hover {
  background-size: 200% 200%;
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 
    0 6px 25px rgba(0, 180, 216, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.btn--primary:active {
  transform: translateY(0);
}

/* Secondary Button */
.btn--secondary {
  color: var(--royal-blue);
  background: rgba(255, 255, 255, 0.7);
  border: 1.5px solid rgba(26, 58, 143, 0.2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.btn--secondary:hover {
  background: rgba(255, 255, 255, 0.9);
  border-color: var(--prism-teal);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

/* Outline Button */
.btn--outline {
  color: var(--white);
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
}

.btn--outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--prism-teal-light);
  box-shadow: 0 0 20px rgba(0, 180, 216, 0.15);
  transform: translateY(-2px);
}

/* Gold Button */
.btn--gold {
  color: var(--deep-navy);
  background: var(--gradient-gold);
  background-size: 200% auto;
  border: 1px solid rgba(197, 165, 90, 0.4);
  box-shadow: var(--shadow-glow-gold);
}

.btn--gold:hover {
  background-position: right center;
  box-shadow: 0 0 30px rgba(197, 165, 90, 0.35);
  transform: translateY(-2px);
}

/* Button Sizes */
.btn--sm {
  padding: 10px 22px;
  font-size: 0.85rem;
}

.btn--lg {
  padding: 18px 42px;
  font-size: 1.05rem;
}

/* Button ripple effect */
.btn .ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  animation: ripple 0.6s ease-out;
  pointer-events: none;
}


/* ======================== GLASS CARDS ======================== */
.glass-card {
  background: var(--glass-bg-light);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(255, 255, 255, 0.4), 
    transparent);
}

.glass-card:hover {
  transform: translateY(-6px);
  border-color: var(--glass-border-strong);
  box-shadow: var(--shadow-lg);
}

/* Light Glass Card (for light backgrounds) */
.glass-card--light {
  background: rgba(255, 255, 255, 0.6);
  border-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-md);
}

.glass-card--light:hover {
  background: rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow-lg);
}

/* Product Card */
.product-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  text-align: center;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, 
    transparent 10%, 
    rgba(255, 255, 255, 0.3), 
    transparent 90%);
}

.product-card:hover {
  transform: translateY(-10px);
  border-color: rgba(0, 180, 216, 0.3);
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.15),
    0 0 30px rgba(0, 180, 216, 0.1);
}

.product-card__image {
  width: 100%;
  height: 260px;
  margin: 0 auto var(--space-xl);
  object-fit: contain;
  border-radius: 20px;
  background: linear-gradient(145deg,
    rgba(0, 180, 216, 0.08) 0%,
    rgba(26, 58, 143, 0.12) 100%);
  padding: var(--space-lg);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.4s ease;
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.2));
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.product-card:hover .product-card__image {
  transform: scale(1.04) translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 180, 216, 0.15);
}

.product-card__size {
  display: inline-block;
  padding: 4px 16px;
  background: rgba(0, 180, 216, 0.15);
  color: var(--prism-teal-light);
  border-radius: var(--radius-full);
  font-family: 'Outfit', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: var(--space-md);
}

.product-card__name {
  font-family: 'Outfit', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: var(--space-sm);
}

.product-card__desc {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: var(--space-lg);
  line-height: 1.6;
}

.product-card__price {
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--gold-light);
  margin-bottom: var(--space-lg);
}

.product-card__price .coming-soon {
  font-size: 0.8rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.5);
  font-style: italic;
}

.product-card__price .price-amount {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--gold-light);
  letter-spacing: 0.02em;
}


/* ======================== FEATURE CARD ======================== */
.feature-card {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  text-align: center;
  transition: all var(--transition-base);
}

.feature-card:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(0, 180, 216, 0.25);
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.feature-card__icon {
  width: 72px;
  height: 72px;
  margin: 0 auto var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(0, 180, 216, 0.15), rgba(26, 58, 143, 0.15));
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0, 180, 216, 0.2);
  font-size: 1.8rem;
  transition: all var(--transition-base);
}

.feature-card:hover .feature-card__icon {
  transform: scale(1.1) rotate(5deg);
  background: linear-gradient(135deg, rgba(0, 180, 216, 0.25), rgba(26, 58, 143, 0.25));
  box-shadow: var(--shadow-glow-blue);
}

.feature-card__title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: var(--space-sm);
}

.feature-card__text {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
}


/* ======================== FOOTER ======================== */
.footer {
  background: var(--deep-navy);
  color: var(--text-on-dark);
  padding: var(--space-4xl) 0 var(--space-xl);
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, 
    transparent, 
    var(--prism-teal), 
    var(--royal-blue), 
    transparent);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: var(--space-3xl);
  margin-bottom: var(--space-3xl);
}

.footer__brand p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  margin-top: var(--space-md);
  max-width: 300px;
  line-height: 1.7;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.footer__logo img {
  height: 44px;
  width: auto;
}

.footer__logo-text {
  font-family: 'Outfit', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
}

.footer__logo-text span {
  color: var(--prism-teal-light);
}

.footer__tagline {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  color: var(--gold-light);
  font-size: 0.9rem;
  margin-top: var(--space-sm);
}

.footer__heading {
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: var(--space-lg);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.footer__link {
  display: block;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.9rem;
  padding: var(--space-xs) 0;
  transition: all var(--transition-base);
}

.footer__link:hover {
  color: var(--prism-teal-light);
  transform: translateX(4px);
}

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.9rem;
  margin-bottom: var(--space-md);
  line-height: 1.6;
}

.footer__contact-item svg {
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--prism-teal);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  flex-wrap: wrap;
  gap: var(--space-md);
}

.footer__copyright {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer__parent {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.35);
  font-style: italic;
}

.footer__socials {
  display: flex;
  gap: var(--space-md);
}

.footer__social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-circle);
  color: rgba(255, 255, 255, 0.6);
  transition: all var(--transition-base);
}

.footer__social-link:hover {
  background: rgba(0, 180, 216, 0.15);
  border-color: var(--prism-teal);
  color: var(--prism-teal-light);
  transform: translateY(-3px);
}

/* Footer Responsive */
@media (max-width: 768px) {
  .footer__grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }
}


/* ======================== PAGE HERO ======================== */
.page-hero {
  position: relative;
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--gradient-hero);
  padding: calc(80px + var(--space-4xl)) var(--space-xl) var(--space-4xl);
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to top, var(--white), transparent);
  pointer-events: none;
}

.page-hero--dark::after {
  background: linear-gradient(to top, var(--deep-navy), transparent);
}

.page-hero__content {
  position: relative;
  z-index: 2;
}

.page-hero__title {
  color: var(--white);
  margin-bottom: var(--space-md);
}

.page-hero__subtitle {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.2rem;
  color: var(--gold-light);
}

/* Floating bubbles in page hero */
.page-hero .bubble {
  position: absolute;
  border-radius: 50%;
  background: rgba(0, 180, 216, 0.08);
  border: 1px solid rgba(0, 180, 216, 0.12);
  animation: bubbleRise linear infinite;
  pointer-events: none;
}
