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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* ========== CUSTOM PROPERTIES ========== */
:root {
  --navy: #1e3a5f;
  --navy-light: #dce6f0;
  --gold: #d4a84b;
  --gold-light: #faf0d0;
  --stone-50: #fafaf9;
  --stone-100: #f5f5f4;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

/* ========== NAVIGATION ========== */
.nav {
  transition: box-shadow 0.3s ease, background 0.3s ease;
}

.nav.scrolled {
  box-shadow: 0 4px 20px rgba(30, 58, 95, 0.08);
  background: rgba(255, 255, 255, 0.97);
}

.nav-link {
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.3s ease;
}

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

/* Mobile Menu */
#mobile-menu {
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.mobile-link {
  display: block;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.mobile-link:hover {
  color: var(--gold);
  padding-left: 8px;
}

/* ========== BUTTONS ========== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--navy);
  color: #fff;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  border: 2px solid var(--navy);
}

.btn-primary:hover {
  background: var(--navy-600, #162c49);
  border-color: var(--navy-600, #162c49);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(30, 58, 95, 0.25);
}

.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: #1e3a5f;
  padding: 10px 22px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.85rem;
  transition: all 0.3s ease;
  border: 2px solid var(--gold);
}

.btn-gold:hover {
  background: #c49a3c;
  border-color: #c49a3c;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212, 168, 75, 0.3);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--navy);
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  border: 2px solid var(--navy);
}

.btn-outline:hover {
  background: var(--navy);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(30, 58, 95, 0.2);
}

.btn-outline-light {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: #fff;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
  transform: translateY(-2px);
}

/* ========== BADGE ========== */
.badge-inline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold-light);
  color: #886422;
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* ========== SECTION LABEL ========== */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

.section-label::before {
  content: '';
  width: 32px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

/* ========== HERO ========== */
.hero {
  background: linear-gradient(135deg, #fafaf9 0%, #f0f4f8 50%, #faf0d0 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(212, 168, 75, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(30, 58, 95, 0.05) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
}

/* Hero Image Grid */
.hero-image-container {
  position: relative;
  z-index: 2;
}

.hero-image-grid {
  position: relative;
  height: 680px;
}

.hero-img {
  object-fit: cover;
  transition: transform 0.5s ease;
}

.hero-img--main {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.hero-img--small {
  width: 200px;
  height: 200px;
  position: absolute;
  bottom: 60px;
  left: -40px;
  border: 4px solid #fff;
}

.hero-img--accent {
  width: 160px;
  height: 160px;
  position: absolute;
  top: 40px;
  right: -30px;
  border: 4px solid #fff;
}

.hero-img:hover {
  transform: scale(1.03);
}

/* Hero Float Card */
.hero-float-card {
  position: absolute;
  bottom: -20px;
  right: 20px;
  background: #fff;
  border-radius: 16px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 8px 32px rgba(30, 58, 95, 0.12);
  z-index: 3;
  animation: float 3s ease-in-out infinite;
}

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

.float-icon {
  width: 44px;
  height: 44px;
  background: var(--gold-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  z-index: 2;
}

.scroll-line {
  width: 2px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  margin: 0 auto;
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50% { opacity: 0.5; transform: scaleY(0.7); }
}

/* ========== FEATURES STRIP ========== */
.feature-item {
  transition: transform 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-4px);
}

.feature-icon {
  width: 56px;
  height: 56px;
  background: var(--gold-light);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  transition: background 0.3s ease;
}

.feature-item:hover .feature-icon {
  background: var(--gold);
}

.feature-item:hover .feature-icon svg {
  stroke: #1e3a5f;
}

/* ========== MENU ========== */
.menu-card {
  background: #fff;
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 4px 24px rgba(30, 58, 95, 0.06);
  border: 1px solid var(--stone-100);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.menu-card:hover {
  box-shadow: 0 8px 40px rgba(30, 58, 95, 0.1);
  transform: translateY(-4px);
}

.menu-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--stone-100);
}

.menu-card-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--navy) 0%, #2d4a6f 100%);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.menu-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.menu-item {
  padding: 16px;
  border-radius: 12px;
  transition: background 0.2s ease;
}

.menu-item:hover {
  background: var(--stone-50);
}

.menu-item-name {
  font-weight: 600;
  color: var(--navy);
  font-size: 1rem;
  margin-bottom: 4px;
}

.menu-item-desc {
  color: var(--navy-400, #6690b3);
  font-size: 0.875rem;
  line-height: 1.5;
}

/* ========== ABOUT ========== */
.about-image-grid {
  position: relative;
  height: 420px;
}

.about-img {
  object-fit: cover;
}

.about-img--main {
  width: 100%;
  height: 420px;
  border-radius: 24px;
}

.about-img--small {
  width: 200px;
  height: 200px;
  border: 5px solid #fff;
}

.about-stat {
  text-align: center;
}

/* ========== GALLERY ========== */
.gallery-strip {
  position: relative;
}

.gallery-scroll {
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}

.gallery-track {
  display: flex;
  gap: 16px;
  animation: galleryScroll 40s linear infinite;
  width: max-content;
}

@keyframes galleryScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.gallery-img {
  height: 300px;
  width: auto;
  border-radius: 16px;
  object-fit: cover;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

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

/* ========== VISIT ========== */
.visit-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: #fff;
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 4px 24px rgba(30, 58, 95, 0.06);
  border: 1px solid var(--stone-100);
  transition: all 0.3s ease;
}

.visit-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 40px rgba(30, 58, 95, 0.1);
  border-color: var(--gold);
}

.visit-card-icon {
  width: 52px;
  height: 52px;
  background: var(--gold-light);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ========== CONTACT FORM ========== */
.contact-form {
  background: var(--stone-50);
  border-radius: 24px;
  padding: 40px;
  border: 1px solid var(--stone-100);
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}

.form-input {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--stone-100);
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--navy);
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
}

.form-input::placeholder {
  color: #b0b8c4;
}

.form-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(212, 168, 75, 0.1);
}

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

.form-success {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 12px;
  padding: 16px 20px;
}

/* ========== FOOTER ========== */
.footer {
  position: relative;
}

/* ========== SCROLL REVEAL ========== */
.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
  }

  .reveal.revealed {
    opacity: 1;
    transform: none;
  }

  .reveal:nth-child(2) { transition-delay: 0.1s; }
  .reveal:nth-child(3) { transition-delay: 0.2s; }
  .reveal:nth-child(4) { transition-delay: 0.3s; }
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1023px) {
  .hero-image-grid {
    height: 500px;
    margin-top: 40px;
  }

  .hero-img--small {
    width: 160px;
    height: 160px;
    left: -20px;
    bottom: 40px;
  }

  .hero-img--accent {
    width: 130px;
    height: 130px;
    right: -15px;
    top: 20px;
  }
}

@media (max-width: 767px) {
  .hero {
    padding-top: 100px;
    min-height: auto;
    padding-bottom: 80px;
  }

  .hero-image-grid {
    height: 400px;
  }

  .hero-img--small {
    width: 130px;
    height: 130px;
    left: -10px;
    bottom: 20px;
  }

  .hero-img--accent {
    width: 110px;
    height: 110px;
    right: -10px;
    top: 10px;
  }

  .hero-float-card {
    right: 0;
    bottom: -10px;
  }

  .about-image-grid {
    height: 320px;
  }

  .about-img--small {
    width: 150px;
    height: 150px;
    right: -10px;
    bottom: -10px;
  }

  .contact-form {
    padding: 24px;
  }

  .scroll-indicator {
    display: none;
  }

  .gallery-img {
    height: 220px;
  }
}

@media (max-width: 369px) {
  .hero-image-grid {
    height: 320px;
  }

  .hero-img--small {
    width: 110px;
    height: 110px;
  }

  .hero-img--accent {
    width: 90px;
    height: 90px;
  }
}
