/* =========================================================
   FOOD MASTERS — PREMIUM RESTAURANT DESIGN
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:wght@500;600;700;800&display=swap');

:root {
  --ink: #171714;
  --ink-soft: #25251f;
  --cream: #f5f1e8;
  --cream-dark: #e9e2d4;
  --white: #fffdf8;
  --accent: #c98a43;
  --accent-dark: #a86d2e;
  --muted: #77736b;
  --line: rgba(23, 23, 20, 0.12);
  --shadow: 0 25px 70px rgba(23, 23, 20, 0.12);

  --serif: "Playfair Display", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
}


/* =========================================================
   RESET
   ========================================================= */

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

html {
  scroll-behavior: smooth;
}

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

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

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

button {
  font: inherit;
}

::selection {
  background: var(--ink);
  color: var(--cream);
}


/* =========================================================
   NAVBAR
   ========================================================= */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;

  padding: 18px 5%;

  transition:
    background 0.35s ease,
    box-shadow 0.35s ease,
    padding 0.35s ease;
}

.nav-wrap {
  max-width: 1400px;
  margin: auto;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;

  color: white;

  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 14px;
}

.nav-logo img {
  width: 43px;
  height: 43px;

  object-fit: cover;
  border-radius: 50%;

  border: 2px solid rgba(255,255,255,0.7);
}

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

.nav-links a {
  position: relative;

  color: rgba(255,255,255,0.9);

  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;

  transition: color 0.25s ease;
}

.nav-links a::after {
  content: "";

  position: absolute;
  left: 0;
  bottom: -7px;

  width: 0;
  height: 1px;

  background: white;

  transition: width 0.3s ease;
}

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

.nav-links a:hover {
  color: white;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  padding: 12px 19px;

  border-radius: 100px;

  background: var(--white);
  color: var(--ink);

  font-size: 12px;
  font-weight: 700;

  transition:
    transform 0.25s ease,
    background 0.25s ease;
}

.nav-cta:hover {
  transform: translateY(-2px);

  background: var(--accent);
  color: white;
}

.hamburger {
  display: none;

  border: 0;
  background: transparent;

  cursor: pointer;

  width: 42px;
  height: 42px;

  flex-direction: column;
  justify-content: center;
  gap: 5px;
}

.hamburger span {
  display: block;

  width: 24px;
  height: 2px;

  background: white;

  transition: 0.3s ease;
}


/* =========================================================
   HERO
   ========================================================= */

.hero {
  position: relative;

  min-height: 100vh;
  height: 850px;

  display: flex;
  align-items: center;

  overflow: hidden;

  background: #111;
}

.slider {
  position: absolute;
  inset: 0;
}

.slide {
  position: absolute;
  inset: 0;

  background-size: cover;
  background-position: center;

  opacity: 0;
  transform: scale(1.08);

  transition:
    opacity 1.1s ease,
    transform 7s ease;
}

.slide.active {
  opacity: 1;
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      90deg,
      rgba(8, 8, 6, 0.82) 0%,
      rgba(8, 8, 6, 0.55) 42%,
      rgba(8, 8, 6, 0.16) 100%
    ),
    linear-gradient(
      0deg,
      rgba(8, 8, 6, 0.55),
      transparent 45%
    );
}

.hero-content {
  position: relative;
  z-index: 3;

  width: min(1200px, 90%);
  margin: auto;

  padding-top: 80px;

  color: white;
}

.hero-kicker {
  display: flex;
  align-items: center;
  gap: 12px;

  margin-bottom: 18px;

  text-transform: uppercase;
  letter-spacing: 0.18em;

  font-size: 11px;
  font-weight: 700;

  color: rgba(255,255,255,0.8);

  animation: heroUp 0.9s ease both;
}

.hero-kicker::before {
  content: "";

  width: 38px;
  height: 1px;

  background: var(--accent);
}

.hero h1 {
  max-width: 780px;

  font-family: var(--serif);

  font-size: clamp(4rem, 8vw, 8rem);
  line-height: 0.88;

  letter-spacing: -0.055em;
  font-weight: 700;

  margin-bottom: 28px;

  animation: heroUp 0.9s 0.12s ease both;
}

.hero-text {
  max-width: 520px;

  color: rgba(255,255,255,0.78);

  font-size: 15px;
  line-height: 1.8;

  animation: heroUp 0.9s 0.22s ease both;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;

  margin-top: 34px;

  animation: heroUp 0.9s 0.32s ease both;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;

  min-height: 50px;

  padding: 0 22px;

  border-radius: 100px;

  font-size: 12px;
  font-weight: 700;

  letter-spacing: 0.02em;

  transition:
    transform 0.25s ease,
    background 0.25s ease,
    color 0.25s ease;
}

.btn:hover {
  transform: translateY(-3px);
}

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

.btn-solid:hover {
  background: var(--accent-dark);
}

.btn-outline {
  border: 1px solid rgba(255,255,255,0.45);

  color: white;

  backdrop-filter: blur(8px);
}

.btn-outline:hover {
  background: white;
  color: var(--ink);
}

.slider-dots {
  position: absolute;
  z-index: 5;

  right: 5%;
  bottom: 42px;

  display: flex;
  align-items: center;
  gap: 9px;
}

.dot {
  width: 7px;
  height: 7px;

  border-radius: 50%;

  background: rgba(255,255,255,0.45);

  cursor: pointer;

  transition: all 0.3s ease;
}

.dot.active {
  width: 28px;

  border-radius: 20px;

  background: white;
}


/* =========================================================
   FEATURES
   ========================================================= */

.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);

  background: var(--ink);

  color: white;
}

.feature {
  position: relative;

  padding: 45px 34px;

  border-right: 1px solid rgba(255,255,255,0.1);

  transition:
    background 0.35s ease,
    transform 0.35s ease;
}

.feature:last-child {
  border-right: none;
}

.feature:hover {
  background: var(--ink-soft);
}

.feature i {
  color: var(--accent);

  font-size: 20px;

  margin-bottom: 20px;
}

.feature h3 {
  font-family: var(--serif);

  font-size: 20px;
  font-weight: 600;

  margin-bottom: 9px;
}

.feature p {
  color: rgba(255,255,255,0.55);

  font-size: 13px;
  line-height: 1.7;
}


/* =========================================================
   SECTION HEADINGS
   ========================================================= */

.section-head {
  max-width: 700px;

  margin: 0 auto 65px;

  text-align: center;
}

.section-head h2 {
  font-family: var(--serif);

  font-size: clamp(3rem, 6vw, 5.5rem);

  line-height: 0.95;

  letter-spacing: -0.045em;

  margin-bottom: 18px;
}

.section-head p {
  color: var(--muted);

  font-size: 14px;
}

.section-head.light h2 {
  color: white;
}

.section-head.light p {
  color: rgba(255,255,255,0.55);
}


/* =========================================================
   MENU — STYLISH EDITORIAL CARDS
   ========================================================= */

.menu {
  padding: 120px 5%;

  background:
    radial-gradient(
      circle at 85% 10%,
      rgba(201,138,67,0.09),
      transparent 28%
    ),
    var(--cream);
}

.menu-grid {
  max-width: 1250px;

  margin: auto;

  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 42px 28px;
}


/* CARD */

.menu-card {
  display: block;

  position: relative;

  background: transparent;

  border: none;

  overflow: visible;

  transition:
    transform 0.45s cubic-bezier(.2,.7,.2,1),
    opacity 0.8s ease,
    filter 0.8s ease;
}

.menu-card:hover {
  transform: translateY(-9px);
}


/* IMAGE */

.menu-img {
  position: relative;

  width: 100%;
  height: 340px;

  overflow: hidden;

  border-radius: 5px;

  background: #ddd;
}

.menu-img::after {
  content: "";

  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      180deg,
      transparent 50%,
      rgba(0,0,0,0.34)
    );

  pointer-events: none;
}

.menu-img img {
  width: 100%;
  height: 100%;

  object-fit: cover;

  transition:
    transform 0.9s cubic-bezier(.2,.7,.2,1);
}

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


/* PRICE */

.price {
  position: absolute;

  top: 18px;
  right: 18px;

  z-index: 3;

  display: flex;
  align-items: center;
  justify-content: center;

  min-width: 58px;
  height: 58px;

  padding: 0 10px;

  border-radius: 50%;

  background: var(--white);

  color: var(--ink);

  font-size: 13px;
  font-weight: 700;

  box-shadow:
    0 10px 30px rgba(0,0,0,0.16);

  transition:
    transform 0.35s ease,
    background 0.35s ease;
}

.menu-card:hover .price {
  transform: rotate(5deg) scale(1.05);

  background: var(--accent);

  color: white;
}


/* INFORMATION */

.menu-info {
  padding: 22px 3px 8px;

  display: block;
}

.menu-top {
  display: flex;

  align-items: baseline;
  justify-content: space-between;

  gap: 20px;

  margin-bottom: 9px;
}

.menu-top h3 {
  font-family: var(--serif);

  font-size: 25px;

  line-height: 1.1;

  font-weight: 600;

  letter-spacing: -0.025em;
}

.menu-info p {
  max-width: 340px;

  color: var(--muted);

  font-size: 12px;

  line-height: 1.75;
}


/* DECORATIVE LINE */

.menu-info::after {
  content: "";

  display: block;

  width: 30px;
  height: 1px;

  margin-top: 18px;

  background: var(--accent);

  transition: width 0.45s ease;
}

.menu-card:hover .menu-info::after {
  width: 70px;
}


/* =========================================================
   GALLERY
   ========================================================= */

.gallery {
  padding: 120px 5%;

  background: var(--ink);

  overflow: hidden;
}

.gallery-grid {
  max-width: 1250px;

  margin: auto;

  display: grid;

  grid-template-columns: repeat(4, 1fr);

  grid-auto-rows: 260px;

  gap: 10px;
}

.gallery-grid img {
  height: 100%;

  object-fit: cover;

  cursor: pointer;

  transition:
    transform 0.6s ease,
    filter 0.4s ease;
}

.gallery-grid img:nth-child(1) {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-grid img:nth-child(4) {
  grid-column: span 2;
}

.gallery-grid img:hover {
  transform: scale(1.025);

  filter: brightness(0.8);
}


/* =========================================================
   LIGHTBOX
   ========================================================= */

.lightbox {
  position: fixed;

  inset: 0;

  z-index: 2000;

  display: flex;

  align-items: center;
  justify-content: center;

  padding: 30px;

  background: rgba(0,0,0,0.92);

  opacity: 0;

  visibility: hidden;

  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}

.lightbox.open {
  opacity: 1;

  visibility: visible;
}

.lightbox img {
  width: auto;

  max-width: min(1000px, 92vw);

  max-height: 88vh;

  object-fit: contain;

  transform: scale(0.94);

  transition: transform 0.35s ease;
}

.lightbox.open img {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;

  top: 25px;
  right: 35px;

  color: white;

  font-size: 40px;

  font-weight: 300;

  cursor: pointer;

  z-index: 2;
}


/* =========================================================
   ABOUT
   ========================================================= */

.about {
  max-width: 1250px;

  margin: auto;

  padding: 130px 5%;

  display: grid;

  grid-template-columns: 1.05fr 0.95fr;

  align-items: center;

  gap: 90px;
}

.about-img {
  position: relative;
}

.about-img::after {
  content: "";

  position: absolute;

  right: -18px;
  bottom: -18px;

  width: 55%;
  height: 55%;

  border: 1px solid var(--accent);

  z-index: -1;
}

.about-img img {
  height: 600px;

  object-fit: cover;
}

.about-text h2 {
  max-width: 550px;

  font-family: var(--serif);

  font-size: clamp(3rem, 5vw, 5rem);

  line-height: 0.98;

  letter-spacing: -0.045em;

  margin-bottom: 25px;
}

.about-text > p {
  max-width: 520px;

  color: var(--muted);

  font-size: 14px;

  line-height: 1.9;

  margin-bottom: 30px;
}

.about-points {
  display: grid;

  gap: 12px;
}

.about-points div {
  display: flex;

  align-items: center;

  gap: 12px;

  font-size: 13px;

  font-weight: 600;
}

.about-points i {
  display: flex;

  align-items: center;
  justify-content: center;

  width: 27px;
  height: 27px;

  border-radius: 50%;

  background: var(--ink);

  color: white;

  font-size: 10px;
}


/* =========================================================
   FOOTER
   ========================================================= */

.footer {
  padding: 80px 5% 25px;

  background: #11110f;

  color: white;
}

.footer-grid {
  max-width: 1250px;

  margin: auto;

  display: grid;

  grid-template-columns: 1.5fr 1fr 1fr 0.6fr;

  gap: 50px;

  padding-bottom: 65px;
}

.footer-brand img {
  width: 58px;
  height: 58px;

  object-fit: cover;

  border-radius: 50%;

  margin-bottom: 18px;
}

.footer-brand p {
  color: rgba(255,255,255,0.5);

  font-size: 13px;
}

.footer-col h4 {
  margin-bottom: 20px;

  color: white;

  font-size: 11px;

  text-transform: uppercase;

  letter-spacing: 0.15em;
}

.footer-col p {
  margin-bottom: 13px;

  color: rgba(255,255,255,0.5);

  font-size: 12px;

  line-height: 1.7;
}

.footer-col p i {
  width: 20px;

  color: var(--accent);
}

.footer-col a:hover {
  color: white;
}

.footer-social {
  display: flex;

  gap: 10px;
}

.footer-social a {
  display: flex;

  align-items: center;
  justify-content: center;

  width: 40px;
  height: 40px;

  border: 1px solid rgba(255,255,255,0.15);

  border-radius: 50%;

  transition:
    background 0.25s ease,
    color 0.25s ease;
}

.footer-social a:hover {
  background: white;

  color: var(--ink);
}

.footer-bottom {
  max-width: 1250px;

  margin: auto;

  padding-top: 22px;

  border-top: 1px solid rgba(255,255,255,0.1);

  text-align: center;

  color: rgba(255,255,255,0.35);

  font-size: 11px;
}


/* =========================================================
   FLOATING WHATSAPP
   ========================================================= */

.float-whatsapp {
  position: fixed;

  right: 25px;
  bottom: 25px;

  z-index: 900;

  display: flex;

  align-items: center;
  justify-content: center;

  width: 56px;
  height: 56px;

  border-radius: 50%;

  background: #25d366;

  color: white;

  font-size: 24px;

  box-shadow:
    0 12px 35px rgba(0,0,0,0.22);

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.float-whatsapp:hover {
  transform: translateY(-5px) scale(1.05);

  box-shadow:
    0 18px 45px rgba(0,0,0,0.3);
}


/* =========================================================
   SMOOTH REVEAL ANIMATIONS
   ========================================================= */

/*
   These elements start slightly lower and invisible.
   JavaScript adds .show when they enter the viewport.
*/

.menu-card,
.feature,
.gallery-grid img,
.about-img,
.about-text {
  opacity: 0;

  transform: translateY(35px);

  transition:
    opacity 0.8s ease,
    transform 0.8s cubic-bezier(.2,.7,.2,1);
}

.menu-card.show,
.feature.show,
.gallery-grid img.show,
.about-img.show,
.about-text.show {
  opacity: 1;

  transform: translateY(0);
}


/* =========================================================
   HERO ANIMATION
   ========================================================= */

@keyframes heroUp {

  from {
    opacity: 0;

    transform: translateY(30px);
  }

  to {
    opacity: 1;

    transform: translateY(0);
  }

}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1000px) {

  .nav-links {
    gap: 20px;
  }

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

  .feature:nth-child(2) {
    border-right: none;
  }

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

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

  .about {
    grid-template-columns: 1fr;

    gap: 55px;
  }

  .about-img img {
    height: 520px;
  }

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

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {

  .navbar {
    padding: 14px 5%;
  }

  .nav-logo span {
    font-size: 11px;
  }

  .nav-logo img {
    width: 38px;
    height: 38px;
  }

  .nav-cta {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .nav-links {

    position: absolute;

    top: calc(100% + 8px);

    left: 5%;
    right: 5%;

    padding: 22px;

    flex-direction: column;

    align-items: flex-start;

    gap: 20px;

    background: rgba(17,17,15,0.97);

    border: 1px solid rgba(255,255,255,0.1);

    transform: translateY(-15px);

    opacity: 0;

    visibility: hidden;

    transition:
      opacity 0.3s ease,
      transform 0.3s ease,
      visibility 0.3s ease;
  }

  .nav-links.open {

    opacity: 1;

    visibility: visible;

    transform: translateY(0);
  }

  .nav-links a {
    font-size: 13px;
  }


  /* HERO */

  .hero {

    min-height: 760px;

    height: 760px;
  }

  .hero-overlay {

    background:
      linear-gradient(
        0deg,
        rgba(8,8,6,0.88) 0%,
        rgba(8,8,6,0.42) 60%,
        rgba(8,8,6,0.3) 100%
      );
  }

  .hero-content {

    width: 90%;

    padding-top: 90px;
  }

  .hero h1 {

    font-size:
      clamp(3.6rem, 17vw, 6rem);
  }

  .hero-text {

    font-size: 13px;

    max-width: 390px;
  }

  .hero-actions {

    flex-wrap: wrap;
  }

  .btn {

    min-height: 47px;

    padding: 0 18px;
  }

  .slider-dots {

    right: auto;

    left: 5%;

    bottom: 30px;
  }


  /* FEATURES */

  .features {

    grid-template-columns: 1fr 1fr;
  }

  .feature {

    padding: 30px 20px;
  }

  .feature h3 {

    font-size: 17px;
  }

  .feature p {

    font-size: 11px;
  }


  /* MENU */

  .menu {

    padding: 85px 5%;
  }

  .section-head {

    margin-bottom: 45px;
  }

  .section-head h2 {

    font-size: 3.2rem;
  }

  .menu-grid {

    grid-template-columns: 1fr;

    gap: 42px;
  }

  .menu-img {

    height: 330px;
  }

  .menu-info {

    padding: 18px 3px 8px;
  }

  .menu-top h3 {

    font-size: 23px;
  }

  .menu-info p {

    display: block;

    font-size: 12px;
  }

  .price {

    top: 15px;

    right: 15px;

    min-width: 55px;

    height: 55px;
  }


  /* GALLERY */

  .gallery {

    padding: 85px 5%;
  }

  .gallery-grid {

    grid-template-columns: repeat(2, 1fr);

    grid-auto-rows: 150px;

    gap: 6px;
  }

  .gallery-grid img:nth-child(1) {

    grid-column: span 2;

    grid-row: span 2;
  }

  .gallery-grid img:nth-child(4) {

    grid-column: span 1;
  }


  /* ABOUT */

  .about {

    padding: 90px 5%;
  }

  .about-img img {

    height: 430px;
  }

  .about-text h2 {

    font-size: 3.3rem;
  }


  /* FOOTER */

  .footer {

    padding: 65px 5% 20px;
  }

  .footer-grid {

    grid-template-columns: 1fr;

    gap: 35px;
  }


  /* WHATSAPP */

  .float-whatsapp {

    width: 52px;

    height: 52px;

    right: 18px;

    bottom: 18px;
  }

}


/* =========================================================
   SMALL PHONES
   ========================================================= */

@media (max-width: 420px) {

  .hero {

    min-height: 700px;

    height: 700px;
  }

  .hero h1 {

    font-size: 3.5rem;
  }

  .hero-actions {

    flex-direction: column;

    align-it