/* ========================================
   Noir Nosh - Restaurant Template
   Pure HTML/CSS - No JavaScript
   ======================================== */

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

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

section[id] {
  scroll-margin-top: 140px;
}

@media (max-width: 768px) {
  section[id] {
    scroll-margin-top: 80px;
  }
}

body {
  font-family: 'General Sans', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: #393939;
  background-color: #fff;
}

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

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

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  line-height: 1.25;
  color: #121212;
}

/* --- CSS Variables --- */
:root {
  --white: #ffffff;
  --off-white: #f5f5f5;
  --light-gray: #cfcfcf;
  --gray: #888888;
  --dark-gray: #393939;
  --near-black: #121212;
  --black: #090909;
  --max-width: 1200px;
}

/* --- Utility --- */
.container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 84px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 14px;
  height: 48px;
  font-family: 'General Sans', sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  border-radius: 0;
  transition: opacity 0.3s ease;
  cursor: pointer;
  border: none;
}

.btn:hover {
  opacity: 0.85;
}

.btn-dark {
  background-color: var(--near-black);
  color: var(--white);
}

.btn-outline {
  background-color: transparent;
  color: var(--near-black);
  border: 1px solid var(--near-black);
}

/* ========================================
   HEADER / NAVIGATION
   ======================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 0px 84px;
  height: 120px;
  background: rgba(255, 255, 255, 0.95);
  display:flex;
  justify-content:center;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0;
  max-width: none;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 60px;
  width: auto;
  margin-left: -16px;
}

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

.nav-links a {
  font-family: 'General Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--gray);
  line-height: 20px;
  transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--near-black);
}

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

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--near-black);
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
  padding: 184px 0 0;
  background-color: var(--white);
}

.hero-top {
  display: grid;
  grid-template-columns: 1fr minmax(auto, 500px);
  gap: 140px;
  align-items: center;
  margin-bottom: 40px;
}

.hero-title {
  font-family: 'General Sans', sans-serif;
  font-size: 48px;
  font-weight: 700;
  font-style: normal;
  line-height: 58px;
  color: var(--near-black);
}

/* .hero-right {
  padding-top: 34px;
} */

.hero-subtitle {
  font-family: 'General Sans', sans-serif;
  font-size: 18px;
  font-weight: 400;
  color: var(--dark-gray);
  line-height: 28px;
  margin-bottom: 32px;
}

.hero-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-image {
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  height: 582px;
  object-fit: cover;
}

/* ========================================
   ABOUT + INFO COMBINED SECTION
   ======================================== */
.about-info {
  padding: 80px 0;
  background-color: var(--white);
}

/* About header: title + description sit within the image column width */

.general-header {
  display: flex;
  gap: 48px;
  /* align-items: baseline; */
  margin-bottom: 48px;
  /* Match image column width from .about-body grid */
  max-width: calc(1.7 / 2.7 * (100% - 50px));
}

.about-header {
  display: flex;
  gap: 48px;
  /* align-items: baseline; */
  margin-bottom: 48px;
  /* Match image column width from .about-body grid */
  max-width: calc(1.7 / 2.7 * (100% - 50px));
}

.about-header h2, .general-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: 40px;
  font-style: italic;
  font-weight: 700;
  line-height: 50px;
  white-space: nowrap;
  flex-shrink: 0;
}

.about-header p, .general-header p {
  font-size: 18px;
  color: var(--dark-gray);
  line-height: 28px;
}

/* Info row: chef image left, details right */
.about-body {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-image {
  position: relative;
  overflow: visible;
}

.about-image img {
  width: 100%;
  aspect-ratio: 5 / 3;
  object-fit: cover;
}

/* Circular decorative badge */
.about-badge-circle {
  position: absolute;
  top: -30px;
  right: -30px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background-color: var(--near-black);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.about-badge-circle span {
  font-family: 'Silkscreen', monospace;
  font-size: 8px;
  letter-spacing: 1px;
  color: var(--white);
  line-height: 1.6;
  text-transform: uppercase;
}

.about-details {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding-top: 10px;
}

.about-details .detail-block h3 {
  font-family: 'General Sans', sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 28px;
  color: var(--near-black);
  margin-bottom: 8px;
}

.about-details .detail-block p {
  font-size: 18px;
  color: var(--dark-gray);
  line-height: 28px;
  margin-bottom: 4px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  line-height: 28px;
  color: var(--dark-gray);
  margin-bottom: 4px;
}

.contact-item svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--near-black);
}

.about-details .btn {
  align-self: flex-start;
  margin-top: 8px;
}

/* ========================================
   MENU SECTION
   ======================================== */
.menu-section {
  padding: 80px 0;
  background-color: var(--white);
  border-top: 1px solid var(--off-white);
}

/* Menu header: title left, description right */
.menu-header {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 50px;
}

.menu-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: 40px;
  font-style: italic;
  font-weight: 700;
  line-height: 50px;
}

.menu-header p {
  font-size: 18px;
  color: var(--dark-gray);
  line-height: 28px;
  max-width: 570px;
  padding-top: 4px;
}

.menu-grid-wrapper {
  position: relative;
}

/* Menu grid with varied column widths per row */
.menu-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.menu-row {
  display: flex;
  gap: 10px;
  height: 340px;
}

.menu-item {
  overflow: hidden;
  flex-shrink: 0;
}

.menu-item-square {
  flex: 2;
}

.menu-item-wide {
  flex: 3;
}

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

.menu-item:hover img {
  transform: scale(1.05);
}

/* Mobile carousel - hidden on desktop */
.menu-carousel {
  display: none;
}

.menu-carousel .swiper-slide img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 4px;
}

.menu-carousel .swiper-pagination {
  position: relative;
  margin-top: 20px;
}

.menu-carousel .swiper-pagination-bullet-active {
  background: var(--near-black);
}

/* ========================================
   REVIEWS SECTION
   ======================================== */
.reviews {
  padding: 80px 0;
  background-color: var(--white);
  border-top: 1px solid var(--off-white);
}

/* Reviews header: title left, description right */
.reviews-header {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 50px;
}

.reviews-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: 40px;
  font-style: italic;
  font-weight: 700;
  line-height: 50px;
}

.reviews-header p {
  font-size: 18px;
  color: var(--dark-gray);
  line-height: 28px;
  max-width: 570px;
  padding-top: 4px;
}

/* Review body: image left, text right */
.review-body {
  display: flex;
  gap: 40px;
  align-items: center;
}

.review-image {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.review-image img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.review-content {
  flex: 1;
  min-width: 0;
}

.review-highlight {
  font-family: 'General Sans', sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--near-black);
  margin-bottom: 28px;
  line-height: 42px;
}

.review-quote {
  font-family: 'General Sans', sans-serif;
  font-size: 18px;
  font-weight: 400;
  color: var(--dark-gray);
  line-height: 28px;
  margin-bottom: 28px;
}

.review-author {
  font-family: 'General Sans', sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  color: var(--dark-gray);
}

/* ========================================
   CTA SECTION (white background)
   ======================================== */
.cta {
  padding: 80px 0 0;
  background-color: var(--white);
  text-align: left;
}

.cta-title {
  font-family: 'Playfair Display', serif;
  font-size: 48px;
  font-weight: 700;
  font-style: normal;
  color: var(--near-black);
  line-height: 58px;
}

.cta-subtitle {
  font-family: 'Playfair Display', serif;
  font-size: 48px;
  font-weight: 700;
  font-style: normal;
  color: var(--near-black);
  line-height: 58px;
  margin-bottom: 50px;
}

/* Instagram grid */
.instagram-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 4px;
  margin-top: 48px;
}

.instagram-grid a {
  display: block;
  overflow: hidden;
  aspect-ratio: 1;
}

.instagram-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.instagram-grid a:hover img {
  transform: scale(1.05);
  opacity: 0.85;
}

.instagram-cta {
  text-align: center;
  margin-top: 32px;
}

.instagram-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'General Sans', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--near-black);
  transition: opacity 0.3s ease;
}

.instagram-link:hover {
  opacity: 0.7;
}

.instagram-link svg {
  width: 22px;
  height: 22px;
}

/* ========================================
   FOOTER (white background)
   ======================================== */
.footer {
  padding: 60px 0 30px;
  background-color: var(--white);
  color: var(--dark-gray);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
  margin-top: 60px;
}

.footer-col h4 {
  font-family: 'General Sans', sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 28px;
  color: var(--near-black);
  margin-bottom: 12px;
}

.footer-col p,
.footer-col span {
  font-size: 18px;
  color: var(--dark-gray);
  line-height: 28px;
  display: block;
}

.footer-col a {
  font-size: 18px;
  color: var(--dark-gray);
  line-height: 28px;
  display: block;
}

.footer-col a:hover {
  color: var(--near-black);
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
  font-size: 18px;
  line-height: 28px;
  color: var(--dark-gray);
}

.footer-contact-item svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--dark-gray);
}

/* Large NOIR NOSH wordmark */
.footer-wordmark {
  font-family: 'Playfair Display', serif;
  font-size: 188px;
  font-weight: 900;
  color: var(--black);
  text-transform: uppercase;
  text-align: left;
  line-height: 188px;
  margin-bottom: 30px;
}

.footer-bottom {
  border-top: 1px solid var(--off-white);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-credit {
  font-size: 13px;
  color: var(--gray);
}

.footer-credit a {
  color: var(--dark-gray);
  display: inline;
  font-size: inherit;
}

.footer-built-by {
  font-size: 13px;
  color: var(--gray);
}

.footer-built-by a {
  color: var(--dark-gray);
  display: inline;
  font-size: inherit;
}

/* Social links with arrows */
.footer-col a.social-link {
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-col a.social-link::after {
  content: "\2197";
  font-size: 12px;
}

/* ========================================
   RESPONSIVE
   ======================================== */
   @media (max-width: 1260px) {
   .hero-top {
    gap: 48px;
  }
   }

/* Tablet: stacked hero, same font sizes as desktop */
@media (max-width: 1100px) {
  .container {
    padding: 0 40px;
  }

  .header {
    padding: 20px 40px;
    height: auto;
  }

  .hero-top {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hero-title {
    font-size: 48px;
    line-height: 58px;
  }

  .hero-image img {
    height: 400px;
  }

  .about-header,
  .general-header {
    max-width: 100%;
  }

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

  .menu-row {
    height: 220px;
  }

  .review-body {
    flex-direction: column;
    gap: 30px;
  }

  .cta-title,
  .cta-subtitle {
    font-size: 36px;
    line-height: 46px;
  }

  .footer-wordmark {
    font-size: 80px;
    line-height: 80px;
  }

  .instagram-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Mobile */
@media (max-width: 767px) {
  .container {
    padding: 0 20px;
  }

  .about-info,
  .menu-section,
  .reviews,
  .cta {
    padding: 48px 0;
  }

  .cta {
    padding-bottom: 0;
  }

  .header {
    padding: 16px 20px;
    height: auto;
  }

  .nav-links {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .nav-checkbox:checked ~ .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 20px;
    border-bottom: 1px solid var(--light-gray);
    gap: 16px;
  }

  .hero {
    padding: 100px 0 0;
  }

  .hero-title {
    font-size: 28px;
    line-height: 38px;
  }

  .hero-subtitle {
    font-size: 18px;
    line-height: 28px;
  }

  .hero-buttons .btn {
    text-align: center;
  }

  .hero-image img {
    height: 280px;
  }

  .about-header h2,
  .general-header h2 {
    font-size: 28px;
    line-height: 38px;
  }

  .about-header,
  .general-header {
    max-width: 100%;
    flex-direction: column;
    gap: 16px;
  }

  .about-body {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .menu-grid-wrapper {
    display: none;
  }

  .menu-carousel {
    display: block;
  }

  .review-highlight {
    font-size: 22px;
    line-height: 32px;
  }

  .cta-title,
  .cta-subtitle {
    font-size: 28px;
    line-height: 38px;
  }

  .instagram-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-wordmark {
    font-size: 44px;
    letter-spacing: 3px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 28px;
    line-height: 38px;
  }

  .menu-row {
    height: 150px;
  }

  .footer-wordmark {
    font-size: 32px;
  }
}
