:root {
  --pink: #ffd7e0;
  --yellow: #ffeaa7;
  --blue: #a3d8ff;
  --mint: #c6f6d5;
  --lav: #cbb2ff;
  --ink: #1f1f29;
  --bg: #fffdf8;
  --radius: 22px;
  --shadow: 0 12px 40px rgba(31, 31, 41, 0.1);
  --transition: all 0.4s ease;
  --header-height: 72px;
}

/* Global reset */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%; /* stop Safari auto-zooming text */
}

body {
  margin: 0;
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink);
  background: var(--bg);
  scroll-behavior: smooth;
  min-height: 100vh;
}

/* optional: lock scroll when mobile menu is open */
body.no-scroll {
  overflow: hidden;
}

/* Reusable container */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

.nav-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 0;
  min-height: var(--header-height);
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--ink);
  gap: 0.6rem;
}

.logo {
  width: 45px;
  height: 45px;
  object-fit: cover;
  border-radius: 50%;
}

.brand-name b {
  font-weight: 800;
  font-size: 1.1rem;
}
.brand-name span {
  font-size: 0.9rem;
  opacity: 0.8;
}

/* NAV */
.nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  position: relative;
}

/* Hamburger toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: #fff;
  cursor: pointer;
  padding: 0;
  transition: var(--transition);
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 60%;
  margin: 0 auto;
  border-radius: 999px;
  background: var(--ink);
  transition: var(--transition);
}

/* Hamburger → X animation */
.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Nav links layout (desktop) */
.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0;
  padding: 0;
}

.nav a,
.nav-dropdown-toggle {
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
  position: relative;
  transition: var(--transition);
  font-size: 0.98rem;
  background: none;
  border: none;
  cursor: pointer;
}

/* underline animation */
.nav a::after,
.nav-dropdown-toggle::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 100%;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.nav a:hover::after,
.nav-dropdown-toggle:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.nav-dropdown-icon {
  font-size: 0.7rem;
}

/* Desktop dropdown menu */
.nav-dropdown-menu {
  position: absolute;
  top: 120%;
  left: 0;
  min-width: 160px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  list-style: none;
  padding: 0.4rem 0;
  margin: 0;
  opacity: 0;
  transform: translateY(5px);
  pointer-events: none;
  transition: 0.2s ease;
  z-index: 200;
}

.nav-dropdown-menu li {
  padding: 0;
}

.nav-dropdown-menu a {
  display: block;
  padding: 0.4rem 0.9rem;
  font-size: 0.9rem;
}

.nav-dropdown-menu a::after {
  display: none;
}

/* Show dropdown on hover - desktop */
@media (min-width: 769px) {
  .nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
}

/* Language toggle */
.lang-toggle {
  display: flex;
  gap: 0.4rem;
}

.chip {
  border-radius: 999px;
  padding: 0.2rem 0.7rem;
  font-size: 0.75rem;
  border: 1px solid var(--blue);
  background: #fff;
  cursor: pointer;
  transition: var(--transition);
}

.chip:hover {
  background: var(--blue);
  color: #fff;
}

.chip.active {
  background: var(--blue);
  color: #fff;
}

/* Mobile nav behavior */
@media (max-width: 768px) {
  .nav-wrap {
    padding: 0.5rem 0;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    flex-direction: column;
    align-items: flex-start;
    background: #ffffff;
    padding: 0.75rem 1rem 1rem;
    border-radius: 0 0 18px 18px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
    display: none;
    z-index: 90;
  }

  .nav.nav-open .nav-links {
    display: flex;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a,
  .nav-dropdown-toggle {
    padding: 0.35rem 0;
    width: 100%;
    font-size: 1.04rem;
  }

  /* Dropdown in mobile: stacked */
  .nav-dropdown-menu {
    position: static;
    box-shadow: none;
    padding-left: 0.7rem;
    margin-top: 0.1rem;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: none;
    transition: max-height 0.25s ease, opacity 0.25s ease;
  }

  .nav-dropdown.open .nav-dropdown-menu {
    max-height: 200px;
    opacity: 1;
  }

  .lang-toggle {
    margin-left: 0.25rem;
  }
}

/* Hero with video background */
.hero {
  position: relative;
  text-align: center;
  color: #222;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(80px + env(safe-area-inset-top)) 20px 80px;
  min-height: calc(100dvh - var(--header-height));
}

.hero-video-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-video-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    135deg,
    rgba(163, 216, 255, 0.85),
    rgba(198, 246, 213, 0.85),
    rgba(255, 234, 167, 0.85)
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  animation: fadeIn 1s ease;
}

.hero h1 {
  font-size: clamp(2rem, 6vw, 3rem);
  margin-bottom: 0.5rem;
}

.hero .lead {
  font-size: 1.05rem;
  max-width: 700px;
  margin: 0 auto;
}

.cta-row {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
}

/* Buttons */
.btn {
  text-decoration: none;
  padding: 0.9rem 1.6rem;
  border-radius: var(--radius);
  font-weight: 600;
  transition: var(--transition);
  box-shadow: var(--shadow);
  display: inline-block;
}

.btn.primary {
  background: var(--pink);
  color: #000;
}

.btn.secondary {
  background: #fff;
  border: 2px solid var(--blue);
  color: #333;
}

.btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Sections */
.section {
  padding: 80px 20px;
}

.section h2 {
  text-align: center;
  font-size: 2rem;
  color: #333;
  margin-bottom: 1rem;
}

.section p {
  max-width: 800px;
  margin: 0.5rem auto;
  line-height: 1.6;
  font-size: 1.02rem;
}

/* Contact */
.contact {
  background: linear-gradient(145deg, var(--mint), var(--lav), var(--yellow));
  text-align: center;
}

.contact ul {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 1.5rem;
}

.contact li {
  font-weight: 500;
  margin: 0.4rem 0;
}

/* Gallery */
.gallery {
  background: linear-gradient(180deg, var(--lav) 0%, var(--mint) 100%);
  text-align: center;
}

.gallery h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: #333;
  text-shadow: 0 3px 10px rgba(255, 255, 255, 0.6);
  margin-bottom: 0.5rem;
}

.gallery p {
  max-width: 700px;
  margin: 0 auto 2.5rem auto;
  font-size: 1.05rem;
  color: #444;
  opacity: 0.9;
}

/* Slideshow */
.slideshow {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  max-width: 750px;
  margin: 2rem auto;
}

.slide {
  display: none;
  width: 100%;
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.8s ease;
}

.slide img {
  width: 100%;
  max-width: 700px;
  border-radius: 25px;
  border: 6px solid;
  border-image: linear-gradient(45deg, var(--pink), var(--lav), var(--blue)) 1;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
  object-fit: cover;
  transition: transform 0.4s ease;
}

.slide img:hover {
  transform: scale(1.02);
}

.arrow {
  background: rgba(255, 255, 255, 0.8);
  border: none;
  color: #444;
  font-size: 2rem;
  font-weight: bold;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: 0.3s ease;
}

.arrow:hover {
  background: linear-gradient(135deg, var(--blue), var(--mint));
  color: white;
  transform: scale(1.1);
}

.arrow.prev {
  position: absolute;
  left: -70px;
}
.arrow.next {
  position: absolute;
  right: -70px;
}

/* Videos */
.video {
  background: #fffdf8;
  text-align: center;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 1.8rem;
}

.video-card {
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  padding: 0.8rem 0.8rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.video-frame {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
}

.video-frame::before {
  content: "";
  display: block;
  padding-top: 56.25%;
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-title {
  font-size: 0.98rem;
  font-weight: 600;
  margin: 0;
}

/* Footer */
.footer {
  text-align: center;
  padding: calc(30px + env(safe-area-inset-bottom)) 20px 30px;
  background: #fff;
  box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.05);
  font-size: 0.9rem;
}

/* Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile tweaks */
@media (max-width: 768px) {
  .hero {
    padding: calc(70px + env(safe-area-inset-top)) 16px 70px;
    min-height: calc(100dvh - var(--header-height));
  }

  .cta-row {
    flex-direction: column;
  }

  .section {
    padding: 70px 18px;
  }

  .arrow.prev {
    left: -40px;
  }
  .arrow.next {
    right: -40px;
  }
}
