/* ===== RESET & BASE ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --plum: #7B4397;
  --plum-light: #9B6FBF;
  --plum-pale: #F3ECF7;
  --plum-ghost: #FAF6FD;
  --amber: #E8A838;
  --amber-light: #F5C96A;
  --amber-pale: #FFF8EC;
  --amber-ghost: #FFFCF5;
  --text-dark: #2D1F3D;
  --text-mid: #5A4568;
  --text-light: #8B7A96;
  --white: #FFFFFF;
  --bg-cream: #FFFBF5;
  --bg-lavender: #FAF6FD;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --shadow-sm: 0 2px 8px rgba(123, 67, 151, 0.06);
  --shadow-md: 0 8px 30px rgba(123, 67, 151, 0.10);
  --shadow-lg: 0 16px 60px rgba(123, 67, 151, 0.14);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-dark);
  background: var(--bg-cream);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.2;
  color: var(--text-dark);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== NAVIGATION ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 251, 245, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(123, 67, 151, 0.08);
  transition: var(--transition);
}

.nav.scrolled {
  background: rgba(255, 251, 245, 0.95);
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text-dark);
}

.nav-logo-icon {
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-mid);
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--plum);
  background: var(--plum-pale);
}

.nav-cta {
  background: var(--plum) !important;
  color: var(--white) !important;
  font-weight: 600 !important;
}

.nav-cta:hover {
  background: var(--plum-light) !important;
  color: var(--white) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(123, 67, 151, 0.3);
}

.nav-toggle {
  display: none;
  padding: 8px;
  border-radius: var(--radius-sm);
  color: var(--text-dark);
  transition: var(--transition);
}

.nav-toggle:hover {
  background: var(--plum-pale);
  color: var(--plum);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 80px;
  overflow: hidden;
}

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

.hero-gradient-1 {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 70%;
  height: 80%;
  background: radial-gradient(ellipse, rgba(123, 67, 151, 0.08) 0%, transparent 70%);
  animation: floatGradient 8s ease-in-out infinite;
}

.hero-gradient-2 {
  position: absolute;
  bottom: -10%;
  left: -10%;
  width: 60%;
  height: 60%;
  background: radial-gradient(ellipse, rgba(232, 168, 56, 0.07) 0%, transparent 70%);
  animation: floatGradient 10s ease-in-out infinite reverse;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(123, 67, 151, 0.04) 1px, transparent 1px);
  background-size: 32px 32px;
}

@keyframes floatGradient {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -20px) scale(1.05); }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
  width: 100%;
}

.hero-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-xl);
  padding: 56px 48px;
  box-shadow: var(--shadow-lg);
}

.hero-tag {
  display: inline-block;
  background: linear-gradient(135deg, var(--plum-pale), var(--amber-pale));
  color: var(--plum);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 20px;
  border-radius: 100px;
  margin-bottom: 24px;
}

.hero-headline {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-dark);
  line-height: 1.15;
}

.hero-headline em {
  color: var(--plum);
  font-style: italic;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--text-mid);
  margin-bottom: 36px;
  line-height: 1.8;
  max-width: 520px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 100px;
  font-size: 0.95rem;
  font-weight: 600;
  transition: var(--transition);
}

.btn-primary {
  background: linear-gradient(135deg, var(--plum), var(--plum-light));
  color: var(--white);
  box-shadow: 0 4px 20px rgba(123, 67, 151, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(123, 67, 151, 0.35);
}

.btn-outline {
  background: var(--white);
  color: var(--plum);
  border: 2px solid rgba(123, 67, 151, 0.2);
}

.btn-outline:hover {
  border-color: var(--plum);
  background: var(--plum-pale);
  transform: translateY(-2px);
}

.btn-full {
  width: 100%;
}

/* Floating Stat Cards */
.hero-cards {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.float-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  box-shadow: var(--shadow-md);
  animation: floatCard 4s ease-in-out infinite;
  pointer-events: auto;
}

.float-card:nth-child(1) {
  top: 15%;
  right: 5%;
}

.float-card:nth-child(2) {
  top: 55%;
  right: 2%;
}

.float-card:nth-child(3) {
  bottom: 15%;
  right: 12%;
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.float-card-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  background: var(--plum-pale);
}

.float-card:nth-child(2) .float-card-icon {
  background: var(--amber-pale);
}

.float-card-num {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-dark);
}

.float-card-label {
  font-size: 0.75rem;
  color: var(--text-light);
  font-weight: 500;
}

/* ===== SECTION COMMON ===== */
.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 60px;
}

.section-tag {
  display: inline-block;
  background: linear-gradient(135deg, var(--plum-pale), var(--amber-pale));
  color: var(--plum);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 16px;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--text-mid);
  line-height: 1.8;
}

/* ===== MENU ===== */
.menu {
  padding: 100px 0;
  background: var(--bg-lavender);
}

.menu-categories {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.menu-cat {
  padding: 10px 24px;
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-mid);
  background: var(--white);
  border: 1px solid rgba(123, 67, 151, 0.1);
  transition: var(--transition);
}

.menu-cat:hover,
.menu-cat.active {
  background: var(--plum);
  color: var(--white);
  border-color: var(--plum);
  box-shadow: 0 4px 15px rgba(123, 67, 151, 0.25);
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
}

.menu-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(123, 67, 151, 0.06);
  transition: var(--transition);
  opacity: 1;
  transform: translateY(0);
}

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

.menu-card-img {
  height: 200px;
  overflow: hidden;
}

.menu-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.menu-card:hover .menu-card-img img {
  transform: scale(1.08);
}

.menu-card-body {
  padding: 24px;
}

.menu-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.menu-card-top h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 600;
}

.menu-cat-badge {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--plum);
  background: var(--plum-pale);
  padding: 4px 12px;
  border-radius: 100px;
}

.menu-card-body p {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.7;
}

/* ===== ABOUT ===== */
.about {
  padding: 100px 0;
  background: var(--bg-cream);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-images {
  position: relative;
  min-height: 500px;
}

.about-img-main {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 1;
}

.about-img-main img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

.about-img-float {
  position: absolute;
  bottom: -30px;
  right: -30px;
  z-index: 2;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--bg-cream);
}

.about-img-float img {
  width: 280px;
  height: 200px;
  object-fit: cover;
}

.about-accent {
  position: absolute;
  top: -20px;
  left: -20px;
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, var(--amber-pale), var(--plum-pale));
  border-radius: var(--radius-lg);
  z-index: 0;
}

.about-content {
  max-width: 480px;
}

.about-content .section-tag {
  margin-bottom: 16px;
}

.about-content .section-title {
  margin-bottom: 24px;
}

.about-text {
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.9;
  margin-bottom: 20px;
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 36px;
}

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.about-feature-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: var(--plum-pale);
}

.about-feature:nth-child(2) .about-feature-icon {
  background: var(--amber-pale);
}

.about-feature strong {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  margin-bottom: 2px;
}

.about-feature span {
  font-size: 0.85rem;
  color: var(--text-light);
}

/* ===== GALLERY ===== */
.gallery {
  padding: 100px 0;
  background: var(--bg-lavender);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gallery-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  aspect-ratio: 5/4;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(45, 31, 61, 0.3), transparent 50%);
  opacity: 0;
  transition: var(--transition);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-item:hover::after {
  opacity: 1;
}

/* ===== VISIT ===== */
.visit {
  padding: 100px 0;
  background: var(--bg-cream);
}

.visit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.visit-info .section-title {
  margin-bottom: 16px;
}

.visit-desc {
  font-size: 1.05rem;
  color: var(--text-mid);
  margin-bottom: 36px;
  line-height: 1.8;
}

.visit-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 32px;
}

.visit-detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.visit-detail-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: var(--plum-pale);
}

.visit-detail strong {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  margin-bottom: 4px;
}

.visit-detail span,
.visit-detail a {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.7;
}

.visit-detail a:hover {
  color: var(--plum);
}

.visit-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

/* Contact Form */
.visit-form-wrap {
  position: sticky;
  top: 100px;
}

.visit-form-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(123, 67, 151, 0.06);
}

.visit-form-card h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.visit-form-card > p {
  font-size: 0.9rem;
  color: var(--text-mid);
  margin-bottom: 28px;
  line-height: 1.7;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid rgba(123, 67, 151, 0.15);
  border-radius: var(--radius-md);
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: var(--text-dark);
  background: var(--bg-cream);
  transition: var(--transition);
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-light);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--plum);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(123, 67, 151, 0.08);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-success {
  display: none;
  text-align: center;
  padding: 40px 20px;
}

.form-success svg {
  margin: 0 auto 16px;
}

.form-success h4 {
  font-size: 1.3rem;
  margin-bottom: 8px;
  color: var(--plum);
}

.form-success p {
  font-size: 0.9rem;
  color: var(--text-mid);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--text-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer-brand p {
  margin-top: 16px;
  font-size: 0.9rem;
  line-height: 1.8;
  max-width: 280px;
}

.footer h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-links a:hover {
  color: var(--amber-light);
  padding-left: 4px;
}

.footer-contact p {
  font-size: 0.9rem;
  line-height: 1.8;
  margin-bottom: 8px;
}

.footer-contact a {
  font-size: 0.9rem;
  color: var(--amber-light);
}

.footer-contact a:hover {
  color: var(--amber);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}

/* ===== MOBILE MENU ===== */
.nav-links.open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 72px;
  left: 0;
  right: 0;
  background: rgba(255, 251, 245, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 24px;
  border-bottom: 1px solid rgba(123, 67, 151, 0.08);
  box-shadow: var(--shadow-md);
  gap: 4px;
}

.nav-links.open a {
  padding: 14px 20px;
  border-radius: var(--radius-md);
  font-size: 1rem;
}

/* ===== SCROLL ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero-card {
    padding: 40px 32px;
  }

  .float-card {
    display: none;
  }

  .about-grid {
    gap: 40px;
  }

  .about-img-float {
    right: -10px;
    bottom: -20px;
  }

  .about-img-float img {
    width: 200px;
    height: 150px;
  }
}

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

  .nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .nav-links.open {
    display: flex;
  }

  .hero {
    padding: 100px 20px 60px;
    min-height: auto;
  }

  .hero-card {
    padding: 32px 24px;
  }

  .hero-headline {
    font-size: 1.8rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    text-align: center;
  }

  .menu {
    padding: 60px 0;
  }

  .menu-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .about {
    padding: 60px 0;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-images {
    min-height: 350px;
  }

  .about-img-main img {
    height: 350px;
  }

  .about-img-float {
    right: 10px;
    bottom: -10px;
  }

  .about-img-float img {
    width: 160px;
    height: 120px;
  }

  .gallery {
    padding: 60px 0;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .visit {
    padding: 60px 0;
  }

  .visit-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .visit-form-wrap {
    position: static;
  }

  .visit-form-card {
    padding: 28px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero-card {
    padding: 28px 20px;
  }

  .hero-headline {
    font-size: 1.5rem;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }
}
