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

:root {
  --clr-primary: #8B1A1A;
  --clr-primary-dark: #5C1010;
  --clr-primary-light: #C62828;
  --clr-accent: #D4A574;
  --clr-accent-dark: #B8864E;
  --clr-bg: #FFFCF8;
  --clr-bg-alt: #FDF6EE;
  --clr-bg-dark: #1A1A1A;
  --clr-text: #2C2C2C;
  --clr-text-light: #6B6B6B;
  --clr-text-on-dark: #F5F0EB;
  --clr-white: #FFFFFF;
  --clr-border: #E8DCD0;

  --ff-heading: 'Playfair Display', Georgia, serif;
  --ff-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --fs-hero: clamp(3rem, 8vw, 6rem);
  --fs-title: clamp(2rem, 4vw, 3rem);
  --fs-subtitle: 1.125rem;
  --fs-body: 1rem;
  --fs-small: 0.875rem;
  --fs-tag: 0.75rem;

  --lh-tight: 1.1;
  --lh-body: 1.7;

  --spacing-section: clamp(4rem, 8vw, 7rem);
  --max-width: 1200px;
  --header-height: 72px;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.15);

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  font-family: var(--ff-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--clr-text);
  background: var(--clr-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul { list-style: none; }

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

.section {
  padding: var(--spacing-section) 0;
}

.section__header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3.5rem;
}

.section__tag {
  display: inline-block;
  font-size: var(--fs-tag);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--clr-primary);
  margin-bottom: 0.75rem;
  position: relative;
}

.section__tag::after {
  content: '';
  display: block;
  width: 30px;
  height: 2px;
  background: var(--clr-accent);
  margin: 0.5rem auto 0;
}

.section__title {
  font-family: var(--ff-heading);
  font-size: var(--fs-title);
  font-weight: 700;
  line-height: var(--lh-tight);
  color: var(--clr-text);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-family: var(--ff-body);
  font-size: 0.9375rem;
  font-weight: 600;
  border: 2px solid transparent;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

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

.btn--primary:hover {
  background: var(--clr-primary-dark);
  border-color: var(--clr-primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--outline {
  background: transparent;
  color: var(--clr-white);
  border-color: var(--clr-white);
}

.btn--outline:hover {
  background: var(--clr-white);
  color: var(--clr-text);
  transform: translateY(-2px);
}

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  background: transparent;
  transition: var(--transition);
}

.header.scrolled {
  background: rgba(255, 252, 248, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
}

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

.header__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.header__logo-img {
  height: 40px;
  display: flex;
  align-items: center;
}

.header__logo-img img {
  height: 100%;
  width: auto;
  object-fit: contain;
}

.header__logo-text {
  font-family: var(--ff-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--clr-white);
  transition: var(--transition);
}

.scrolled .header__logo-text {
  color: var(--clr-text);
}

/* ===== NAV ===== */
.header__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}

.header__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--clr-white);
  border-radius: 2px;
  transition: var(--transition);
}

.scrolled .header__toggle span {
  background: var(--clr-text);
}

.header__toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.header__toggle.active span:nth-child(2) {
  opacity: 0;
}

.header__toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.header__menu {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.header__link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  position: relative;
  padding: 0.25rem 0;
  transition: var(--transition);
}

.scrolled .header__link {
  color: var(--clr-text-light);
}

.header__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--clr-accent);
  transition: var(--transition);
}

.header__link:hover {
  color: var(--clr-white);
}

.scrolled .header__link:hover {
  color: var(--clr-primary);
}

.header__link:hover::after {
  width: 100%;
}

.header__link--active {
  color: var(--clr-white);
}

.scrolled .header__link--active {
  color: var(--clr-primary);
}

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

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.3) 100%);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(135deg, rgba(90, 16, 16, 0.3) 0%, transparent 50%),
    linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.4) 100%);
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  animation: fadeUp 1s ease 0.3s both;
}

.hero__title {
  font-family: var(--ff-heading);
  font-size: var(--fs-hero);
  font-weight: 800;
  line-height: var(--lh-tight);
  color: var(--clr-white);
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
  margin-bottom: 1.25rem;
}

.hero__subtitle {
  font-size: var(--fs-subtitle);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2.5rem;
  max-width: 540px;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero__scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.5);
  font-size: var(--fs-small);
  animation: bounce 2s infinite;
}

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

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

/* ===== ABOUT ===== */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 3 / 4;
  background: var(--clr-bg-alt);
}

.about__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

.about__content .section__tag::after {
  margin: 0.5rem 0 0;
}

.about__content .section__title {
  margin-bottom: 1.25rem;
}

.about__text {
  color: var(--clr-text-light);
  margin-bottom: 1.25rem;
}

.about__features {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 2rem;
}

.about__feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 500;
}

.about__feature-icon {
  font-size: 1.25rem;
}

/* ===== FEATURES ===== */
.features {
  background: var(--clr-bg-alt);
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.feature-card {
  background: var(--clr-white);
  padding: 2.5rem 2rem;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--clr-border);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--clr-accent);
}

.feature-card__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.25rem;
  background: var(--clr-bg-alt);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.feature-card__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.feature-card__title {
  font-family: var(--ff-heading);
  font-size: 1.375rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--clr-primary);
}

.feature-card__text {
  font-size: 0.9375rem;
  color: var(--clr-text-light);
  line-height: var(--lh-body);
}

/* ===== MENU ===== */
.section__lead {
  color: var(--clr-text-light);
  margin-top: 1rem;
}

.menu__category {
  margin-bottom: 3.5rem;
}

.menu__category-title {
  font-family: var(--ff-heading);
  font-size: 1.625rem;
  font-weight: 700;
  color: var(--clr-primary);
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--clr-border);
  position: relative;
}

.menu__category-title::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 60px;
  height: 2px;
  background: var(--clr-accent);
}

.menu__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.menu__grid--single {
  grid-template-columns: 1fr;
  max-width: 380px;
}

.dish-card {
  background: var(--clr-white);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.dish-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--clr-accent);
}

.dish-card__img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--clr-bg-alt);
}

.dish-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

.dish-card__name {
  font-family: var(--ff-heading);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--clr-text);
  padding: 1rem 1.25rem 1.125rem;
}

/* ===== CONTACT ===== */
.contact {
  background: var(--clr-bg-dark);
  color: var(--clr-text-on-dark);
}

.contact .section__tag {
  color: var(--clr-accent);
}

.contact .section__tag::after {
  background: var(--clr-primary-light);
}

.contact .section__title {
  color: var(--clr-white);
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.contact__text {
  color: rgba(245, 240, 235, 0.75);
  margin: 1.25rem 0 2rem;
  font-size: 1.0625rem;
}

.contact__details {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.contact__item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.contact__item-label {
  font-size: var(--fs-small);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--clr-accent);
}

.contact__item-value {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--clr-white);
  transition: var(--transition);
}

.contact__item-value:hover {
  color: var(--clr-accent);
}

.contact__social {
  display: flex;
  gap: 1.5rem;
}

.contact__social-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50px;
  transition: var(--transition);
  font-size: 0.9375rem;
}

.contact__social-link:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--clr-accent);
  color: var(--clr-accent);
}

.contact__social-link img {
  width: 20px;
  height: 20px;
}

.contact__map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-lg);
}

.contact__map iframe {
  width: 100%;
  height: 100%;
  filter: grayscale(0.5) invert(0.9) hue-rotate(180deg);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--clr-bg-dark);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 4rem 0 0;
  color: var(--clr-text-on-dark);
}

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
}

.footer__logo {
  height: 44px;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
}

.footer__logo img {
  height: 100%;
  width: auto;
  object-fit: contain;
}

.footer__text {
  color: rgba(245, 240, 235, 0.6);
  font-size: 0.9375rem;
  max-width: 320px;
}

.footer__heading {
  font-family: var(--ff-heading);
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: var(--clr-white);
}

.footer__links ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer__links a {
  color: rgba(245, 240, 235, 0.6);
  font-size: 0.9375rem;
  transition: var(--transition);
}

.footer__links a:hover {
  color: var(--clr-accent);
}

.footer__social-links {
  display: flex;
  gap: 0.75rem;
}

.footer__social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: var(--transition);
}

.footer__social-links a:hover {
  background: var(--clr-accent);
  border-color: var(--clr-accent);
}

.footer__social-links img {
  width: 20px;
  height: 20px;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 1.5rem 0;
  text-align: center;
  font-size: var(--fs-small);
  color: rgba(245, 240, 235, 0.4);
}

/* ===== SCROLL REVEAL ===== */
[data-reveal] {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .about__grid {
    gap: 2.5rem;
  }

  .features__grid {
    gap: 1.5rem;
  }

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

@media (max-width: 768px) {
  :root {
    --header-height: 64px;
    --spacing-section: 3.5rem;
  }

  .header__nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 360px;
    height: 100vh;
    background: var(--clr-bg);
    padding: 6rem 2rem 2rem;
    transition: right 0.4s ease;
    box-shadow: var(--shadow-lg);
  }

  .header__nav.open {
    right: 0;
  }

  .header__toggle {
    display: flex;
  }

  .header__menu {
    flex-direction: column;
    gap: 1.5rem;
    align-items: flex-start;
  }

  .header__link {
    color: var(--clr-text);
    font-size: 1.25rem;
  }

  .scrolled .header__link {
    color: var(--clr-text);
  }

  .header__link--active,
  .scrolled .header__link--active {
    color: var(--clr-primary);
  }

  .hero__actions {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .about__image {
    order: -1;
  }

  .features__grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }

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

  .contact__grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .contact__social {
    flex-direction: column;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

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

  .hero__subtitle {
    font-size: 1rem;
  }

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

  .menu__grid--single {
    max-width: 100%;
  }

  .section__header {
    margin-bottom: 2rem;
  }
}
