/* ---------------------------------------------------
   🌸 GLOBAL CONTAINER
--------------------------------------------------- */

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 22px;
}


/* ---------------------------------------------------
   🌸 MODERN HEADER
--------------------------------------------------- */

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 72px;
  z-index: 120;
  backdrop-filter: blur(18px);

  background: rgba(255, 245, 250, 0.5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);

  transition: 0.35s ease;
}

.header.scrolled {
  background: rgba(43, 18, 48, 0.85);
  border-bottom-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.header-inner {
  height: 72px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 50px;
  border-radius: 999px;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.15));
}


/* ---------------------------------------------------
   🌸 DESKTOP NAVIGATION
--------------------------------------------------- */

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

.nav-links a {
  position: relative;
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--color-text-soft);
  padding-bottom: 2px;
  transition: color 0.25s ease;
}

.header.scrolled .nav-links a {
  color: #fff;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  height: 2px;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  transition: width 0.25s ease;
}

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


/* ---------------------------------------------------
   🌸 MOBILE NAVIGATION
--------------------------------------------------- */

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
}

.menu-toggle .bar {
  height: 2px;
  width: 22px;
  border-radius: 999px;
  background: var(--color-text);
  transition: 0.35s ease;
}

.header.scrolled .bar {
  background: #fff;
}

.menu-toggle.active .bar:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle.active .bar:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active .bar:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

@media (max-width: 880px) {
  .menu-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    inset: 72px 0 auto 0;
    height: 0;
    overflow: hidden;
    display: flex;
    justify-content: center;
    background: rgba(43, 18, 48, 0.75);
    backdrop-filter: blur(22px);
    transition: height 0.35s ease;
  }

  .nav.open {
    height: 260px;
  }

  .nav-links {
    flex-direction: column;
    gap: 20px;
    padding-top: 16px;
  }

  .nav-links a {
    color: #fff;
    font-size: 1.15rem;
  }
}


/* ---------------------------------------------------
   🌸 FOOTER — SUPER MODERN
--------------------------------------------------- */

.footer {
  position: relative;
  background: linear-gradient(180deg, #1a0d1b 0%, #230e26 100%);
  padding: 70px 24px 40px;
  color: #ffe3f5;
  overflow: hidden;
  margin-top: -1px; /* makes footer touch SVG perfectly */
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.footer-wave {
  display: block;
  line-height: 0;        /* removes baseline white space */
  margin-bottom: -1px;   /* pulls SVG down by 1px to remove seam */
}

.footer-wave svg {
  display: block;
  width: 100%;
  height: auto;
}



/* ---------------------------------------------------
   🌸 SOCIAL ICONS
--------------------------------------------------- */

.footer-socials {
  display: flex;
  gap: 24px;
  margin-top: 10px;
}

.social-icon {
  width: 28px;
  height: 28px;
  fill: #ffb8e8;
  transition: 0.25s ease;
  filter: drop-shadow(0 4px 8px rgba(255, 90, 180, 0.25));
}

.social-icon:hover {
  fill: #ff5db7;
  transform: scale(1.17);
}


/* ---------------------------------------------------
   🌸 FOOTER LINKS
--------------------------------------------------- */

.footer-links {
  display: flex;
  gap: 22px;
}

.footer-links a {
  color: #ffb8e8;
  font-size: 1rem;
  transition: 0.25s ease;
}

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


/* ---------------------------------------------------
   🌸 NEWSLETTER BOX (Modern glass)
--------------------------------------------------- */

.newsletter-box {
  background: rgba(255, 225, 245, 0.12);
  padding: 35px;
  width: 100%;
  max-width: 560px;
  border-radius: 24px;
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 184, 232, 0.25);
  text-align: center;

  box-shadow: 0 12px 40px rgba(255, 120, 200, 0.12);
}

.newsletter-box h3 {
  font-size: 1.8rem;
  margin-bottom: 6px;
  color: #ffb8e8;
  font-weight: 700;
}

.newsletter-box p {
  opacity: 0.85;
  margin-bottom: 18px;
}


/* Form styling */

.newsletter-form {
  display: flex;
  gap: 12px;
  width: 100%;
  justify-content: center;
}

.newsletter-form input {
  width: 65%;
  padding: 12px 16px;
  border-radius: 16px;
  border: none;
  background: #fff;
  font-size: 1rem;
}

.newsletter-form button {
  padding: 12px 20px;
  border-radius: 16px;
  background: linear-gradient(135deg, #ff5db7, #ff8bdc);
  color: #fff;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: 0.25s;
}

.newsletter-form button:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #ff2c97, #ff78ce);
}


/* Consent stays exactly as you asked (no changes) */


/* Messages */

.newsletter-message {
  margin-top: 14px;
  min-height: 22px;
  font-size: 1rem;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.newsletter-message.show {
  opacity: 1;
}

.newsletter-message.error {
  color: #ff9aa3;
}

.newsletter-message.success {
  color: #a4ffd8;
}


/* Mobile adjustments */

@media (max-width: 600px) {
  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-form input,
  .newsletter-form button {
    width: 100%;
  }
}


/* ---------------------------------------------------
   🌸 FLOATING BUBBLES
--------------------------------------------------- */

.footer-bubbles {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.footer-bubbles .bubble {
  position: absolute;
  bottom: -80px;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fff, #ffb8e840);
  animation: footerFloat 14s linear infinite;
}

.footer-bubbles .bubble:nth-child(1) { left: 12%; width: 70px; height: 70px; animation-duration: 16s; }
.footer-bubbles .bubble:nth-child(2) { left: 30%; animation-duration: 14s; }
.footer-bubbles .bubble:nth-child(3) { left: 55%; width: 60px; height: 60px; animation-duration: 18s; }
.footer-bubbles .bubble:nth-child(4) { left: 75%; animation-duration: 13s; }
.footer-bubbles .bubble:nth-child(5) { left: 88%; width: 80px; height: 80px; animation-duration: 20s; }

@keyframes footerFloat {
  0% { transform: translateY(0) scale(1); opacity: 0.5; }
  50% { opacity: 0.9; }
  100% { transform: translateY(-130vh) scale(1.2); opacity: 0; }
}
