@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,600;1,600&display=swap');

:root {
  --primary-color: #754505; /* Logo Dark Brown */
  --primary-dark: #554301;  /* Logo Deep Brown */
  --accent-color: #95c300;   /* Logo Lime Green */
  --bg-color: #fcfdfe;
  --bg-surface: #ffffff;
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Outfit', sans-serif;
  
  --radius-md: 16px;
  --radius-lg: 32px;
  --transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}


* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 15px; overflow-x: hidden; width: 100%; } 
body { 
  font-family: var(--font-body); 
  background: var(--bg-color); 
  color: var(--text-secondary); 
  line-height: 1.5;
  animation: fadeInSite 0.8s ease-out forwards;
  width: 100%;
  overflow-x: hidden;
  position: relative;
}

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

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

h1, h2, h3, h4 { color: var(--text-primary); font-family: var(--font-heading); font-weight: 600; line-height: 1.1; }
h1 { font-size: clamp(2.5rem, 5vw, 3.8rem); margin-bottom: 1.2rem; text-shadow: 0 4px 25px rgba(0,0,0,0.8); color:#fff;}
h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); margin-bottom: 1.5rem; position: relative; color: var(--primary-dark);}
p { margin-bottom: 1.2rem; font-size: 1.05rem; }
a { text-decoration: none; color: inherit; transition: var(--transition); }

/* Language Switcher */
.lang-switcher { display: flex; gap: 0.5rem; align-items: center; background: rgba(0,0,0,0.05); padding: 0.2rem; border-radius: 50px; margin-left: 1rem;}
.lang-btn { background: transparent; border: none; font-family: var(--font-body); font-weight: 600; font-size: 0.9rem; padding: 0.4rem 0.8rem; border-radius: 50px; cursor: pointer; color: var(--text-secondary); transition: var(--transition);}
.lang-btn.active { background: var(--text-primary); color: #fff; box-shadow: 0 2px 10px rgba(0,0,0,0.1);}

/* Buttons */
.btn {
  display: inline-flex; justify-content: center; align-items: center;
  padding: 1rem 2.8rem; background: var(--primary-color); color: #fff;
  font-family: var(--font-body); font-weight: 600; font-size: 1.1rem;
  border-radius: 50px; border: 1px solid transparent; cursor: pointer;
  box-shadow: 0 6px 20px rgba(217, 119, 6, 0.3); transition: var(--transition);
}
.btn:hover { background: var(--primary-dark); transform: translateY(-3px); box-shadow: 0 10px 25px rgba(217, 119, 6, 0.4); }
.btn-outline { background: rgba(255,255,255,0.1); color: #fff; border: 1px solid rgba(255,255,255,0.5); box-shadow:none; backdrop-filter: blur(5px);}
.btn-outline:hover { background: #fff; color: var(--text-primary); }

/* Navigation */
nav {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.2rem 5%; background: rgba(255,255,255,0.92);
  backdrop-filter: blur(15px); border-bottom: 1px solid rgba(0,0,0,0.05);
  transition: var(--transition);
}
nav.scrolled { padding: 0.8rem 5%; box-shadow: 0 4px 25px rgba(0,0,0,0.08); background: rgba(255,255,255,0.98); }
.logo { display: flex; align-items: center; gap: 12px; font-family: var(--font-heading); font-size: 2rem; color: var(--primary-color); font-weight: bold; }
.logo img { height: 48px; max-width: 180px; transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); object-fit: contain; }
.logo:hover img { transform: rotate(-5deg) scale(1.1); }

.menu-toggle { display: none; flex-direction: column; gap: 6px; cursor: pointer; background:none; border:none; padding:5px; z-index: 1001; }
.menu-toggle span { display: block; width: 30px; height: 3px; background: var(--primary-color); transition: 0.3s; border-radius: 2px;}

.nav-links { display: flex; gap: 2rem; list-style: none; align-items: center; }
.nav-links a { font-weight: 500; font-family: var(--font-body); color: var(--text-primary); padding: 0.5rem 0; font-size: 1.1rem;}
.nav-links .active { color: var(--primary-color); }
.nav-links .btn-nav { padding: 0.7rem 1.8rem; background: var(--accent-color); color: #fff; border-radius: 50px; transition: var(--transition); box-shadow: 0 4px 15px rgba(149, 195, 0, 0.3);}
.nav-links .btn-nav:hover { background: var(--primary-color); transform: translateY(-2px); }

/* Language Switcher */
.lang-switcher { display: flex; align-items: center; gap: 0.5rem; }
.lang-btn { 
  background: none; border: none; font-family: var(--font-body); font-weight: 500; 
  color: var(--text-secondary); cursor: pointer; padding: 5px; transition: var(--transition);
  font-size: 0.95rem;
}
.lang-btn.active { color: var(--primary-color); font-weight: 700; border-bottom: 1px solid var(--primary-color); }
.lang-btn:hover { color: var(--primary-color); }


/* Hero Parallax - CSS Only Robust Version */
.hero-parallax {
  height: 65vh; min-height: 500px; width: 100%; position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; color: #fff; overflow: hidden;
  background-size: cover;
  background-position: center;
  background-attachment: fixed; /* Parallax effect */
}
@keyframes bgSoftZoom { 
  0% { background-size: 110%; } 
  100% { background-size: 130%; } 
}
.hero-parallax {
  margin-top: 0; /* Reset */
  padding-top: 80px; /* Account for fixed nav */
}
.hero-parallax.subpage { height: 40vh; min-height: 350px; animation: bgSoftZoom 20s ease-in-out infinite alternate; }
.hero-parallax::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.7)); 
  z-index: 1;
}
.hero-bg { display: none; } 
.hero-content { position: relative; z-index: 2; max-width: 800px; padding: 2rem 5% 0; text-align: center;}
.hero-content h1 {
  background: rgba(0,0,0,0.3);
  display: inline-block;
  padding: 0.4rem 1.4rem;
  border-radius: var(--radius-md);
  backdrop-filter: blur(5px);
  margin-bottom: 1.2rem;
  box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}
.hero-content p { font-size: 1.15rem; margin-bottom: 2rem; text-shadow: 0 2px 10px rgba(0,0,0,0.5); color:#f8fafc; font-weight: 300; line-height: 1.4;}
.hero-buttons { display: flex; gap: 1rem; justify-content: center; }


/* Generics & Layout */
.container { max-width: 1300px; margin: 0 auto; padding: 3.5rem 5%; }
.section-tag { font-family: var(--font-body); font-weight: 600; color: var(--primary-color); text-transform: uppercase; letter-spacing: 2px; margin-bottom: 0.8rem; display: block; font-size: 0.9rem;}

/* Intersection observer fade in class */
.reveal { opacity: 0; transform: translateY(30px); transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1); }
.reveal.active { opacity: 1; transform: translateY(0); }

/* Z-Pattern About Section */
.z-pattern { 
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; margin-bottom: 6rem; 
  position: relative;
}
.z-pattern::before {
  content: ''; position: absolute; width: 300px; height: 300px; 
  background: var(--accent-color); opacity: 0.03; border-radius: 50%;
  filter: blur(80px); z-index: -1; top: -50px; left: -100px;
}
.z-pattern.reverse::before { left: auto; right: -100px; }
.z-pattern.reverse { direction: rtl; }
.z-pattern.reverse > * { direction: ltr; }
/* Image Collage Effect for Z-Pattern */
.image-collage {
  position: relative; height: 500px; display: flex; align-items: center; justify-content: center;
}
.image-main {
  width: 80%; height: 90%; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.15); position: relative; z-index: 2;
  border: 1px solid rgba(255,255,255,0.1);
}
.image-sub {
  position: absolute; width: 45%; height: 50%; border-radius: var(--radius-md); overflow: hidden;
  box-shadow: 0 15px 35px rgba(0,0,0,0.2); border: 4px solid #fff; z-index: 3;
}
.sub-1 { bottom: -20px; right: -10px; }
.sub-2 { top: -20px; left: -10px; z-index: 1; }
.image-collage img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.image-collage:hover img { transform: scale(1.05); }

.z-image { display:none; } /* Deprecated in favor of image-collage */

/* Visual Category Grid */
.visual-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2.5rem; margin-top: 3rem;}
.visual-card { border-radius: var(--radius-lg); overflow: hidden; position: relative; height: 400px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); cursor:pointer;}
.visual-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s ease; }
.visual-card::after { content: ''; position: absolute; inset:0; background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.2) 60%); pointer-events: none;}
.visual-card:hover img { transform: scale(1.08); }
.visual-card-content { position: absolute; bottom: 0; left: 0; width: 100%; padding: 2.5rem; color: #fff; z-index: 2; transform: translateY(20px); transition: var(--transition);}
.visual-card:hover .visual-card-content { transform: translateY(0); }
.visual-card-content h3 { color: #fff; margin-bottom: 0.5rem; font-size: 1.8rem; }
.visual-card-content p { font-size: 1rem; margin:0; opacity: 0; transition: opacity 0.4s ease 0.1s;}
.visual-card:hover .visual-card-content p { opacity: 1; }

/* Search Bar */
.alacarte-search-wrapper {
  max-width: 600px; margin: 0 auto 2.5rem; position: relative;
}
.alacarte-search-input {
  width: 100%; padding: 1rem 1.5rem 1rem 3.5rem; border-radius: 50px;
  border: 1px solid rgba(0,0,0,0.1); background: #fff;
  font-family: var(--font-body); font-size: 1.1rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.03); transition: var(--transition);
}
.alacarte-search-input:focus {
  outline: none; border-color: var(--primary-color); box-shadow: 0 10px 25px rgba(117, 69, 5, 0.1);
}
.search-icon {
  position: absolute; left: 1.5rem; top: 50%; transform: translateY(-50%);
  font-size: 1.2rem; color: var(--text-muted); opacity: 0.7;
}

/* Reservation Form Styles */
.reservation-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.reservation-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.08) !important;
}

.form-group {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.5rem !important;
  margin-bottom: 0 !important;
}

.form-group label {
  font-family: var(--font-body) !important;
  font-weight: 600 !important;
  font-size: 0.95rem !important;
  color: var(--text-primary) !important;
  display: block !important;
  text-align: left !important;
  margin-bottom: 0.2rem !important;
}

.form-control {
  display: block !important;
  width: 100% !important;
  padding: 0.9rem 1.2rem !important;
  font-family: var(--font-body) !important;
  font-size: 1rem !important;
  color: var(--text-primary) !important;
  background-color: #f8fafc !important;
  border: 1.5px solid #e2e8f0 !important;
  border-radius: 10px !important;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1) !important;
  outline: none !important;
  box-sizing: border-box !important;
}

.form-control::placeholder {
  color: var(--text-muted) !important;
  opacity: 0.85 !important;
}

.form-control:hover {
  border-color: #cbd5e1 !important;
  background-color: #f1f5f9 !important;
}

.form-control:focus {
  outline: none !important;
  background-color: #ffffff !important;
  border-color: var(--primary-color) !important;
  box-shadow: 0 0 0 4px rgba(117, 69, 5, 0.15) !important;
}

select.form-control {
  cursor: pointer !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23475569'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 1.2rem center !important;
  background-size: 1.2rem !important;
  padding-right: 2.8rem !important;
}

input[type="date"].form-control,
input[type="time"].form-control {
  cursor: pointer !important;
}

textarea.form-control {
  resize: vertical !important;
  min-height: 120px !important;
}

/* Reservation Status Messages */
.status-message {
  padding: 1.2rem;
  border-radius: 10px;
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.4;
  text-align: left;
  animation: slideDown 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.status-message.success {
  background-color: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
}

.status-message.error {
  background-color: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Filter Tabs (A La Carte) */
.filter-tabs {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0.8rem; padding: 1rem 0; margin-bottom: 2rem;
  position: sticky; top: 75px; z-index: 900; background: rgba(252, 253, 254, 0.95); backdrop-filter: blur(10px);
  border-bottom: 2px solid rgba(0,0,0,0.03); margin-top: -1rem;
}
.filter-btn {
  background: var(--bg-surface); border: 1px solid rgba(0,0,0,0.05); padding: 0.6rem 1.4rem; font-size: 1rem;
  font-family: var(--font-body); font-weight: 500; color: var(--text-secondary);
  cursor: pointer; position: relative; transition: var(--transition); border-radius: 50px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.02);
}
.filter-btn:hover { background: var(--primary-color); color: #fff; transform: translateY(-2px);}
.filter-btn.active { background: var(--primary-color); color: #fff; box-shadow: 0 4px 15px rgba(117, 69, 5, 0.3); }

/* FINE DINING LUNCH LAYOUT */
.lunch-menu-container {
  max-width: 900px; margin: 0 auto;
  border: 1px solid rgba(0,0,0,0.08); padding: 2.5rem;
  border-radius: var(--radius-md); background: #fafaf9; 
  box-shadow: inset 0 0 20px rgba(0,0,0,0.01), 0 10px 40px rgba(0,0,0,0.03);
}
.lunch-day-block {
  margin-bottom: 3rem; position: relative; padding-bottom: 1.5rem;
}
.lunch-day-block::after {
  content: ''; position: absolute; bottom: 0; left: 20%; right: 20%; height: 1px;
  background: linear-gradient(to right, transparent, rgba(0,0,0,0.1), transparent);
}
.lunch-day-block:last-child { margin-bottom: 0; border-bottom: none;}
.lunch-day-block:last-child::after { display: none; }
.lunch-day-title {
  text-align: center; color: var(--primary-dark); font-size: 1.8rem;
  font-family: var(--font-heading); margin-bottom: 1.5rem; letter-spacing: 1.5px;
}

.fine-dining-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 3rem 4rem;
}
.menu-entry { display: flex; flex-direction: column; }
.menu-entry-header { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 1px dotted rgba(0,0,0,0.2); margin-bottom: 0.5rem; padding-bottom: 0.2rem;}
.menu-entry-header h4 { font-size: 1.15rem; font-family: var(--font-heading); color: var(--text-primary); margin:0;}
.menu-entry-price { font-weight: 700; color: var(--primary-color); }
.menu-entry-desc { font-size: 0.95rem; font-style: italic; color: #64748b; margin-bottom: 0.5rem;}


/* A La Carte Grid Layout */
.menu-section { display: none; opacity: 0; transition: opacity 0.4s ease; }
.menu-section.active { display: block; opacity: 1; animation: fadeInMenu 0.5s ease forwards; }

@keyframes fadeInMenu {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.menu-section-header { display: flex; align-items: center; gap: 1.5rem; margin-bottom: 2rem; flex-wrap: wrap;}
.menu-section-header h2 { margin: 0; font-size: 2.2rem; color: var(--text-primary); }
.menu-section-img { height: 100px; width: 100px; border-radius: 50%; object-fit: cover; box-shadow: 0 10px 20px rgba(0,0,0,0.1); }

.dish-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.2rem; }
.alacarte-item {
  background: var(--bg-surface); padding: 1.2rem; border-radius: var(--radius-md);
  box-shadow: 0 2px 10px rgba(0,0,0,0.02); border: 1px solid rgba(0,0,0,0.04); transition: var(--transition);
  display: flex; flex-direction: column; justify-content: space-between;
}
.alacarte-item:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0,0,0,0.06); border-color: var(--accent-color);}
.alacarte-header { display: flex; justify-content: space-between; gap: 0.8rem; align-items: baseline; border-bottom: 1px dashed rgba(0,0,0,0.08); padding-bottom: 0.6rem; margin-bottom: 0.8rem;}
.alacarte-header h3 { font-size: 1.15rem; margin: 0; font-weight: 600;}
.dish-price { font-family: var(--font-heading); font-size: 1.15rem; color: var(--primary-color); font-weight: bold; }
.alacarte-item p { margin-bottom: 0.5rem; font-size: 0.95rem; line-height: 1.4; color: var(--text-secondary);}

/* Tags */
.tags { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: auto;}
.tag { font-size: 0.8rem; font-weight: 600; padding: 0.3rem 0.8rem; border-radius: 50px; font-style: normal; font-family: var(--font-body);}
.tag-g { background: #dcfce7; color: #166534; }
.tag-l { background: #e0e7ff; color: #3730a3; }
.tag-v { background: #fef9c3; color: #854d0e; }
.tag-spicy { background: #fee2e2; color: #991b1b; }

/* Footer */
footer { background: var(--text-primary); color: #cbd5e1; padding: 3.5rem 5% 1.5rem; margin-top: 4rem; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 3rem; max-width: 1400px; margin: 0 auto; }
.footer-grid h4 { color: #fff; font-size: 1.2rem; margin-bottom: 1.2rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); text-align: center; margin-top: 3.5rem; padding-top: 1.5rem; font-size: 0.9rem;}
.footer-bottom a { color: var(--accent-color); font-weight: 600; }
.footer-bottom a:hover { color: #fff; }

/* Mobile Optimization */
@media (max-width: 900px) {
  .z-pattern { grid-template-columns: 1fr; gap: 3rem; margin-bottom: 5rem;}
  .z-pattern.reverse { direction: ltr; }
  .menu-section-header { text-align: center; justify-content: center; }
  .fine-dining-grid { grid-template-columns: 1fr; gap: 2rem; }
  .lunch-menu-container { padding: 2rem; }
}

@media (max-width: 960px) {
  .menu-toggle { 
    display: flex; 
    position: absolute; 
    right: 20px; 
    top: 50%; 
    transform: translateY(-50%); 
    z-index: 2000;
    padding: 10px;
  }
  .menu-toggle span { 
    background: #754505 !important; 
    width: 28px; 
    height: 3px; 
    margin: 2px 0;
  }
  .logo img { max-height: 40px; max-width: 130px; }
  .nav-links {
    position: absolute; top: 100%; left: 0; width: 100%; background: #ffffff;
    flex-direction: column; gap: 0; padding: 0 5%; max-height: 0; overflow: hidden;
    transition: max-height 0.4s ease; box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    z-index: 1500;
  }
  .nav-links.active { max-height: 100vh; padding-bottom: 2rem; border-bottom: 3px solid var(--primary-color);}
  .nav-links a { display: block; padding: 1.2rem 0; width: 100%; border-bottom: 1px solid rgba(0,0,0,0.05); color: #333;}
  .nav-links .btn-nav { margin: 1.5rem 0; width: 100%; text-align: center; background: var(--accent-color); color:#fff;}
}

@media (max-width: 768px) {
  h1 { font-size: 2.2rem; }
  .hero-buttons { flex-direction: column; width: 100%; }
  .btn { width: 100%; }
  
  .filter-tabs { padding-bottom: 1rem; justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; -webkit-overflow-scrolling: touch; }
  .filter-tabs::-webkit-scrollbar { display: none; }
  .filter-btn { white-space: nowrap; }
}
/* Floating Moving Order Button - Redesigned & Smaller */
.floating-order-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 99999;
  padding: 0.8rem 1.6rem; 
  background: var(--accent-color);
  color: #fff;
  border-radius: 50px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem; 
  box-shadow: 0 10px 40px rgba(149, 195, 0, 0.45);
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  animation: floatBounce 4s ease-in-out infinite;
  border: 1px solid rgba(255,255,255,0.3);
  backdrop-filter: blur(8px);
}
.floating-order-btn:hover {
  background: var(--primary-color);
  color: #fff;
  transform: scale(1.1) translateY(-8px);
  box-shadow: 0 20px 50px rgba(117, 69, 5, 0.5);
}
.floating-order-icon { font-size: 1.2rem; }

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

@media (max-width: 768px) {
  .hero-parallax { background-attachment: scroll; height: 50vh; }
  .floating-order-btn {
    bottom: 2rem;
    right: 1.5rem;
    padding: 0.8rem 1.4rem;
    font-size: 0.9rem;
    z-index: 100000;
  }
}

/* Infinite Gallery Ticker */
.gallery-ticker-wrapper { 
  overflow: hidden; 
  width: 100vw; 
  position: relative; 
  left: 50%; 
  right: 50%; 
  margin-left: -50vw; 
  margin-right: -50vw;
  padding: 1.5rem 0; 
  mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}
.ticker-track { 
  display: flex; 
  gap: 1.2rem; 
  width: max-content; 
  padding: 0.5rem 0;
}
.ticker-item { 
  width: 250px; 
  height: 300px; 
  border-radius: var(--radius-md); 
  background-size: cover; 
  background-position: center; 
  flex-shrink: 0; 
  transition: var(--transition); 
  border: 1px solid rgba(0,0,0,0.05); 
  box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}
.ticker-item:hover { 
  transform: scale(1.04) translateY(-5px); 
  box-shadow: 0 15px 40px rgba(0,0,0,0.15); 
  z-index: 10; 
  cursor: pointer; 
  border-color: var(--accent-color); 
}
.track-1 { animation: scrollLeft 60s linear infinite; margin-bottom: 1.2rem; }
.track-2 { animation: scrollRight 60s linear infinite; }

@keyframes scrollLeft { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
@keyframes scrollRight { 0% { transform: translateX(-50%); } 100% { transform: translateX(0); } }

.ticker-track:hover { animation-play-state: paused; }

/* ==========================================================================
   MOBILE OPTIMIZATION (FINAL CUMULATIVE REVISION)
   ========================================================================== */
@media (max-width: 991px) {
  /* Ensure the Hamburger Toggle is ALWAYS Visible */
  .menu-toggle { 
    display: flex !important; 
    position: absolute !important; 
    right: 25px !important; 
    top: 50% !important; 
    transform: translateY(-50%) !important; 
    z-index: 99999 !important;
    flex-direction: column; 
    gap: 5px; 
    cursor: pointer;
    background: #754505 !important; /* Button background mask */
    padding: 10px;
    border-radius: 6px;
    border: none;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  }
  .menu-toggle span { 
    background: #ffffff !important; /* White bars on brown background button */
    display: block;
    width: 24px; 
    height: 3px; 
    border-radius: 2px;
    transition: 0.3s;
  }
  
  /* Ensure logo stays compact */
  .logo img { max-height: 38px !important; max-width: 120px !important; }

  .nav-links {
    position: absolute; top: 100%; left: 0; width: 100%; 
    background: #ffffff !important;
    display: flex; flex-direction: column; 
    max-height: 0; overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1); 
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
    z-index: 99998;
    padding: 0 5%;
  }
  .nav-links.active { max-height: 100vh; padding-top: 1rem; padding-bottom: 2.5rem; border-bottom: 4px solid var(--primary-color);}
  .nav-links a { display: block; border-bottom: 1px solid rgba(0,0,0,0.05); color: #333 !important; font-size: 1.2rem; padding: 1.2rem 0; width: 100%;}
  .nav-links .btn-nav { 
    margin-top: 1.5rem; background: var(--accent-color) !important; color: #fff !important; 
    text-align: center; border-radius: 50px; padding: 1.2rem; display: block;
  }
}

@media (max-width: 768px) {
  /* Fixing the Half-Seen Button */
  .floating-order-btn {
    bottom: 3rem !important; /* Increased significantly for mobile toolbar clearance */
    right: 1.5rem !important;
    padding: 0.9rem 1.6rem !important;
    font-size: 0.95rem !important;
    z-index: 1000000 !important; /* Above everything */
    box-shadow: 0 15px 45px rgba(117, 69, 5, 0.6) !important;
  }
  .hero-parallax { background-attachment: scroll; height: 55vh; }
  .ticker-item { width: 180px; height: 220px; }
  .track-1, .track-2 { animation-duration: 40s; }

  /* ultra-compact mobile footer redesign */
  footer { 
    padding: 2rem 5% 4.5rem !important; 
    margin-top: 1.5rem !important; 
    background: #0a0f1a !important; 
  }
  
  .footer-grid { 
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 1rem 0.8rem !important; 
    text-align: left !important; 
  }

  .footer-grid > div:first-child {
    grid-column: 1 / -1;
    text-align: center;
    margin-bottom: 0.5rem;
  }

  .footer-grid > div:first-child .logo {
    justify-content: center;
    margin-bottom: 0.4rem;
  }

  .footer-grid h4 {
    color: var(--accent-color) !important;
    font-size: 0.85rem !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem !important;
    position: relative;
    padding-bottom: 3px;
  }

  .footer-grid h4::after {
    width: 20px;
    height: 1px;
  }

  .footer-grid p {
    font-size: 0.82rem !important;
    line-height: 1.3 !important;
    margin-bottom: 0.3rem !important;
  }

  .footer-grid > div:last-child {
    grid-column: 1 / -1;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 1rem;
    margin-top: 0.5rem;
  }

  .footer-grid > div:last-child div.links-flex {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    margin-top: 0.5rem;
  }
  
  .footer-bottom {
    margin-top: 1.2rem !important;
    padding-top: 0.8rem !important;
    border-top: 1px solid rgba(255,255,255,0.05) !important;
  }

  .footer-bottom p {
    font-size: 0.72rem !important; /* Smaller to stay on one line */
    white-space: nowrap;
    letter-spacing: 0;
  }

  /* Compact Visual Contact Section Mobile */
  #contact {
    padding-top: 3.5rem !important;
    padding-bottom: 3rem !important;
  }
  #contact .z-pattern {
    gap: 2rem !important;
  }
  #contact .reveal[style*="height: 400px"] {
    height: 300px !important;
  }
}
