/* ================================================
   Chafariz das Gravatas - Minimalist High-End
   Restaurant Website Stylesheet
   ================================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500&family=Montserrat:wght@200;300;400;500;600&display=swap');

/* --- CSS Custom Properties --- */
:root {
  --white: #ffffff;
  --off-white: #f8f7f4;
  --black: #1a1a1a;
  --gold: #c9a96e;
  --gold-light: rgba(201, 169, 110, 0.15);
  --gold-hover: #b8944f;
  --gray-light: #e8e6e1;
  --gray-mid: #999;
  --gray-text: #555;

  --font-heading: 'Cormorant Garamond', 'Georgia', serif;
  --font-body: 'Montserrat', 'Helvetica Neue', sans-serif;

  --transition-smooth: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-fast: 0.25s ease;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--black);
  background-color: var(--white);
  line-height: 1.8;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

ul {
  list-style: none;
}

/* --- Keyframe Animations --- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes expandWidth {
  from {
    width: 0;
  }
  to {
    width: 60px;
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes gentlePulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.6;
  }
}

/* --- Utility Classes --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.container--narrow {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 40px;
}

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

.section-padding {
  padding: 120px 0;
}

.section-padding--small {
  padding: 80px 0;
}

/* Animated elements */
.animate-on-scroll {
  opacity: 0;
  animation: fadeInUp 0.8s var(--transition-smooth) forwards;
}

.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.25s; }
.animate-delay-3 { animation-delay: 0.4s; }
.animate-delay-4 { animation-delay: 0.55s; }
.animate-delay-5 { animation-delay: 0.7s; }
.animate-delay-6 { animation-delay: 0.85s; }

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.03em;
}

h1 {
  font-size: clamp(2.8rem, 6vw, 5rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
}

p {
  margin-bottom: 1.2em;
}

/* Section header with decorative line */
.section-header {
  margin-bottom: 60px;
  text-align: center;
}

.section-header h2 {
  margin-bottom: 20px;
  color: var(--black);
}

.section-header .decorative-line {
  width: 60px;
  height: 1px;
  background-color: var(--gold);
  margin: 0 auto 20px;
  animation: expandWidth 1s var(--transition-smooth) forwards;
}

.section-header p {
  font-size: 0.95rem;
  color: var(--gray-text);
  max-width: 600px;
  margin: 0 auto;
  font-weight: 300;
}

/* --- Navigation --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 28px 0;
  transition: all var(--transition-smooth);
  background: transparent;
}

.navbar.navbar--scrolled {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 18px 0;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar__logo {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--white);
  transition: color var(--transition-fast);
}

.navbar--scrolled .navbar__logo {
  color: var(--black);
}

.navbar__links {
  display: flex;
  align-items: center;
  gap: 40px;
}

.navbar__links a {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  position: relative;
  padding: 4px 0;
  transition: color var(--transition-fast);
}

.navbar--scrolled .navbar__links a {
  color: var(--black);
}

.navbar__links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--gold);
  transition: width var(--transition-smooth);
}

.navbar__links a:hover::after,
.navbar__links a.active::after {
  width: 100%;
}

.navbar__links a:hover {
  color: var(--white);
}

.navbar--scrolled .navbar__links a:hover {
  color: var(--gold);
}

/* Mobile Menu Toggle */
.navbar__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
  background: none;
  border: none;
}

.navbar__toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background-color: var(--white);
  transition: all var(--transition-fast);
}

.navbar--scrolled .navbar__toggle span {
  background-color: var(--black);
}

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

.hero--small {
  height: 60vh;
  min-height: 450px;
}

.hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(26, 26, 26, 0.35) 0%,
    rgba(26, 26, 26, 0.55) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  padding: 0 40px;
  animation: fadeIn 1.2s ease forwards;
}

.hero__content h1 {
  margin-bottom: 20px;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-shadow: 0 2px 40px rgba(0, 0, 0, 0.2);
}

.hero__content .hero__tagline {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 300;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  opacity: 0.9;
  margin-bottom: 10px;
}

.hero__content .hero__subtitle {
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 300;
  font-style: italic;
  opacity: 0.85;
  margin-top: 15px;
}

.hero__decorative-line {
  width: 60px;
  height: 1px;
  background-color: var(--gold);
  margin: 25px auto;
  animation: expandWidth 1.2s 0.5s var(--transition-smooth) forwards;
  width: 0;
}

.hero__scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  animation: gentlePulse 2.5s infinite ease-in-out;
}

.hero__scroll-indicator span {
  display: block;
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.6), transparent);
  margin: 0 auto 8px;
}

.hero__scroll-indicator small {
  font-family: var(--font-body);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 16px 45px;
  border: 1px solid var(--gold);
  color: var(--gold);
  background: transparent;
  cursor: pointer;
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background-color: var(--gold);
  transition: left var(--transition-smooth);
  z-index: -1;
}

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

.btn:hover::before {
  left: 0;
}

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

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

.btn--white:hover {
  color: var(--black);
}

.btn--filled {
  background-color: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}

.btn--filled::before {
  background-color: var(--gold-hover);
}

.btn--filled:hover {
  border-color: var(--gold-hover);
}

/* --- Homepage: Intro Section --- */
.intro {
  background-color: var(--white);
}

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

.intro__content h2 {
  margin-bottom: 10px;
}

.intro__content .decorative-line {
  width: 60px;
  height: 1px;
  background-color: var(--gold);
  margin: 20px auto 30px;
}

.intro__content p {
  font-size: 1rem;
  color: var(--gray-text);
  line-height: 2;
}

/* --- Homepage: Featured Dishes --- */
.featured-dishes {
  background-color: var(--off-white);
}

.dishes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.dish-card {
  background: var(--white);
  overflow: hidden;
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

.dish-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.dish-card__image {
  position: relative;
  height: 320px;
  overflow: hidden;
}

.dish-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--transition-smooth);
}

.dish-card:hover .dish-card__image img {
  transform: scale(1.05);
}

.dish-card__content {
  padding: 30px;
  text-align: center;
}

.dish-card__content h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.dish-card__content .dish-card__price {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--gold);
  letter-spacing: 0.1em;
  font-weight: 400;
  margin-bottom: 12px;
}

.dish-card__content p {
  font-size: 0.88rem;
  color: var(--gray-text);
  line-height: 1.7;
}

/* --- Homepage: Testimonial/Quote --- */
.testimonial {
  background-color: var(--white);
  position: relative;
}

.testimonial__inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.testimonial__quote-mark {
  font-family: var(--font-heading);
  font-size: 5rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: -10px;
  opacity: 0.5;
}

.testimonial__text {
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-style: italic;
  font-weight: 300;
  line-height: 1.8;
  color: var(--black);
  margin-bottom: 30px;
}

.testimonial__author {
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray-mid);
  font-weight: 400;
}

/* --- Parallax Band / Image Divider --- */
.image-divider {
  position: relative;
  height: 400px;
  overflow: hidden;
}

.image-divider__bg {
  position: absolute;
  top: -50px;
  left: 0;
  width: 100%;
  height: calc(100% + 100px);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.image-divider__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(26, 26, 26, 0.4);
}

.image-divider__content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  padding: 0 40px;
}

.image-divider__content h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 300;
  font-style: italic;
  letter-spacing: 0.05em;
}

/* --- Menu Page --- */
.menu-section {
  background-color: var(--white);
}

.menu-section:nth-child(even) {
  background-color: var(--off-white);
}

.menu-category {
  margin-bottom: 80px;
}

.menu-category:last-child {
  margin-bottom: 0;
}

.menu-category__title {
  font-family: var(--font-heading);
  font-size: 2rem;
  text-align: center;
  margin-bottom: 12px;
  color: var(--black);
}

.menu-category__line {
  width: 40px;
  height: 1px;
  background-color: var(--gold);
  margin: 0 auto 40px;
}

.menu-items {
  max-width: 700px;
  margin: 0 auto;
}

.menu-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 16px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: all var(--transition-fast);
}

.menu-item:last-child {
  border-bottom: none;
}

.menu-item:hover {
  padding-left: 10px;
}

.menu-item__name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--black);
}

.menu-item__description {
  font-size: 0.82rem;
  color: var(--gray-mid);
  font-weight: 300;
  margin-top: 2px;
}

.menu-item__dots {
  flex: 1;
  border-bottom: 1px dotted rgba(0, 0, 0, 0.15);
  margin: 0 15px;
  min-width: 30px;
  position: relative;
  top: -4px;
}

.menu-item__price {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--gold);
  white-space: nowrap;
  letter-spacing: 0.05em;
}

/* Special dish highlight */
.menu-item--special {
  background: var(--gold-light);
  padding: 20px;
  margin: 10px -20px;
  border-bottom: none;
  position: relative;
}

.menu-item--special::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 2px;
  height: 100%;
  background-color: var(--gold);
}

.menu-item--special:hover {
  padding-left: 30px;
}

.menu-note {
  text-align: center;
  margin-top: 60px;
  font-size: 0.82rem;
  color: var(--gray-mid);
  font-style: italic;
}

/* --- About Page --- */
.about-story {
  background-color: var(--white);
}

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

.about-story__image {
  height: 550px;
  overflow: hidden;
}

.about-story__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--transition-smooth);
}

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

.about-story__text h2 {
  margin-bottom: 10px;
}

.about-story__text .decorative-line {
  width: 60px;
  height: 1px;
  background-color: var(--gold);
  margin-bottom: 30px;
}

.about-story__text p {
  font-size: 0.95rem;
  color: var(--gray-text);
  line-height: 2;
}

/* Gallery */
.gallery {
  background-color: var(--off-white);
}

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

.gallery-item {
  position: relative;
  height: 300px;
  overflow: hidden;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--transition-smooth);
}

.gallery-item::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(26, 26, 26, 0);
  transition: background var(--transition-smooth);
}

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

.gallery-item:hover::after {
  background: rgba(26, 26, 26, 0.15);
}

/* Group Section */
.group-section {
  background-color: var(--white);
}

.group-section__content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.group-section__content p {
  font-size: 0.95rem;
  color: var(--gray-text);
  line-height: 2;
}

/* Chef Section */
.chef-section {
  background-color: var(--off-white);
}

.chef-section__grid {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 60px;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
}

.chef-section__image {
  height: 500px;
  overflow: hidden;
}

.chef-section__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.chef-section__text h3 {
  font-size: 1.8rem;
  margin-bottom: 5px;
}

.chef-section__text .chef-title {
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 400;
  margin-bottom: 25px;
  display: block;
}

.chef-section__text p {
  font-size: 0.95rem;
  color: var(--gray-text);
  line-height: 2;
}

/* --- Contact Page --- */
.contact-section {
  background-color: var(--white);
}

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

.contact-info h3 {
  font-size: 1.6rem;
  margin-bottom: 30px;
}

.contact-info__item {
  margin-bottom: 30px;
}

.contact-info__item .label {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 400;
  margin-bottom: 8px;
  display: block;
}

.contact-info__item p,
.contact-info__item a {
  font-size: 0.95rem;
  color: var(--gray-text);
  line-height: 1.8;
}

.contact-info__item a:hover {
  color: var(--gold);
}

/* Hours Table */
.hours-table {
  width: 100%;
  margin-top: 10px;
}

.hours-table tr {
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.hours-table td {
  padding: 10px 0;
  font-size: 0.9rem;
  color: var(--gray-text);
}

.hours-table td:first-child {
  font-weight: 400;
  color: var(--black);
}

.hours-table td:last-child {
  text-align: right;
}

.hours-table .closed {
  color: var(--gray-mid);
  font-style: italic;
}

/* Contact Form */
.contact-form h3 {
  font-size: 1.6rem;
  margin-bottom: 30px;
}

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

.form-group label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--black);
  font-weight: 400;
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--black);
  background-color: var(--off-white);
  border: 1px solid transparent;
  outline: none;
  transition: all var(--transition-fast);
  appearance: none;
  -webkit-appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  background-color: var(--white);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--gray-mid);
  font-weight: 300;
}

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

.form-group select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' viewBox='0 0 12 7'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23999' stroke-width='1' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  padding-right: 45px;
}

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

.form-submit {
  margin-top: 10px;
}

.form-submit .btn {
  width: 100%;
  text-align: center;
}

/* Map */
.map-section {
  background-color: var(--off-white);
}

.map-container {
  width: 100%;
  height: 450px;
  filter: grayscale(0.9) contrast(1.05);
  transition: filter var(--transition-smooth);
}

.map-container:hover {
  filter: grayscale(0) contrast(1);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* --- Footer --- */
.footer {
  background-color: var(--black);
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 0 40px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer__brand h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--white);
  margin-bottom: 5px;
}

.footer__brand .decorative-line {
  width: 40px;
  height: 1px;
  background-color: var(--gold);
  margin: 15px 0;
}

.footer__brand p {
  font-size: 0.88rem;
  line-height: 1.9;
}

.footer h4 {
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white);
  font-weight: 400;
  margin-bottom: 25px;
}

.footer__links a {
  display: block;
  font-size: 0.88rem;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--transition-fast);
}

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

.footer__contact p,
.footer__contact a {
  display: block;
  font-size: 0.88rem;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.6);
}

.footer__contact a:hover {
  color: var(--gold);
}

.footer__social {
  display: flex;
  gap: 20px;
  margin-top: 20px;
}

.footer__social a {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--transition-fast);
}

.footer__social a:hover {
  color: var(--gold);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer__bottom p {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 0;
}

.footer__bottom a {
  color: rgba(255, 255, 255, 0.35);
  transition: color var(--transition-fast);
}

.footer__bottom a:hover {
  color: var(--gold);
}

/* --- Responsive Design --- */

/* Large tablets and small desktops */
@media (max-width: 1024px) {
  .container {
    padding: 0 30px;
  }

  .section-padding {
    padding: 90px 0;
  }

  .about-story__grid {
    gap: 50px;
  }

  .contact-grid {
    gap: 50px;
  }

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

  .chef-section__grid {
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 600px;
  }

  .chef-section__image {
    height: 400px;
  }
}

/* Tablets */
@media (max-width: 768px) {
  .container {
    padding: 0 25px;
  }

  .section-padding {
    padding: 70px 0;
  }

  .section-header {
    margin-bottom: 40px;
  }

  /* Mobile Navigation */
  .navbar__toggle {
    display: flex;
    z-index: 1001;
  }

  .navbar__links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: rgba(26, 26, 26, 0.98);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    transition: right var(--transition-smooth);
  }

  .navbar__links.active {
    right: 0;
  }

  .navbar__links a {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8) !important;
    letter-spacing: 0.2em;
  }

  .navbar__links a:hover {
    color: var(--gold) !important;
  }

  /* Hero */
  .hero {
    min-height: 500px;
  }

  .hero--small {
    height: 50vh;
    min-height: 350px;
  }

  /* Dishes Grid */
  .dishes-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    max-width: 500px;
    margin: 0 auto;
  }

  .dish-card__image {
    height: 280px;
  }

  /* About Story */
  .about-story__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-story__image {
    height: 400px;
  }

  /* Gallery */
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .gallery-item {
    height: 220px;
  }

  /* Contact */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }

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

  /* Footer */
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  /* Image Divider */
  .image-divider {
    height: 300px;
  }

  .image-divider__bg {
    background-attachment: scroll;
  }

  /* Map */
  .map-container {
    height: 350px;
  }
}

/* Mobile phones */
@media (max-width: 480px) {
  html {
    font-size: 15px;
  }

  .container {
    padding: 0 20px;
  }

  .section-padding {
    padding: 60px 0;
  }

  .hero__content {
    padding: 0 20px;
  }

  .btn {
    padding: 14px 35px;
    font-size: 0.68rem;
  }

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

  .gallery-item {
    height: 250px;
  }

  .menu-item {
    flex-wrap: wrap;
  }

  .menu-item__dots {
    display: none;
  }

  .menu-item__price {
    width: 100%;
    text-align: left;
    margin-top: 4px;
  }

  .image-divider {
    height: 250px;
  }

  .map-container {
    height: 300px;
  }
}

/* --- Print Styles --- */
@media print {
  .navbar,
  .hero__scroll-indicator,
  .footer,
  .image-divider {
    display: none;
  }

  body {
    font-size: 12pt;
    color: #000;
  }

  .hero {
    height: auto;
    min-height: 0;
    padding: 40px 0;
  }

  .hero__overlay {
    background: none;
  }

  .hero__content {
    color: #000;
  }

  .section-padding {
    padding: 30px 0;
  }
}

/* Back to templates link */
:root {
  --templates-back-height: 38px;
}

.templates-back {
  display: flex;
  align-items: center;
  justify-content: center;
  height: var(--templates-back-height);
  background: #f6f2ea;
  color: #3a3a3a;
  text-align: center;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 0;
  z-index: 1200;
}


.templates-back a {
  color: inherit;
  text-decoration: none;
}

.templates-back a:hover {
  text-decoration: underline;
}

nav,
.navbar {
  top: var(--templates-back-height);
}

body.is-embedded .templates-back {
  display: flex;
  align-items: center;
  justify-content: center;
  height: var(--templates-back-height);
  background: #f6f2ea;
  color: #3a3a3a;
  text-align: center;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 0;
  z-index: 1200;
}


body.is-embedded nav,
body.is-embedded .navbar {
  top: 0;
}
