*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #636d56;
  --primary-light: #7c8768;
  --primary-dark: #4d5542;
  --bg: #faf8f5;
  --bg-alt: #f2efe9;
  --text: #2c2c2c;
  --text-light: #6b6b6b;
  --accent: #c46d4e;
  --white: #ffffff;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --radius: 12px;
  --max-width: 1200px;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
  --nav-height: 72px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

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

.section {
  padding: 100px 0;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 16px;
}

.section-title.centered {
  text-align: center;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--text-light);
  text-align: center;
  margin-bottom: 48px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

.btn {
  display: inline-block;
  padding: 14px 36px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

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

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(99, 109, 86, 0.3);
}

/* NAV */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 1000;
  background: transparent;
  transition: all 0.3s ease;
}

.nav.scrolled {
  background: rgba(250, 248, 245, 0.97);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-logo {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.5px;
}

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

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  transition: color 0.2s;
  position: relative;
}

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

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

.lang-toggle {
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 6px;
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.2s;
}

.lang-toggle:hover {
  background: var(--primary-dark);
}

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

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--text);
  transition: all 0.3s;
}

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

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  transition: transform 8s ease;
}

.hero.loaded .hero-bg {
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  max-width: 700px;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: 5rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 8px;
}

.hero-subtitle {
  font-size: 1.3rem;
  font-weight: 300;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 16px;
  opacity: 0.85;
}

.hero-desc {
  font-size: 1.1rem;
  opacity: 0.7;
  margin-bottom: 40px;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--white);
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0.6;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: var(--white);
  animation: scrollPulse 2s ease infinite;
}

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

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

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

.about-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.about-image img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

.about-text p {
  margin-bottom: 16px;
  color: var(--text-light);
  font-size: 1rem;
  line-height: 1.7;
}

/* MENU */
.menu {
  background: var(--bg-alt);
}

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

.menu-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.menu-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.1);
}

.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: 20px 24px 24px;
}

.menu-card-body h3 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.menu-card-body p {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.5;
}

/* GALLERY */
.gallery {
  background: var(--white);
}

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

.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1;
}

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

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

/* LOCATION */
.location {
  background: var(--bg-alt);
}

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

.info-block {
  margin-bottom: 24px;
}

.info-block h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 6px;
}

.info-block p,
.info-block a {
  font-size: 1rem;
  color: var(--text);
}

.info-block a:hover {
  color: var(--primary);
}

.hours-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  font-size: 0.95rem;
}

.hours-row:last-child {
  border-bottom: none;
}

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

.location-map iframe {
  width: 100%;
  height: 400px;
  border: none;
  display: block;
}

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

.contact-inner {
  text-align: center;
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 28px 16px;
  border-radius: var(--radius);
  background: var(--bg);
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.contact-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.contact-icon {
  color: var(--primary);
}

.contact-label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-light);
}

.contact-value {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
}

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

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

.footer-logo {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
}

.footer-brand p {
  font-size: 0.85rem;
  opacity: 0.6;
  font-weight: 300;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.footer-social {
  display: flex;
  gap: 16px;
}

.footer-social a {
  opacity: 0.6;
  transition: opacity 0.2s;
}

.footer-social a:hover {
  opacity: 1;
}

.footer-copy {
  font-size: 0.8rem;
  opacity: 0.4;
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .about-grid,
  .location-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    width: 100%;
    flex-direction: column;
    gap: 0;
    background: var(--white);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    transform: translateY(-110%);
    transition: transform 0.3s ease;
    z-index: 999;
  }

  .nav-links.open {
    transform: translateY(0);
  }

  .nav-links a {
    display: block;
    padding: 16px 24px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
  }

  .nav-links a::after {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .hero-title {
    font-size: 3.2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
    letter-spacing: 2px;
  }

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

  .section {
    padding: 64px 0;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.5rem;
  }

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

  .contact-cards {
    grid-template-columns: 1fr;
  }

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

.hero-bg {
  transition: opacity 0.8s ease, transform 8s ease;
}

.hero-bg.fade {
  opacity: 0;
}

/* FLOATING BUTTON */
.float-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.85rem;
  box-shadow: 0 4px 20px rgba(99, 109, 86, 0.4);
  transition: all 0.3s ease;
  transform: translateY(120px);
  opacity: 0;
}

.float-btn.visible {
  transform: translateY(0);
  opacity: 1;
}

.float-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(99, 109, 86, 0.5);
}

.float-btn svg {
  flex-shrink: 0;
}

@media (max-width: 480px) {
  .float-btn span {
    display: none;
  }

  .float-btn {
    padding: 14px;
    border-radius: 50%;
  }

}

/* LIGHTBOX */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0,0,0,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

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

.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.5);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.6rem;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.2s;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-close:hover {
  opacity: 1;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--white);
  font-size: 3rem;
  cursor: pointer;
  opacity: 0.4;
  transition: opacity 0.2s;
  padding: 16px;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-nav:hover {
  opacity: 1;
}

.lightbox-prev { left: 10px; }
.lightbox-next { right: 10px; }

.lightbox-counter {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 1px;
}

@media (max-width: 768px) {
  .lightbox-nav {
    font-size: 2rem;
    width: 44px;
    height: 44px;
  }

  .lightbox-prev { left: 4px; }
  .lightbox-next { right: 4px; }
}

/* ACTIVE NAV LINK */
.nav-links a.active {
  color: var(--primary);
}

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

/* PARALLAX HERO */
.hero-bg.parallax {
  transform: translateY(var(--parallax-y, 0)) scale(1.05);
}

/* DEMO BADGE */
.demo-badge {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
  background: #e74c3c;
  color: #fff;
  font: 700 13px/1 'Inter', sans-serif;
  padding: 6px 16px;
  border-radius: 4px;
  letter-spacing: 2px;
  box-shadow: 0 2px 12px rgba(231,76,60,0.4);
  pointer-events: none;
}

/* FOOTER CREDIT */
.footer-credit {
  font-size: 0.8rem;
  opacity: 0.4;
}

.footer-credit a {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.heart {
  color: #e74c3c;
}
