﻿/*
  Bayt Zaytouna - Lebanese Restaurant
  Color palette: olive green, beige, dark brown, gold accents
*/
:root {
  --olive: #5a6b3f;
  --olive-dark: #3e4a2c;
  --beige: #f4efe6;
  --brown: #3a2b1f;
  --gold: #c9a44a;
  --white: #ffffff;
  --shadow: 0 20px 45px rgba(58, 43, 31, 0.18);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Source Sans 3", sans-serif;
  background: var(--beige);
  color: var(--brown);
  line-height: 1.6;
}

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

img {
  width: 100%;
  display: block;
  border-radius: 16px;
}

/* Layout helpers */
.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

.section {
  padding: 90px 0;
}

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

.section-header h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 3vw, 2.8rem);
  margin-top: 10px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.25rem;
  font-size: 0.75rem;
  color: var(--olive);
  font-weight: 600;
}

/* Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(244, 239, 230, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(58, 43, 31, 0.08);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 4%;
}

.logo {
  font-family: "Playfair Display", serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--olive-dark);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 28px;
  align-items: center;
}

.nav-links a {
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--olive);
}

.nav-cta {
  padding: 10px 18px;
  background: var(--olive);
  color: var(--beige);
  border-radius: 999px;
}

.nav-order {
  background: var(--gold);
  color: var(--brown);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--brown);
}

/* Hero */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-image: url("assets/photos/Jurbise/DSC02235-Enhanced-NR.jpeg");
  background-size: cover;
  background-position: center;
  color: var(--white);
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(58, 43, 31, 0.75), rgba(90, 107, 63, 0.65));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(760px, 90%);
  padding: 40px;
  backdrop-filter: blur(4px);
}

.hero-content h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.8rem, 5vw, 4.6rem);
  margin: 14px 0;
}

.hero-subtitle {
  font-size: 1.1rem;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 28px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn.primary {
  background: var(--gold);
  color: var(--brown);
  box-shadow: var(--shadow);
}

.btn.secondary {
  background: transparent;
  border-color: var(--beige);
  color: var(--beige);
}

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

/* About */
.about {
  background: linear-gradient(120deg, rgba(244, 239, 230, 0.7), rgba(255, 255, 255, 0.9));
}

.about-content {
  display: grid;
  gap: 22px;
  font-size: 1.05rem;
}

/* Menu */
.menu {
  background: #f9f6f1;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.menu-card {
  background: var(--white);
  padding: 24px;
  border-radius: 20px;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--gold);
}

.menu-card h3 {
  font-family: "Playfair Display", serif;
  margin-bottom: 16px;
  color: var(--olive-dark);
}

.menu-card ul {
  list-style: none;
  display: grid;
  gap: 18px;
}

.menu-card li span {
  font-weight: 600;
}

.menu-card li {
  display: grid;
  gap: 6px;
}

/* Menu photos */
.menu-photos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.menu-photo {
  overflow: hidden;
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.menu-photo img {
  height: 220px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.price {
  color: var(--olive);
  font-weight: 700;
}

/* Gallery */
.gallery {
  background: var(--beige);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.gallery-item {
  overflow: hidden;
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.gallery-item img {
  height: 220px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

/* Contact */
.contact {
  background: #fdfbf6;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  align-items: center;
}

.contact-details h3 {
  font-family: "Playfair Display", serif;
  margin-bottom: 12px;
}

.contact-details p {
  margin-bottom: 10px;
}

.hours {
  margin-top: 18px;
}

.contact-map iframe {
  width: 100%;
  height: 320px;
  border: none;
  border-radius: 18px;
  box-shadow: var(--shadow);
}

/* Reservations */
.reservations {
  background: linear-gradient(135deg, rgba(90, 107, 63, 0.12), rgba(201, 164, 74, 0.18));
}

.reservation-form {
  display: grid;
  gap: 18px;
  background: var(--white);
  padding: 30px;
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

label {
  display: grid;
  gap: 8px;
  font-weight: 600;
}

input,
select {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(58, 43, 31, 0.2);
  font-family: inherit;
}

input:focus,
select:focus {
  outline: 2px solid rgba(201, 164, 74, 0.5);
  border-color: var(--gold);
}

.form-note {
  font-size: 0.9rem;
  color: #6f5a47;
}

/* Footer */
.site-footer {
  text-align: center;
  padding: 30px 10px;
  background: var(--olive-dark);
  color: var(--beige);
}

/* PDF menu */
.menu-pdf {
  background: #f9f6f1;
}

.pdf-wrapper {
  background: var(--white);
  border-radius: 20px;
  padding: 16px;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
}

.pdf-wrapper iframe {
  width: 100%;
  height: 70vh;
  border: none;
  border-radius: 12px;
}

/* Scroll animation */
.fade-in {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive nav */
@media (max-width: 900px) {
  .nav-links {
    position: absolute;
    top: 64px;
    right: 4%;
    background: var(--beige);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px;
    border-radius: 16px;
    box-shadow: var(--shadow);
    display: none;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }
}

@media (max-width: 600px) {
  .hero-content {
    padding: 28px;
  }

  .section {
    padding: 70px 0;
  }
}
