/* ================================================================
   German's Restaurant - Premium Pitch Site
   Designed by Carbonware
   ================================================================ */

:root {
  --primary: #8B1A1A;
  --primary-light: #A52A2A;
  --primary-dark: #6B0F0F;
  --gold: #D4A741;
  --gold-light: #E8C76A;
  --gold-dark: #B8922E;
  --cream: #FFF8F0;
  --cream-dark: #F5E6C8;
  --dark: #2C1810;
  --dark-light: #4A3728;
  --text: #333333;
  --text-light: #666666;
  --white: #FFFFFF;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.15);
  --transition: all 0.3s ease;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Raleway', 'Helvetica Neue', sans-serif;
}

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

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

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--dark);
  line-height: 1.2;
}

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

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ==================== HEADER ==================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.5rem 0;
  transition: var(--transition);
  background: transparent;
}

.header.scrolled {
  background: var(--dark);
  padding: 1rem 0;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

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

.logo {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--white);
  font-weight: 700;
  letter-spacing: 1px;
}

.logo span {
  color: var(--gold);
}

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav a {
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  position: relative;
}

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

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

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

.nav-toggle span {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
}

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

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

/* Mobile nav overlay backdrop */
.nav-backdrop {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0);
  z-index: 999;
  transition: background 0.4s ease;
}

.nav-backdrop.active {
  display: block;
  background: rgba(0, 0, 0, 0.6);
}

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

/* ==================== HERO ==================== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(rgba(44, 24, 16, 0.65), rgba(44, 24, 16, 0.8)),
              url('https://images.unsplash.com/photo-1555939594-58d7cb561ad1?w=1920&q=80') center/cover no-repeat;
  color: var(--white);
}

.hero-content {
  max-width: 800px;
  padding: 0 2rem;
}

.hero-badge {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 0.8rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 2rem;
  font-weight: 500;
}

.hero h1 {
  font-size: 4rem;
  color: var(--white);
  margin-bottom: 1.5rem;
  font-weight: 700;
  line-height: 1.1;
}

.hero h1 span {
  color: var(--gold);
  font-style: italic;
}

.hero p {
  font-size: 1.15rem;
  opacity: 0.9;
  margin-bottom: 2.5rem;
  line-height: 1.8;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  border-radius: 2px;
}

.btn-primary {
  background: var(--gold);
  color: var(--dark);
}

.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(212, 167, 65, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--gold);
}

.btn-outline:hover {
  background: var(--gold);
  color: var(--dark);
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ==================== SECTION COMMON ==================== */
.section {
  padding: 6rem 0;
}

.section-cream {
  background: var(--cream);
}

.section-dark {
  background: var(--dark);
  color: var(--white);
}

.section-dark h2,
.section-dark h3 {
  color: var(--white);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header .label {
  display: inline-block;
  color: var(--gold);
  font-size: 0.8rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 1rem;
}

.section-header h2 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

.section-dark .section-header p {
  color: rgba(255, 255, 255, 0.7);
}

.divider {
  width: 60px;
  height: 3px;
  background: var(--gold);
  margin: 1.5rem auto;
}

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

.heritage-image {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
}

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

.heritage-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: linear-gradient(transparent, rgba(44, 24, 16, 0.3));
}

.heritage-badge {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  background: var(--gold);
  color: var(--dark);
  padding: 1rem 1.5rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  z-index: 1;
}

.heritage-content .label {
  display: inline-block;
  color: var(--gold);
  font-size: 0.8rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 1rem;
}

.heritage-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.heritage-content p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.heritage-content blockquote {
  border-left: 3px solid var(--gold);
  padding-left: 1.5rem;
  font-style: italic;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--dark);
  margin: 2rem 0;
  line-height: 1.6;
}

/* ==================== FEATURES ==================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.feature-card {
  text-align: center;
  padding: 3rem 2rem;
  background: var(--white);
  border-radius: 4px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream);
  border-radius: 50%;
  color: var(--gold);
  font-size: 1.8rem;
}

.feature-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.feature-card p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ==================== MENU HIGHLIGHTS ==================== */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.menu-card {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  height: 350px;
  cursor: pointer;
}

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

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

.menu-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem;
  background: linear-gradient(transparent, rgba(44, 24, 16, 0.9));
  color: var(--white);
}

.menu-card-overlay h3 {
  color: var(--white);
  font-size: 1.4rem;
  margin-bottom: 0.3rem;
}

.menu-card-overlay p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}

/* ==================== LOCATIONS ==================== */
.locations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.location-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: var(--transition);
}

.location-card:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--gold);
}

.location-card .icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.location-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.location-card .address {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.location-card .tag {
  display: inline-block;
  padding: 0.35rem 1rem;
  background: var(--gold);
  color: var(--dark);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 2px;
}

.location-card .tag.coming-soon {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
}

/* ==================== HALAL BANNER ==================== */
.halal-banner {
  text-align: center;
  padding: 3rem 0;
  background: var(--gold);
  color: var(--dark);
}

.halal-banner .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.halal-banner .icon {
  font-size: 2rem;
}

.halal-banner h3 {
  font-size: 1.4rem;
  color: var(--dark);
}

.halal-banner p {
  font-size: 0.95rem;
  opacity: 0.8;
}

/* ==================== CONTACT ==================== */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.contact-item {
  text-align: center;
  padding: 2rem;
}

.contact-item .icon {
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 1rem;
}

.contact-item h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.contact-item p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.7;
}

.contact-item a {
  color: var(--primary);
  font-weight: 600;
}

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

.social-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: var(--cream);
  color: var(--primary);
  font-size: 1.2rem;
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--gold);
  color: var(--dark);
}

/* ==================== FOOTER ==================== */
.footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
  padding: 2.5rem 0;
  font-size: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer p + p {
  margin-top: 0.5rem;
}

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

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

/* ==================== MENU PAGE ==================== */
.menu-hero {
  position: relative;
  height: 45vh;
  min-height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(rgba(44, 24, 16, 0.7), rgba(44, 24, 16, 0.85)),
              url('https://images.unsplash.com/photo-1476224203421-9ac39bcb3327?w=1920&q=80') center/cover no-repeat;
  color: var(--white);
}

.menu-hero h1 {
  font-size: 3.5rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.menu-hero p {
  font-size: 1.1rem;
  opacity: 0.8;
}

/* Menu Filter */
.menu-filter {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 1.5rem 0;
  position: sticky;
  top: 70px;
  background: var(--white);
  z-index: 99;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.menu-filter button {
  padding: 0.6rem 1.5rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: 2px solid var(--dark);
  background: transparent;
  color: var(--dark);
  cursor: pointer;
  transition: var(--transition);
  border-radius: 2px;
}

.menu-filter button:hover,
.menu-filter button.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

/* Menu Sections */
.menu-section {
  padding: 3rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

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

.menu-section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.menu-section-header h2 {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.menu-section-header p {
  color: var(--text-light);
  font-size: 0.95rem;
}

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

.menu-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 1rem 0;
  border-bottom: 1px dotted rgba(0, 0, 0, 0.12);
}

.menu-item-info {
  flex: 1;
}

.menu-item-info h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin-bottom: 0.2rem;
}

.menu-item-info p {
  font-size: 0.85rem;
  color: var(--text-light);
}

.menu-item .price {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--primary);
  font-weight: 700;
  white-space: nowrap;
  margin-left: 1rem;
}

.menu-note {
  text-align: center;
  padding: 2rem;
  font-style: italic;
  color: var(--text-light);
  font-size: 0.9rem;
}

.size-legend {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
  font-size: 0.85rem;
  color: var(--text-light);
}

.size-legend span {
  font-weight: 600;
  color: var(--dark);
}

/* ==================== ANIMATIONS ==================== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.fade-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.fade-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Stagger delays */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
  .hero h1 {
    font-size: 3rem;
  }

  .section-header h2 {
    font-size: 2.2rem;
  }

  .heritage-grid {
    gap: 2rem;
  }

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

@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    background: rgba(44, 24, 16, 0.97);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    padding: 2rem 1rem;
    box-shadow: none;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
  }

  .nav.open {
    opacity: 1;
    visibility: visible;
  }

  .nav a,
  .nav .btn {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease, color 0.3s ease;
  }

  .nav.open a:nth-child(1) { opacity: 1; transform: translateY(0); transition-delay: 0.1s; }
  .nav.open a:nth-child(2) { opacity: 1; transform: translateY(0); transition-delay: 0.15s; }
  .nav.open a:nth-child(3) { opacity: 1; transform: translateY(0); transition-delay: 0.2s; }
  .nav.open a:nth-child(4) { opacity: 1; transform: translateY(0); transition-delay: 0.25s; }
  .nav.open a:nth-child(5) { opacity: 1; transform: translateY(0); transition-delay: 0.3s; }
  .nav.open a:nth-child(6) { opacity: 1; transform: translateY(0); transition-delay: 0.35s; }

  .nav a {
    font-size: 1.3rem;
    letter-spacing: 2px;
  }

  .nav-toggle {
    display: flex;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .section {
    padding: 4rem 0;
  }

  .section-header h2 {
    font-size: 1.8rem;
  }

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

  .heritage-image {
    order: -1;
  }

  .heritage-image img {
    height: 350px;
  }

  .heritage-content h2 {
    font-size: 2rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

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

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

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

  .menu-items {
    grid-template-columns: 1fr;
  }

  .menu-hero h1 {
    font-size: 2.5rem;
  }

  .menu-filter {
    top: 60px;
    padding: 1rem 0;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .halal-banner .container {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1.25rem;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .logo {
    font-size: 1.4rem;
  }

  .menu-hero h1 {
    font-size: 2rem;
  }

  .heritage-badge {
    font-size: 1.2rem;
    padding: 0.75rem 1rem;
  }
}
