/* ===================================
   BURGER EZIWOOMA - PREMIUM STANDARD
   Balanced International Design
   =================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;500;600;700&family=Montserrat:wght@300;400;500;600;700&family=Philosopher:wght@400;700&display=swap');

/* =============== ROOT VARIABLES =============== */
:root {
  --primary-gold: #C9A961;
  --dark-gold: #B8935E;
  --accent-brown: #6B4423;
  --deep-brown: #2C1810;
  --cream: #FFF8E7;
  --off-white: #FAFAF8;
  --text-dark: #2C2416;
  --text-gray: #6B6B6B;
  
  --font-heading: 'Cormorant Garamond', serif;
  --font-body: 'Montserrat', sans-serif;
  --font-accent: 'Philosopher', sans-serif;
  
  /* Balanced Spacing (International Standard) */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2.5rem;
  --spacing-xl: 4rem;
  
  --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.06);
  --shadow-medium: 0 8px 30px rgba(0, 0, 0, 0.08);
  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* =============== GLOBAL RESET =============== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--off-white);
  line-height: 1.6;
  font-size: 15px; /* Restored to standard readable size */
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--off-white);
}

::-webkit-scrollbar-thumb {
  background: var(--primary-gold);
  border-radius: 10px;
}

/* =============== NAVIGATION =============== */
.navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-soft);
  padding: 0.8rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: var(--transition);
}

.navbar-brand {
  font-family: var(--font-accent);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--deep-brown);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.navbar-brand:hover {
  color: var(--primary-gold);
}

.navbar-toggler {
  border: none;
  padding: 0.5rem;
  font-size: 1.2rem;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-nav {
  gap: 0.5rem;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-dark);
  padding: 0.5rem 1rem;
  border-radius: 25px;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.nav-link i {
  font-size: 1.1rem;
}

.nav-link:hover {
  background: linear-gradient(135deg, rgba(201, 169, 97, 0.1), rgba(184, 147, 94, 0.15));
  color: var(--primary-gold);
  transform: translateY(-1px);
}

.nav-link.active {
  background: linear-gradient(135deg, rgba(201, 169, 97, 0.15), rgba(184, 147, 94, 0.2));
  color: var(--primary-gold);
}

/* =============== HERO SECTION =============== */
.hero {
  background: linear-gradient(135deg, var(--cream) 0%, #FEFBF3 100%);
  padding-top: 4.5rem; /* Optimized for tight navbar fit */
  padding-bottom: 2rem;
  position: relative;
  overflow: hidden;
  min-height: auto;
  display: flex;
  align-items: center;
}

.hero::before {
  content: '🍔';
  position: absolute;
  top: 10%;
  right: 5%;
  font-size: 4rem;
  opacity: 0.04;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

.hero-content h1 {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--deep-brown);
  margin-bottom: var(--spacing-xs);
  line-height: 1.1;
}

.hero-content h1 .highlight {
  color: var(--primary-gold);
  position: relative;
}

.hero-tagline {
  font-size: 1.2rem;
  color: var(--accent-brown);
  margin-bottom: var(--spacing-sm);
  font-style: italic;
}

.hero-description {
  font-size: 1rem;
  color: var(--text-dark);
  margin-bottom: var(--spacing-md);
  line-height: 1.6;
  max-width: 500px;
}

.hero-buttons {
  display: flex;
  gap: var(--spacing-sm);
  flex-wrap: wrap;
  margin-bottom: var(--spacing-md);
}

.btn {
  padding: 0.8rem 1.8rem;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 30px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
  border: 2px solid transparent;
  cursor: pointer;
  letter-spacing: 0.5px;
}

.btn i {
  font-size: 1.1rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-gold), var(--dark-gold));
  color: white;
  box-shadow: 0 4px 15px rgba(201, 169, 97, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(201, 169, 97, 0.4);
}

.btn-outline {
  border-color: var(--accent-brown);
  color: var(--accent-brown);
  background: transparent;
}

.btn-outline:hover {
  background: var(--accent-brown);
  color: white;
  transform: translateY(-3px);
}

.hero-stats {
  display: flex;
  gap: var(--spacing-lg);
  flex-wrap: wrap;
  margin-top: var(--spacing-md);
  border-top: 1px solid rgba(107, 68, 35, 0.1);
  padding-top: var(--spacing-md);
}

.stat-item {
  text-align: left;
}

.stat-item h3 {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--primary-gold);
  margin-bottom: 0.2rem;
  font-weight: 700;
}

.stat-item p {
  font-size: 0.85rem;
  color: var(--accent-brown);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-image {
  position: relative;
  padding: 0;
  display: flex;
  justify-content: center;
}

.hero-image img {
  border-radius: 20px;
  box-shadow: var(--shadow-medium);
  width: 55%; /* Reduced size */
  height: auto;
  object-fit: cover;
  transform: perspective(1000px) rotateY(-5deg);
  transition: var(--transition);
}

.hero-image:hover img {
  transform: perspective(1000px) rotateY(0deg);
}

.hero-image::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 2px solid var(--primary-gold);
  border-radius: 24px;
  opacity: 0.3;
  pointer-events: none;
  transform: translate(20px, 20px);
  z-index: -1;
}

/* =============== SECTIONS =============== */
section {
  padding: var(--spacing-xl) 0;
}

.section-title {
  text-align: center;
  margin-bottom: var(--spacing-lg);
}

.section-title h2 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--deep-brown);
  margin-bottom: var(--spacing-xs);
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-gold), var(--dark-gold));
  border-radius: 2px;
}

.section-title p {
  font-size: 1rem;
  color: var(--accent-brown);
  font-style: italic;
  margin-top: var(--spacing-sm);
}

/* =============== ABOUT SECTION =============== */
.about {
  background: white;
  position: relative;
}

.about-image-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 1rem;
}

.about-img {
  width: 75%; /* Reduced size */
  border-radius: 30px;
  box-shadow: var(--shadow-medium);
  border: 4px solid white;
  transition: var(--transition);
}

.about-image-wrapper:hover .about-img {
  transform: scale(1.02);
}

.about-badge {
  position: absolute;
  bottom: 10%;
  right: 15%;
  background: var(--primary-gold);
  color: white;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-family: var(--font-heading);
  box-shadow: var(--shadow-soft);
  border: 3px solid white;
  animation: float 4s ease-in-out infinite;
}

.about-content p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-dark);
  margin-bottom: var(--spacing-md);
}

.about-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--spacing-md);
  margin-top: var(--spacing-md);
}

.feature-item {
  text-align: center;
  padding: var(--spacing-md);
  background: var(--off-white);
  border-radius: 15px;
  transition: var(--transition);
  border: 1px solid transparent;
}

.feature-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-soft);
  background: white;
  border-color: rgba(201, 169, 97, 0.2);
}

.feature-item i {
  font-size: 2rem;
  color: var(--primary-gold);
  margin-bottom: 0.5rem;
}

.feature-item h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
  color: var(--deep-brown);
}

.feature-item p {
  font-size: 0.85rem;
  color: var(--accent-brown);
  line-height: 1.5;
}

/* =============== MENU SECTION - BEAUTIFIED =============== */
.menu {
  background: linear-gradient(to bottom, var(--off-white), #fff);
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: var(--spacing-lg);
}

.menu-card {
  background: white;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.04);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  height: auto;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(0,0,0,0.03);
  position: relative;
}

.menu-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(201, 169, 97, 0.15);
  border-color: rgba(201, 169, 97, 0.3);
}

.menu-image {
  position: relative;
  height: 200px;
  overflow: hidden;
  border-radius: 24px 24px 0 0;
}

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

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

.menu-overlay {
  position: absolute;
  top: 15px;
  right: 15px;
  bottom: auto;
  left: auto;
  background: transparent;
  padding: 0;
  opacity: 1;
  z-index: 2;
}

.menu-overlay .btn-add-cart {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: white;
  color: var(--deep-brown);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  padding: 0;
  transition: var(--transition);
}

.menu-overlay .btn-add-cart:hover {
  background: var(--primary-gold);
  color: white;
  transform: scale(1.1);
}

.menu-content {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
}

.menu-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--deep-brown);
  margin-bottom: 0.5rem;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.menu-description {
  font-size: 0.9rem;
  color: var(--text-gray);
  margin-bottom: 1.2rem;
  line-height: 1.5;
  font-weight: 400;
}

.menu-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px dashed rgba(0,0,0,0.1);
}

.menu-price {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary-gold);
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.menu-price small {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-gray);
  font-family: var(--font-body);
}

.btn-order {
  background: var(--deep-brown);
  color: white;
  border: none;
  padding: 0.6rem 1.2rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(44, 24, 16, 0.2);
}

.btn-order:hover {
  background: var(--primary-gold);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201, 169, 97, 0.3);
}

/* Featured Card Special Styling */
.menu-card.featured {
  border: 2px solid var(--primary-gold);
  transform: scale(1.02);
}

.menu-card.featured:hover {
  transform: scale(1.05) translateY(-10px);
}

.featured-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--primary-gold);
  color: white;
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  z-index: 2;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* =============== SERVICES SECTION - STUNNING =============== */
.services {
  background: white;
  position: relative;
  overflow: hidden;
}

.services::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 90% 10%, rgba(201, 169, 97, 0.05) 0%, transparent 40%);
  pointer-events: none;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  margin-top: var(--spacing-lg);
}

.service-card {
  text-align: center;
  padding: 3rem 2rem;
  background: white;
  border-radius: 24px;
  transition: all 0.4s ease;
  border: 1px solid rgba(0,0,0,0.03);
  position: relative;
  z-index: 1;
}

.service-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.08);
  border-color: transparent;
}

.service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-gold), var(--dark-gold));
  transform: scaleX(0);
  transition: transform 0.4s ease;
  transform-origin: center;
}

.service-card:hover::after {
  transform: scaleX(1);
}

.service-icon {
  width: 80px;
  height: 80px;
  background: var(--off-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  color: var(--primary-gold);
  font-size: 2rem;
  box-shadow: inset 0 0 20px rgba(0,0,0,0.03);
}

.service-card:hover .service-icon {
  background: var(--primary-gold);
  color: white;
  transform: scale(1.1) rotate(10deg);
  box-shadow: 0 10px 25px rgba(201, 169, 97, 0.4);
}

.service-icon img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  transition: var(--transition);
}

.service-card:hover .service-icon img {
  filter: brightness(0) invert(1);
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 0.8rem;
  color: var(--deep-brown);
  font-weight: 700;
}

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

/* =============== PHILOSOPHY SECTION =============== */
.philosophy {
  background: var(--cream);
  text-align: center;
  position: relative;
}

.philosophy-content {
  max-width: 800px;
  margin: 0 auto;
}

.philosophy-content p {
  font-size: 1.1rem;
  font-style: italic;
  color: var(--accent-brown);
  line-height: 1.8;
  margin-bottom: var(--spacing-sm);
}

.philosophy-signature {
  font-family: var(--font-accent);
  font-size: 1.5rem;
  color: var(--primary-gold);
  margin-top: var(--spacing-md);
}

/* =============== CTA SECTION - COMPACT =============== */
.cta-section {
  background: linear-gradient(135deg, var(--deep-brown) 0%, var(--accent-brown) 100%);
  color: white;
  text-align: center;
  padding: 2rem 0; /* Compact padding */
  margin: 2rem 0;
  border-radius: 20px;
}

.cta-title {
  font-family: var(--font-heading);
  font-size: 1.5rem; /* Reduced size */
  color: white;
  margin-bottom: 0.5rem;
}

.cta-text {
  font-size: 0.9rem;
  margin-bottom: 1rem;
  opacity: 0.9;
}

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

/* =============== UNIFIED FOOTER & CONTACT - ULTRA COMPACT =============== */
.footer-contact-wrapper {
  background: linear-gradient(to right, #1A0F0A, #2C1810);
  color: white;
  padding: 1.5rem 0 1rem; /* 50% reduction */
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(201, 169, 97, 0.2);
}

.footer-contact-wrapper::before {
  display: none; /* Remove top bar for cleaner look */
}

/* Compact Section Title for Footer */
.footer-contact-wrapper .section-title {
  margin-bottom: 1.5rem;
}

.footer-contact-wrapper .section-title h2 {
  font-size: 1.4rem; /* Reduced by ~50% */
  margin-bottom: 0.2rem;
}

.footer-contact-wrapper .section-title h2::after {
  width: 30px; /* Reduced width */
  bottom: -5px;
}

.footer-contact-wrapper .section-title p {
  font-size: 0.85rem;
  margin-top: 0.3rem;
}

.footer-contact-wrapper .section-subtitle {
  font-size: 0.8rem;
  letter-spacing: 1px;
}

.contact-grid {
  display: flex; /* Horizontal layout for compactness */
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 1.5rem;
}

.contact-card {
  background: transparent; /* Remove card background */
  padding: 0;
  border: none;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  transition: var(--transition);
}

.contact-card:hover {
  background: transparent;
  transform: translateY(-2px);
  opacity: 0.8;
}

.contact-icon {
  width: 32px; /* Tiny icon */
  height: 32px;
  background: rgba(201, 169, 97, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  font-size: 1rem;
  color: var(--primary-gold);
}

.contact-card h3 {
  display: none; /* Hide titles for ultra-compact look */
}

.contact-card p {
  font-size: 0.8rem;
  opacity: 0.9;
  line-height: 1.2;
  margin-bottom: 0;
  color: #e0e0e0;
}

.footer-bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-brand {
  font-family: var(--font-accent);
  font-size: 1.1rem;
  color: white;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.footer-social {
  display: flex;
  gap: 0.6rem;
}

.social-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: var(--transition);
  font-size: 0.9rem;
}

.social-btn:hover {
  background: var(--primary-gold);
  color: var(--deep-brown);
}

.copyright {
  font-size: 0.7rem;
  opacity: 0.5;
}

/* =============== ANIMATIONS =============== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =============== RESPONSIVE DESIGN =============== */
@media (max-width: 991px) {
  .hero-content h1 {
    font-size: 2.8rem;
  }
  
  .section-title h2 {
    font-size: 2rem;
  }
  
  .menu-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  }
}

@media (max-width: 767px) {
  .hero {
    text-align: center;
    padding-top: 6rem;
  }

  .hero-content h1 {
    font-size: 2.2rem;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .hero-stats {
    justify-content: center;
    border-top: none;
  }
  
  .footer-bottom-row {
    flex-direction: column;
    text-align: center;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* =============== UTILITIES =============== */
.text-gold {
  color: var(--primary-gold);
}

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