:root {
  --bg: #0f0f0f;
  --bg-secondary: #181818;
  --primary: #d4a373;
  --text: #ffffff;
  --gray: #9b9b9b;
  --border: rgba(255, 255, 255, 0.12);
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  --radius: 24px;
  --max-width: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Poppins", sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  cursor: none;
}

body.loaded {
  overflow-x: hidden;
}

::selection {
  background: var(--primary);
  color: var(--bg);
}

a {
  color: inherit;
  text-decoration: none;
}

img,
iframe {
  display: block;
  max-width: 100%;
}

button,
input,
textarea,
select {
  font: inherit;
}

.container {
  width: min(var(--max-width), calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  padding: 1rem 0;
  background: transparent;
  transition: background 0.3s ease, backdrop-filter 0.3s ease, box-shadow 0.3s ease;
}

.site-header.scrolled {
  background: rgba(15, 15, 15, 0.8);
  backdrop-filter: blur(18px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.2rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(18px);
}

.brand {
  font-family: "Playfair Display", serif;
  font-size: 1.2rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.nav-links a {
  color: var(--gray);
  transition: color 0.25s ease;
  font-size: 0.95rem;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--text);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: 0;
  padding: 0.3rem;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 3rem;
  padding: 4.5rem 0 5rem;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 0.8rem;
  font-size: 0.78rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--primary);
}

.hero h1,
.section-heading h2,
.reservation-content h2,
.contact-content h2 {
  font-family: "Playfair Display", serif;
  line-height: 1.05;
  margin: 0 0 1rem;
}

.hero h1 {
  font-size: clamp(2.6rem, 5.3vw, 4.7rem);
  max-width: 700px;
}

.hero-copy,
.section-heading p,
.about-card p,
.product-body p,
.menu-item p,
.contact-content p,
.reservation-content p,
.faq-answer p,
.footer p,
.testimonial-card p {
  color: var(--gray);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.45rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  letter-spacing: 0.03em;
  cursor: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  overflow: hidden;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), #e7c194);
  color: var(--bg);
  box-shadow: 0 10px 30px rgba(212, 163, 115, 0.25);
}

.btn-secondary {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}

.btn .ripple {
  position: absolute;
  display: block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  transform: scale(0);
  animation: ripple 0.65s linear;
  pointer-events: none;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2.2rem;
}

.mini-stat {
  padding: 1rem 1rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.mini-stat strong {
  display: block;
  font-size: 1.35rem;
  color: var(--primary);
  margin-bottom: 0.3rem;
}

.mini-stat span {
  color: var(--gray);
  font-size: 0.88rem;
}

.hero-visual {
  position: relative;
  isolation: isolate;
}

.hero-image-card {
  position: relative;
  padding: 1rem;
  border-radius: 32px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.01));
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.hero-image-card img {
  width: 100%;
  min-height: 560px;
  object-fit: cover;
  border-radius: 24px;
  transition: transform 0.7s ease;
}

.hero-image-card:hover img {
  transform: scale(1.04);
}

.floating-card {
  position: absolute;
  left: 1.8rem;
  bottom: 1.8rem;
  display: block;
  max-width: 280px;
  padding: 1rem 1.1rem;
  border-radius: 18px;
  background: rgba(15, 15, 15, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(20px);
  animation: float 4s ease-in-out infinite;
}

.floating-card p {
  margin: 0 0 0.3rem;
  color: var(--primary);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.floating-card h3 {
  margin: 0 0 0.3rem;
  font-size: 1.05rem;
}

.floating-card span {
  color: var(--gray);
  font-size: 0.9rem;
  line-height: 1.6;
}

.section {
  padding: 6rem 0;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 2.6rem;
}

.section-heading h2,
.reservation-content h2,
.contact-content h2 {
  font-size: clamp(1.9rem, 3.3vw, 2.7rem);
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.about-card,
.product-card,
.menu-panel,
.testimonial-card,
.reservation-card,
.contact-card,
.faq-item {
  border: 1px solid var(--border);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
  box-shadow: var(--shadow);
}

.about-card {
  padding: 1.6rem;
  border-radius: 24px;
}

.about-card h3,
.product-body h3,
.menu-item h3,
.contact-details h3,
.footer h3 {
  margin: 0 0 0.65rem;
  font-size: 1.08rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.3rem;
}

.product-card {
  overflow: hidden;
  border-radius: 26px;
  transition: transform 0.35s ease, border-color 0.35s ease;
}

.product-card:hover {
  transform: translateY(-8px);
  border-color: rgba(212, 163, 115, 0.4);
}

.product-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.product-card:hover img {
  transform: scale(1.05);
}

.product-body {
  padding: 1.3rem 1.2rem 1.5rem;
}

.product-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.45rem;
}

.product-title-row span {
  color: var(--primary);
  font-weight: 600;
}

.menu-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1.4rem;
}

.tab-btn,
.filter-btn,
.slider-btn {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  border-radius: 999px;
  padding: 0.75rem 1.05rem;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
  cursor: none;
}

.tab-btn.active,
.filter-btn.active {
  background: var(--primary);
  color: var(--bg);
  border-color: transparent;
}

.menu-panel {
  display: none;
  border-radius: 24px;
  padding: 1.3rem 1.4rem;
}

.menu-panel.active {
  display: block;
}

.menu-list {
  display: grid;
  gap: 1rem;
}

.menu-item {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.menu-item:last-child {
  border-bottom: 0;
}

.menu-item span {
  color: var(--primary);
  white-space: nowrap;
  font-weight: 600;
}

.gallery-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid var(--border);
  grid-column: span 4;
  min-height: 230px;
  background: rgba(255, 255, 255, 0.03);
}

.gallery-item:nth-child(2),
.gallery-item:nth-child(5) {
  grid-column: span 5;
}

.gallery-item:nth-child(3),
.gallery-item:nth-child(6) {
  grid-column: span 3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-item.hidden {
  display: none;
}

.testimonial-slider {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
}

.slider-btn {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
}

.testimonial-track {
  position: relative;
  min-height: 220px;
}

.testimonial-card {
  position: absolute;
  inset: 0;
  padding: 1.7rem;
  border-radius: 24px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
}

.testimonial-card.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.testimonial-author {
  margin-top: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.testimonial-author span {
  color: var(--gray);
}

.reservation-card {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 2rem;
  border-radius: 30px;
  padding: 2rem;
}

.reservation-highlights {
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.7rem;
  margin-top: 1.2rem;
}

.reservation-highlights li::before {
  content: "•";
  color: var(--primary);
  margin-right: 0.55rem;
}

.booking-form {
  display: grid;
  gap: 1rem;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.field {
  display: grid;
  gap: 0.45rem;
}

.field label {
  color: var(--gray);
  font-size: 0.92rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0.9rem 1rem;
  background: rgba(255, 255, 255, 0.035);
  color: var(--text);
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(212, 163, 115, 0.2);
}

.field textarea {
  resize: vertical;
  min-height: 110px;
}

.form-message {
  min-height: 1.3rem;
  color: var(--primary);
  margin-top: 0.35rem;
}

.faq-list {
  display: grid;
  gap: 1rem;
}

.faq-item {
  border-radius: 22px;
  padding: 0 1.2rem;
  overflow: hidden;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 1.2rem 0;
  border: 0;
  background: transparent;
  color: var(--text);
  text-align: left;
  cursor: none;
}

.faq-icon {
  font-size: 1.15rem;
  color: var(--primary);
  transition: transform 0.25s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 140px;
  padding-bottom: 1rem;
}

.contact-card {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 1.4rem;
  border-radius: 30px;
  padding: 2rem;
}

.contact-details {
  display: grid;
  gap: 1.2rem;
  margin-top: 1.2rem;
}

.contact-map iframe {
  width: 100%;
  min-height: 320px;
  border: 0;
  border-radius: 22px;
}

.footer {
  padding: 3.3rem 0 1.2rem;
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 0.8fr;
  gap: 1.4rem;
  align-items: start;
}

.newsletter-form {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.newsletter-form input {
  flex: 1;
  min-width: 220px;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.9rem 1rem;
  background: rgba(255, 255, 255, 0.035);
  color: var(--text);
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.social-links a {
  color: var(--gray);
}

.footer-bottom {
  width: min(var(--max-width), calc(100% - 2rem));
  margin: 2rem auto 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--gray);
  font-size: 0.9rem;
}

.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.scroll-progress {
  position: fixed;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), #f5d7b2);
  transform-origin: left center;
  transform: scaleX(0);
  z-index: 1000;
}

.back-to-top {
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: var(--primary);
  color: var(--bg);
  font-size: 1.2rem;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 900;
  cursor: none;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.loading-screen {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  background: var(--bg);
  transition: opacity 0.45s ease, visibility 0.45s ease;
}

.loading-screen.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader {
  display: flex;
  gap: 0.5rem;
}

.loader span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--primary);
  display: inline-block;
  animation: pulse 0.8s ease-in-out infinite alternate;
}

.loader span:nth-child(2) {
  animation-delay: 0.15s;
}

.loader span:nth-child(3) {
  animation-delay: 0.3s;
}

.cursor-dot {
  position: fixed;
  left: 0;
  top: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--primary);
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 1100;
  mix-blend-mode: difference;
  transition: transform 0.15s ease, width 0.2s ease, height 0.2s ease;
}

.cursor-dot.hover {
  width: 32px;
  height: 32px;
}

@keyframes ripple {
  to {
    transform: scale(22);
    opacity: 0;
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes pulse {
  from {
    transform: translateY(0);
    opacity: 0.8;
  }
  to {
    transform: translateY(-10px);
    opacity: 0.3;
  }
}

@media (max-width: 960px) {
  .hero,
  .reservation-card,
  .contact-card,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .about-grid,
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-item,
  .gallery-item:nth-child(2),
  .gallery-item:nth-child(3),
  .gallery-item:nth-child(5),
  .gallery-item:nth-child(6) {
    grid-column: span 6;
  }

  .hero {
    padding-top: 2.5rem;
  }
}

@media (max-width: 760px) {
  body {
    cursor: auto;
  }

  .cursor-dot {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .nav {
    border-radius: 24px;
    padding: 0.95rem 1rem;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 0.6rem);
    right: 1rem;
    left: 1rem;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
    border-radius: 20px;
    background: rgba(24, 24, 24, 0.96);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: flex;
  }

  .hero-stats,
  .about-grid,
  .product-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .testimonial-slider {
    grid-template-columns: 1fr;
  }

  .slider-btn {
    display: none;
  }

  .hero-image-card img {
    min-height: 380px;
  }

  .section {
    padding: 4.6rem 0;
  }

  .gallery-item,
  .gallery-item:nth-child(2),
  .gallery-item:nth-child(3),
  .gallery-item:nth-child(5),
  .gallery-item:nth-child(6) {
    grid-column: span 12;
  }
}

@media (max-width: 560px) {
  .hero h1 {
    font-size: 2.4rem;
  }

  .reservation-card,
  .contact-card {
    padding: 1.2rem;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-form .btn {
    width: 100%;
  }
}
