:root {
    /* Colors - Ramiz Light Creamy Theme */
    --clr-bg: #FAF7F2;         /* Creamy Background */
    --clr-bg-alt: #F5F0E8;     /* Slightly Darker Cream */
    --clr-bg-deep: #EBE4D8;    /* Deep Cream for Cards */
    --clr-primary: #0B5945;    /* Brand Green */
    --clr-primary-glow: rgba(11, 89, 69, 0.3); /* Brand glow */
    --clr-accent: #D4AF37;     /* Gold Accent */
    --clr-text: #1A1A1A;       /* Main Text (Almost Black) */
    --clr-text-light: #4A4A4A; /* Secondary Text (Dark Gray) */
    --clr-white: #FFFFFF;
    --clr-black: #000000;
    
    /* Glassmorphism for Light Theme */
    --glass: rgba(255, 255, 255, 0.6);
    --glass-border: rgba(11, 89, 69, 0.15);
    --glass-blur: blur(12px);
    
    /* Typography */
    --ff-heading: 'Playfair Display', serif;
    --ff-body: 'Inter', sans-serif;
    
    /* Spacing */
    --container-width: 1200px;
    --section-padding: 100px 0;
    
    /* Shadows for Light Theme */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
    
    /* Transitions */
    --transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--ff-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--clr-text);
  background-color: var(--clr-bg);
  overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
  font-family: var(--ff-heading);
  font-weight: 700;
  line-height: 1.2;
}

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

ul {
  list-style: none;
}

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

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: var(--section-padding);
}

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

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 32px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 0;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary {
    background-color: var(--clr-primary);
    color: var(--clr-white);
    border: 1px solid var(--clr-primary);
    min-height: 44px; /* Ensure thumb-friendly touch target */
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary:hover {
    background-color: var(--clr-text);
    border-color: var(--clr-text);
    color: var(--clr-bg);
}

.btn-outline {
    background-color: transparent;
    color: var(--clr-text);
    border: 1px solid var(--clr-text);
    min-height: 44px; /* Ensure thumb-friendly touch target */
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-outline:hover {
    background-color: var(--clr-primary);
    border-color: var(--clr-primary);
    color: var(--clr-white);
}

/* Base Placeholder Style */
.placeholder {
  background: linear-gradient(135deg, #e0e0e0 25%, #f0f0f0 50%, #e0e0e0 75%);
  background-size: 200% 200%;
  animation: loading 2s infinite;
}

@keyframes loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

/* Header & Nav */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 24px 0;
  transition: var(--transition);
  background-color: var(--clr-primary); /* New green background */
}

.header.scrolled {
    background-color: var(--clr-primary);
    backdrop-filter: var(--glass-blur);
    padding: 16px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

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

.logo img {
  height: 48px;
  width: auto;
  transition: var(--transition);
}

.scrolled .logo img {
  height: 40px;
}

.nav-list {
  display: flex;
  gap: 40px;
}

.nav-link {
  font-weight: 500;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  color: var(--clr-bg); /* Creamy text on green background */
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background-color: var(--clr-accent); /* Gold indicator on green background */
  transition: var(--transition);
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Language Switcher */
.lang-switcher {
    margin-right: 15px;
}

.lang-btn {
    background: none;
    border: 1px solid rgba(250, 247, 242, 0.3);
    color: var(--clr-bg);
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    border-radius: 4px;
    min-height: 44px; /* Improved touch target */
    min-width: 44px; /* Improved touch target */
}

.lang-btn:hover {
    background-color: var(--clr-primary);
    border-color: var(--clr-primary);
    color: var(--clr-white);
}

.scrolled .lang-btn {
    border-color: var(--clr-bg-deep);
}

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background-color: var(--clr-bg-dark);
  color: var(--clr-white);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

.hero-bg video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 56.25vw; /* 16:9 aspect ratio */
  min-height: 100vh;
  min-width: 177.77vh; /* 16:9 aspect ratio */
  transform: translate(-50%, -50%);
  pointer-events: none;
  object-fit: cover;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(250,247,242,0.75) 0%, rgba(250,247,242,0.85) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.hero-title {
  font-size: clamp(48px, 10vw, 96px);
  margin-bottom: 24px;
  line-height: 1;
}

.hero-title span {
  color: var(--clr-primary);
  font-style: italic;
}

.hero-tagline {
  font-size: 20px;
  margin-bottom: 40px;
  color: var(--clr-text-light);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-btns {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.hero .btn-outline {
  padding: 16px 40px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--clr-primary);
  border: 2px solid var(--clr-primary);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.hero .btn-outline:hover {
  background: var(--clr-primary);
  color: var(--clr-white);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 25px rgba(11, 89, 69, 0.3);
}

.hero .btn-primary {
  background-color: var(--clr-primary);
  border-color: var(--clr-primary);
}

.hero .btn-primary:hover {
  background-color: var(--clr-white);
  border-color: var(--clr-white);
  color: var(--clr-black);
}

/* Highlights */
.section {
  padding: var(--section-padding);
}

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

.section-title {
  font-family: var(--ff-heading);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--clr-text);
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 18px;
  color: var(--clr-text-light);
  max-width: 600px;
  margin: 0 auto;
}

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

.highlight-card {
    background: var(--clr-white);
    padding: 0;
    transition: var(--transition);
    border: 1px solid rgba(11, 89, 69, 0.1);
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-sm);
}

.highlight-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--clr-primary);
}

.card-img {
    height: 350px;
    width: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.8s ease;
}

.highlight-card:hover .card-img {
    transform: scale(1.1);
}

.card-content {
    padding: 32px;
    background: var(--clr-white);
}

.card-content h3 {
    font-size: 24px;
    margin-bottom: 12px;
    color: var(--clr-text);
    font-weight: 600;
}

.card-content p {
    color: var(--clr-text-light);
    font-size: 15px;
    line-height: 1.4;
}

/* Reveal Animation */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 1.2s ease,
    transform 1.2s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  min-height: 44px; /* Touch target */
  min-width: 44px; /* Touch target */
  justify-content: center;
  align-items: center;
}

.mobile-toggle span {
  width: 30px;
  height: 2px;
  background-color: var(--clr-bg);
  transition: var(--transition);
}

.hero .mobile-toggle span {
  background-color: var(--clr-white);
}

/* Media Queries */
@media (max-width: 992px) {
  .nav-list {
    position: fixed;
    top: 0;
    right: 0;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background-color: var(--clr-primary);
    padding: 100px 40px;
    z-index: 999;
    box-shadow: -10px 0 30px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    gap: 32px;
    align-items: flex-start;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
  }
  .mobile-toggle {
    display: flex;
    position: relative;
    z-index: 1000;
  }
  .highlight-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .highlight-grid {
    grid-template-columns: 1fr;
  }
  .hero-title {
    font-size: 42px;
  }
  .hero-btns {
    flex-direction: column;
  }
}

/* Menu Section Styles */
.menu-section {
    background-color: var(--clr-bg-deep);
}

.menu-tabs {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.tab-btn {
    background: none;
    border: none;
    font-family: var(--ff-body);
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--clr-text-light);
    cursor: pointer;
    padding: 10px 0;
    position: relative;
    transition: var(--transition);
}

.tab-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--clr-primary);
    transition: var(--transition);
}

.tab-btn.active {
    color: var(--clr-text);
}

.tab-btn.active::after {
    width: 100%;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 80px;
}

.menu-item {
    border-bottom: 1px solid var(--glass-border);
    padding: 24px;
    background: var(--glass);
    backdrop-filter: var(--glass-blur);
    border-radius: 8px;
    transition: var(--transition);
}

.menu-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(10px);
    border-color: var(--clr-primary);
}

.menu-item-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 8px;
}

.menu-item-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--clr-text);
}

.menu-item-price {
    font-family: var(--ff-heading);
    font-weight: 700;
    color: var(--clr-accent);
    font-size: 18px;
}

.menu-item-desc {
    color: var(--clr-text-light);
    font-size: 14px;
    font-style: italic;
    opacity: 0.8;
}

.badge {
    background-color: var(--clr-primary);
    color: var(--clr-white);
    font-size: 10px;
    padding: 3px 10px;
    text-transform: uppercase;
    margin-left: 10px;
    vertical-align: middle;
    border-radius: 20px;
    letter-spacing: 1px;
}

/* About Section */
.about-section {
    background-color: var(--clr-bg);
}

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

.about-img img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    box-shadow: 20px 20px 0 var(--clr-primary);
    border: 1px solid rgba(11, 89, 69, 0.2);
    border-radius: 4px;
}

.about-img-placeholder {
    height: 600px;
    background-image: url('assets/ramiz_kofte.png');
    background-size: cover;
    background-position: center;
    box-shadow: 20px 20px 0 var(--clr-primary);
    border: 1px solid var(--glass-border);
    border-radius: 4px;
}

.about-text {
    font-size: 18px;
    color: var(--clr-text-light);
    margin: 30px 0;
    font-family: var(--ff-body);
}

.about-stats {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
}

.stat-num {
    font-family: var(--ff-heading);
    font-size: 36px;
    font-weight: 700;
    color: var(--clr-primary);
}

.stat-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--clr-text-light);
}

/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 300px;
    gap: 15px;
}

.gallery-item {
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    transition: var(--transition);
}

.gallery-item:hover {
    transform: scale(1.02);
    border-color: var(--clr-primary);
    z-index: 10;
}

.gallery-item.tall { grid-row: span 2; }
.gallery-item.wide { grid-column: span 2; }

/* Contact Section */
.contact-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 1200px;
    margin: 0 auto;
    background-color: var(--clr-bg-alt);
    box-shadow: 0 50px 100px rgba(0,0,0,0.5);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
}

.contact-info {
    padding: 60px;
    background-color: rgba(255, 255, 255, 0.02);
    color: var(--clr-text);
    text-align: left;
    border-right: 1px solid var(--glass-border);
}

.contact-info p {
    color: var(--clr-text-light);
    margin: 24px 0 48px;
    font-size: 16px;
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-bottom: 48px;
}

.info-item {
    display: flex;
    gap: 24px;
    align-items: center;
    text-align: left;
}

.info-icon { 
    font-size: 20px; 
    color: var(--clr-accent); 
    width: 48px;
    height: 48px;
    background: var(--glass);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.info-item h5 { font-size: 14px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 4px; color: var(--clr-text-light); }
.info-item p { margin: 0; font-size: 18px; color: var(--clr-text); font-family: var(--ff-heading); }

.contact-btns {
    display: flex;
    gap: 20px;
    justify-content: flex-start;
}

.contact-map {
    width: 100%;
    min-height: 400px;
    line-height: 0;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    filter: grayscale(0.2) contrast(1.1);
    transition: var(--transition);
}

.contact-map:hover iframe {
    filter: grayscale(0);
}

.w-100 { width: 100%; }

/* Map Section */
.map-placeholder {
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #eee;
}

.map-label {
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #999;
}

/* Footer */
.footer {
    padding: 80px 0 40px;
    background-color: var(--clr-primary);
    color: var(--clr-bg);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(250, 247, 242, 0.1);
    margin-bottom: 40px;
}

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

.footer-nav a {
    color: var(--clr-bg);
    font-size: 15px;
    font-weight: 500;
    transition: var(--transition);
}

.footer-nav a:hover {
    color: var(--clr-accent);
}

.social-links {
    display: flex;
    gap: 30px;
}

.social-links a {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--clr-bg);
}

.social-links a:hover {
    color: var(--clr-accent);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: rgba(250, 247, 242, 0.7);
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: rgba(250, 247, 242, 0.7);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--clr-bg);
}

.mt-60 { margin-top: 60px; }

/* Map Section */
.map-section {
    padding-top: 0;
}

.map-container {
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--clr-bg-deep);
    line-height: 0;
}

.map-container iframe {
    width: 100%;
    filter: grayscale(0.2) contrast(1.1);
    transition: var(--transition);
}

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

.container-full {
    max-width: 1400px;
}

/* Mobile Menu Styles */
.nav-list.mobile-active {
    transform: translateX(0);
}

.nav-list .nav-link {
    transition: color 0.3s ease;
}

@media (max-width: 992px) {
    .nav-list .nav-link {
        color: var(--clr-white);
        font-size: 18px;
        letter-spacing: 2px;
        padding: 10px 0; /* Increase touch target */
        display: block;
        width: 100%;
    }
    
    .nav-list .nav-link::after {
        background-color: var(--clr-accent);
    }
    
    .nav-list .nav-link:hover,
    .nav-list .nav-link.active {
        color: var(--clr-accent);
    }
}

.mobile-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

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

.mobile-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Responsive adjustments for new sections */
@media (max-width: 992px) {
    .menu-grid, .about-grid, .contact-card {
        grid-template-columns: 1fr;
    }
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .contact-info, .contact-form-container {
        padding: 40px;
    }
    .about-img-placeholder {
        height: 400px;
    }
}

/* Deep Mobile Details Fixes */
@media (max-width: 768px) {
    body {
        font-size: 15px; /* Better readability */
    }
    .section {
        padding: 60px 0;
    }
    .hero-title {
        font-size: 38px;
    }
    .hero-tagline {
        font-size: 16px;
        padding: 0 15px;
    }
    .card-img {
        height: 240px;
    }
    .about-img img {
        height: 300px;
        box-shadow: 10px 10px 0 var(--clr-primary); /* Scale down shadow on mobile */
    }
    .contact-info {
        padding: 32px 24px;
        text-align: center;
        border-right: none;
        border-bottom: 1px solid var(--glass-border);
    }
    .info-item {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    .contact-btns {
        justify-content: center;
        flex-direction: column; /* Stack buttons vertically on small screens */
        width: 100%;
    }
    .contact-btns .btn {
        width: 100%; /* Full width buttons for mobile */
    }
    .contact-map {
        min-height: 300px;
    }
    .footer-top {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    .footer-nav {
        flex-direction: column;
        gap: 20px;
    }
    .footer-nav a {
        padding: 5px; /* Touch target */
    }
    .social-links {
        justify-content: center;
        gap: 24px;
    }
    .social-links a {
        padding: 5px; /* Touch target */
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    .nav-list {
        width: 100%;
        max-width: 100%;
        padding: 100px 32px;
        align-items: center;
        text-align: center;
    }
    .nav-list .nav-link {
        font-size: 20px;
    }
    .menu-page {
        padding-top: 80px;
    }
    .category-btn {
        padding: 12px 20px;
        font-size: 14px;
        min-height: 44px; /* Touch target */
    }
    .products-grid {
        gap: 24px; /* Better spacing for cards */
    }
    .product-content {
        padding: 24px 20px;
    }
    .product-title {
        font-size: 18px;
    }
    .product-price {
        font-size: 18px;
    }
}

/* Image Modal Styles */
.image-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  padding-top: 50px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.95);
  animation: fadeIn 0.3s ease;
}

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

.modal-content {
  margin: auto;
  display: block;
  max-width: 95%;
  max-height: 90vh;
  object-fit: contain;
  animation: zoomIn 0.3s ease;
  border-radius: 8px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
}

@keyframes zoomIn {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

#modalCaption {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #fff;
  padding: 20px 0;
  font-size: 18px;
  font-weight: 500;
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 40px;
  color: #fff;
  font-size: 50px;
  font-weight: 300;
  transition: 0.3s;
  cursor: pointer;
  z-index: 10000;
}

.modal-close:hover,
.modal-close:focus {
  color: var(--clr-accent);
  transform: scale(1.1);
}

/* Make images clickable */
.product-image,
.card-img,
.gallery-item img {
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-image:hover,
.card-img:hover,
.gallery-item img:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.image-modal {
    z-index: 9999;
}
