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

:root {
  --teal-50: #f0fdfa;
  --teal-100: #ccfbf1;
  --teal-200: #99f6e4;
  --teal-300: #5eead4;
  --teal-400: #2dd4bf;
  --teal-500: #14b8a6;
  --teal-600: #0d9488;
  --teal-700: #0f766e;
  --teal-800: #115e59;
  --teal-900: #134e4a;

  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
  --slate-950: #020617;

  --cream: #faf9f6;
  --warm-white: #fefdfb;

  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  color: var(--slate-800);
  background: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

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

/* SKIP LINK */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--teal-700);
  color: white;
  padding: 8px 16px;
  border-radius: 0 0 8px 8px;
  z-index: 9999;
  font-size: 0.875rem;
  font-weight: 500;
}
.skip-link:focus {
  top: 0;
}

/* ===== HEADER ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 24px;
  transition: background 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), padding 0.3s var(--ease-out);
}

.site-header.scrolled {
  background: rgba(250, 249, 246, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--slate-900);
  letter-spacing: -0.02em;
}

.logo-icon {
  width: 32px;
  height: 32px;
  color: var(--teal-600);
}

.logo-light { color: white; }
.logo-light .logo-icon { color: var(--teal-200); }

.nav-menu { display: flex; align-items: center; }

.nav-menu ul {
  display: flex;
  list-style: none;
  gap: 8px;
  align-items: center;
}

.nav-menu a {
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--slate-600);
  border-radius: 100px;
  transition: color 0.25s, background 0.25s;
}

.nav-menu a:hover {
  color: var(--teal-700);
  background: var(--teal-50);
}

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

.nav-cta:hover {
  background: var(--teal-700) !important;
  color: white !important;
}

/* HAMBURGER */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 44px;
  height: 44px;
  position: relative;
  z-index: 1001;
}

.hamburger,
.hamburger::before,
.hamburger::after {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--slate-700);
  border-radius: 2px;
  transition: transform 0.35s var(--ease-out), opacity 0.25s;
}

.hamburger {
  position: relative;
  margin: 0 auto;
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  left: 0;
}

.hamburger::before { top: -7px; }
.hamburger::after { top: 7px; }

.nav-toggle[aria-expanded="true"] .hamburger {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .hamburger::before {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .hamburger::after {
  transform: translateY(-7px) rotate(-45deg);
}

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

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 80%, rgba(13, 148, 136, 0.5) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(30, 41, 59, 0.7) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 50% 50%, rgba(15, 118, 110, 0.3) 0%, transparent 70%),
    linear-gradient(160deg, #0f172a 0%, #134e4a 40%, #0d9488 70%, #2dd4bf 100%);
  z-index: 0;
}

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 70%, rgba(45, 212, 191, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 70% 30%, rgba(15, 23, 42, 0.4) 0%, transparent 50%);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.25);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 820px;
  padding: 120px 24px 80px;
}

.hero-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--teal-200);
  margin-bottom: 24px;
  padding: 6px 16px;
  border: 1px solid rgba(153, 246, 228, 0.3);
  border-radius: 100px;
  backdrop-filter: blur(8px);
}

.hero-headline {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  color: white;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero-headline em {
  font-style: italic;
  font-weight: 400;
  color: var(--teal-200);
}

.hero-sub {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: rgba(255,255,255,0.75);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.7;
  font-weight: 300;
}

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

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
  text-decoration: none;
}

.btn-primary {
  background: white;
  color: var(--teal-800);
}

.btn-primary:hover {
  background: var(--teal-100);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}

.btn-secondary {
  background: transparent;
  color: white;
  border: 1.5px solid rgba(255,255,255,0.4);
}

.btn-secondary:hover {
  border-color: white;
  background: rgba(255,255,255,0.1);
  transform: translateY(-2px);
}

.btn-full { width: 100%; }

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 24px;
  height: 40px;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.hero-scroll span {
  width: 3px;
  height: 8px;
  background: rgba(255,255,255,0.6);
  border-radius: 2px;
  animation: scroll-dot 1.8s ease-in-out infinite;
}

@keyframes scroll-dot {
  0%, 100% { opacity: 1; transform: translateY(0); }
  50% { opacity: 0.3; transform: translateY(8px); }
}

/* ===== SECTIONS ===== */
.section {
  padding: 120px 0;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--teal-600);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--slate-900);
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.section-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--teal-700);
}

/* ===== ABOUT ===== */
.about {
  background: var(--cream);
}

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

.about-image {
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: 0 32px 64px rgba(0,0,0,0.12);
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

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

.about-text p {
  font-size: 1.05rem;
  color: var(--slate-600);
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-stats {
  display: flex;
  gap: 40px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--slate-200);
}

.stat-number {
  display: block;
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--teal-700);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--slate-500);
  font-weight: 500;
}

/* ===== MENU ===== */
.menu {
  background: var(--slate-900);
  color: white;
}

.menu .section-tag { color: var(--teal-300); }

.menu-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 56px;
}

.menu-header .section-title { color: white; }
.menu-header .section-title em { color: var(--teal-300); }

.menu-intro {
  font-size: 1.05rem;
  color: var(--slate-400);
  line-height: 1.7;
}

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

.tab-btn {
  padding: 10px 24px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 500;
  background: transparent;
  border: 1.5px solid var(--slate-700);
  color: var(--slate-400);
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
}

.tab-btn:hover {
  border-color: var(--teal-500);
  color: var(--teal-300);
}

.tab-btn.active {
  background: var(--teal-600);
  border-color: var(--teal-600);
  color: white;
}

.menu-panel {
  display: none;
  animation: fadeUp 0.4s var(--ease-out);
}

.menu-panel.active { display: block; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  max-width: 900px;
  margin: 0 auto;
  background: var(--slate-800);
  border-radius: 20px;
  overflow: hidden;
}

.menu-item {
  background: var(--slate-900);
  padding: 32px;
  transition: background 0.3s;
}

.menu-item:hover {
  background: var(--slate-800);
}

.item-top {
  padding-bottom: 16px;
}

.item-name {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: white;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.item-desc {
  font-size: 0.9rem;
  color: var(--slate-400);
  line-height: 1.6;
}

/* ===== ATMOSPHERE ===== */
.atmosphere {
  background: var(--cream);
}

.atm-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}

.atm-intro {
  font-size: 1.05rem;
  color: var(--slate-600);
  line-height: 1.8;
}

.atm-gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: repeat(2, 280px);
  gap: 16px;
}

.atm-photo {
  border-radius: 16px;
  overflow: hidden;
}

.atm-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

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

.atm-photo.large {
  grid-column: 1 / 8;
  grid-row: 1 / 2;
}

.atm-photo.tall {
  grid-column: 8 / 13;
  grid-row: 1 / 3;
}

.atm-photo:not(.large):not(.tall) {
  grid-column: span 4;
  grid-row: 2 / 3;
}

.atm-photo:nth-child(2) { grid-column: 1 / 5; grid-row: 2 / 3; }
.atm-photo:nth-child(3) { grid-column: 5 / 9; grid-row: 1 / 2; }
.atm-photo:nth-child(4) { grid-column: 9 / 13; grid-row: 1 / 2; }
.atm-photo:nth-child(5) { grid-column: 1 / 5; grid-row: 2 / 3; }

/* ===== VISIT ===== */
.visit {
  background: var(--slate-50);
}

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

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

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

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

.detail-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--teal-50);
  border: 1px solid var(--teal-100);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal-600);
}

.detail-icon svg {
  width: 22px;
  height: 22px;
}

.visit-detail strong {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate-500);
  margin-bottom: 4px;
}

.visit-detail p {
  font-size: 1rem;
  color: var(--slate-700);
  line-height: 1.7;
}

.visit-detail a {
  color: var(--teal-700);
  font-weight: 500;
  transition: color 0.2s;
}

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

.visit-map {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0,0,0,0.1);
  aspect-ratio: 4/3;
  min-height: 400px;
}

/* ===== CONTACT ===== */
.contact {
  background: var(--cream);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-text .section-title { margin-bottom: 20px; }

.contact-text p {
  font-size: 1.05rem;
  color: var(--slate-600);
  line-height: 1.7;
}

.contact-form {
  background: white;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.06);
  border: 1px solid var(--slate-100);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

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

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--slate-700);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--slate-800);
  background: var(--slate-50);
  border: 1.5px solid var(--slate-200);
  border-radius: 12px;
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s;
  appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--teal-500);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.12);
}

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

.form-note {
  font-size: 0.8rem;
  color: var(--slate-400);
  margin-top: 12px;
  text-align: center;
}

.form-success {
  text-align: center;
  padding: 48px 40px;
  animation: fadeUp 0.4s var(--ease-out);
}

.success-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  background: var(--teal-50);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal-600);
}

.success-icon svg { width: 32px; height: 32px; }

.form-success h3 {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 8px;
}

.form-success p {
  color: var(--slate-500);
  margin-bottom: 24px;
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--slate-900);
  color: var(--slate-400);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 64px;
  padding-bottom: 64px;
  border-bottom: 1px solid var(--slate-800);
}

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

.footer-links strong,
.footer-contact strong {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--slate-500);
  margin-bottom: 20px;
}

.footer-links ul,
.footer-contact ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a,
.footer-contact a {
  font-size: 0.95rem;
  color: var(--slate-400);
  transition: color 0.2s;
}

.footer-links a:hover,
.footer-contact a:hover { color: var(--teal-300); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  font-size: 0.85rem;
  color: var(--slate-600);
  flex-wrap: wrap;
  gap: 12px;
}

/* ===== ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .about-grid,
  .visit-grid,
  .contact-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-image {
    aspect-ratio: 16/9;
    max-height: 400px;
  }

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

  .atm-photo.large,
  .atm-photo.tall,
  .atm-photo:nth-child(2),
  .atm-photo:nth-child(3),
  .atm-photo:nth-child(4),
  .atm-photo:nth-child(5) {
    grid-column: auto;
    grid-row: auto;
  }

  .atm-photo {
    aspect-ratio: 16/10;
  }

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

@media (max-width: 768px) {
  .section { padding: 80px 0; }

  .header-inner { height: 70px; }

  .nav-toggle { display: block; }

  .nav-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    background: rgba(250, 249, 246, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s var(--ease-out);
  }

  .nav-menu.open {
    opacity: 1;
    pointer-events: all;
  }

  .nav-menu ul {
    flex-direction: column;
    gap: 8px;
  }

  .nav-menu a {
    font-size: 1.25rem;
    padding: 12px 24px;
  }

  .hero-content { padding: 100px 24px 60px; }

  .hero-actions { flex-direction: column; align-items: center; }

  .btn { width: 100%; max-width: 280px; }

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

  .form-row { grid-template-columns: 1fr; }

  .contact-form { padding: 28px; }

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

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

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

  .about-stats {
    gap: 24px;
    flex-wrap: wrap;
  }
}

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

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

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

  .menu-item { padding: 24px; }

  .item-name { font-size: 1.1rem; }
}
