/* ===== GOOGLE FONTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@300;400;700&family=Lato:wght@300;400;500;700&display=swap');

/* ===== BOOTSTRAP COMPATIBILITY ===== */
:root {
  /* Primary Bootstrap colors to match our theme */
  --bs-primary: var(--primary-500);
  --bs-secondary: var(--secondary-500);
  --bs-success: var(--secondary-500);
  --bs-info: #0dcaf0;
  --bs-warning: var(--accent-gold);
  --bs-danger: #dc3545;
  --bs-light: var(--neutral-100);
  --bs-dark: var(--neutral-800);
}

/* Override Bootstrap styles to match our theme */
.btn-primary {
  background-color: var(--primary-500) !important;
  border-color: var(--primary-600) !important;
}

.btn-primary:hover {
  background-color: var(--primary-600) !important;
  border-color: var(--primary-700) !important;
}

.btn-secondary {
  background-color: var(--secondary-500) !important;
  border-color: var(--secondary-600) !important;
}

.btn-secondary:hover {
  background-color: var(--secondary-600) !important;
  border-color: var(--secondary-700) !important;
}

/* ===== DESIGN SYSTEM VARIABLES ===== */
:root {
  --header-height: 4rem;

  /* ========== Color Palette (Figma-inspired) ========== */
  /* Primary Colors */
  --primary-50: #FFF7ED;
  --primary-100: #FFEDD5;
  --primary-200: #FED7AA;
  --primary-300: #FDBA74;
  --primary-400: #FB923C;
  --primary-500: #FF9933; /* Main Saffron */
  --primary-600: #EA580C;
  --primary-700: #C2410C;
  --primary-800: #9A3412;
  --primary-900: #7C2D12;

  /* Secondary Colors */
  --secondary-50: #F0FDF4;
  --secondary-100: #DCFCE7;
  --secondary-200: #BBF7D0;
  --secondary-300: #86EFAC;
  --secondary-400: #4ADE80;
  --secondary-500: #138808; /* Main Green */
  --secondary-600: #16A34A;
  --secondary-700: #15803D;
  --secondary-800: #166534;
  --secondary-900: #14532D;

  /* Neutral Colors */
  --neutral-50: #FAFAF9;
  --neutral-100: #F5F5F4;
  --neutral-200: #E7E5E4;
  --neutral-300: #D6D3D1;
  --neutral-400: #A8A29E;
  --neutral-500: #78716C;
  --neutral-600: #57534E;
  --neutral-700: #44403C;
  --neutral-800: #292524;
  --neutral-900: #1C1917;

  /* Accent Colors */
  --accent-gold: #FFD700;
  --accent-ivory: #FFFFF0;
  --accent-cream: #FEF7E0;

  /* Semantic Colors */
  --success: #10B981;
  --warning: #F59E0B;
  --error: #EF4444;
  --info: #3B82F6;

  /* ========== Typography Scale ========== */
  --font-family-primary: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-family-heading: 'Merriweather', Georgia, serif;

  /* Font Sizes (Figma-style scale) */
  --text-xs: 0.75rem;    /* 12px */
  --text-sm: 0.875rem;   /* 14px */
  --text-base: 1rem;     /* 16px */
  --text-lg: 1.125rem;   /* 18px */
  --text-xl: 1.25rem;    /* 20px */
  --text-2xl: 1.5rem;    /* 24px */
  --text-3xl: 1.875rem;  /* 30px */
  --text-4xl: 2.25rem;   /* 36px */
  --text-5xl: 3rem;      /* 48px */
  --text-6xl: 3.75rem;   /* 60px */

  /* Font Weights */
  --font-thin: 100;
  --font-light: 300;
  --font-normal: 400;
  --font-medium: 500;
  --font-semibold: 600;
  --font-bold: 700;
  --font-extrabold: 800;
  --font-black: 900;

  /* ========== Spacing Scale ========== */
  --space-1: 0.25rem;   /* 4px */
  --space-2: 0.5rem;    /* 8px */
  --space-3: 0.75rem;   /* 12px */
  --space-4: 1rem;      /* 16px */
  --space-5: 1.25rem;   /* 20px */
  --space-6: 1.5rem;    /* 24px */
  --space-8: 2rem;      /* 32px */
  --space-10: 2.5rem;   /* 40px */
  --space-12: 3rem;     /* 48px */
  --space-16: 4rem;     /* 64px */
  --space-20: 5rem;     /* 80px */
  --space-24: 6rem;     /* 96px */

  /* ========== Border Radius ========== */
  --radius-none: 0;
  --radius-sm: 0.125rem;
  --radius-base: 0.25rem;
  --radius-md: 0.375rem;
  --radius-lg: 0.5rem;
  --radius-xl: 0.75rem;
  --radius-2xl: 1rem;
  --radius-3xl: 1.5rem;
  --radius-full: 9999px;

  /* ========== Shadows ========== */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-base: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  --shadow-inner: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06);

  /* ========== Transitions ========== */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 350ms ease;

  /* ========== Z-Index Scale ========== */
  --z-0: 0;
  --z-10: 10;
  --z-20: 20;
  --z-30: 30;
  --z-40: 40;
  --z-50: 50;
  --z-auto: auto;
  --z-tooltip: 100;
  --z-fixed: 1000;
  --z-modal: 2000;

  /* ========== Legacy Variables (for compatibility) ========== */
  --saffron-color: var(--primary-500);
  --ivory-color: var(--accent-ivory);
  --green-color: var(--secondary-500);
  --gold-color: var(--accent-gold);
  --dark-color: var(--neutral-800);
  --text-color: var(--neutral-600);
  --text-color-light: var(--neutral-500);
  --white-color: var(--neutral-50);
  --shadow-color: rgba(0, 0, 0, 0.1);
  --body-font: var(--font-family-primary);
  --title-font: var(--font-family-heading);
}

/* ===== MODERN BASE STYLES ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px; /* Base font size */
  line-height: 1.5;
  /* iOS Safari viewport fix */
  height: 100%;
  height: -webkit-fill-available;
}

body {
  font-family: var(--font-family-primary);
  font-size: var(--text-base);
  font-weight: var(--font-normal);
  line-height: 1.6;
  color: var(--neutral-700);
  background: linear-gradient(135deg, var(--accent-ivory) 0%, var(--neutral-50) 100%);
  overflow-x: hidden;

  /* Modern text rendering */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern" 1, "liga" 1;

  /* Improved scrolling on mobile */
  -webkit-overflow-scrolling: touch;

  /* iOS Safari viewport fix */
  min-height: 100vh;
  min-height: -webkit-fill-available;

  /* Prevent zoom on iOS */
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;

  /* Android Chrome address bar fix */
  height: 100vh;
  height: calc(var(--vh, 1vh) * 100);
}

/* Enhanced focus styles for accessibility */
*:focus {
  outline: 2px solid var(--primary-500);
  outline-offset: 2px;
}

*:focus:not(:focus-visible) {
  outline: none;
}

*:focus-visible {
  outline: 2px solid var(--primary-500);
  outline-offset: 2px;
}

/* ===== MODERN TYPOGRAPHY SYSTEM ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-family-heading);
  font-weight: var(--font-bold);
  line-height: 1.2;
  color: var(--neutral-900);
  margin-bottom: var(--space-4);
  letter-spacing: -0.025em;
}

h1 {
  font-size: var(--text-5xl);
  font-weight: var(--font-extrabold);
  line-height: 1.1;
  background: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-500) 50%, var(--accent-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h2 {
  font-size: var(--text-3xl);
  font-weight: var(--font-bold);
  color: var(--neutral-800);
}

h3 {
  font-size: var(--text-xl);
  font-weight: var(--font-semibold);
  color: var(--neutral-700);
}

h4 {
  font-size: var(--text-lg);
  font-weight: var(--font-medium);
}

p {
  margin-bottom: var(--space-4);
  line-height: 1.7;
  color: var(--neutral-600);
}

/* Text utilities */
.text-gradient {
  background: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-500) 50%, var(--accent-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-balance {
  text-wrap: balance;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

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

/* Improve touch targets for mobile */
button,
.button,
.nav__link,
.gallery__item,
.scrollup,
.lightbox__close,
.lightbox__prev,
.lightbox__next {
  min-height: 44px;
  min-width: 44px;
}

/* Prevent text selection on interactive elements */
.button,
.nav__toggle,
.nav__close,
.gallery__item,
.lightbox__nav button {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* ===== REUSABLE CSS CLASSES ===== */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--space-6);
  width: 100%;
}

.container-sm {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-6);
  width: 100%;
}

.container-lg {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 var(--space-6);
  width: 100%;
}

.grid {
  display: grid;
}

/* ===== MODERN SECTION SYSTEM ===== */
.section {
  padding: var(--space-24) 0;
  position: relative;
  background: none;
}

.section:nth-child(even) {
  background: var(--accent-ivory);
}

.section__header {
  text-align: center;
  margin-bottom: var(--space-16);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.section__title {
  font-size: var(--text-4xl);
  font-family: var(--font-family-heading);
  font-weight: var(--font-extrabold);
  line-height: 1.2;
  margin-bottom: var(--space-4);
  background: linear-gradient(135deg, var(--neutral-900) 0%, var(--primary-600) 50%, var(--accent-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-wrap: balance;
}

.section__subtitle {
  font-size: var(--text-lg);
  color: var(--neutral-600);
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto;
  text-wrap: balance;
}

/* Section decorations */
.section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-500) 0%, var(--accent-gold) 50%, var(--secondary-500) 100%);
  border-radius: var(--radius-full);
  opacity: 0.6;
}

.main {
  overflow: hidden;
}

/* ===== MODERN BUTTON SYSTEM ===== */
.button {
  /* Base button styles */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);

  /* Typography */
  font-family: var(--font-family-primary);
  font-size: var(--text-base);
  font-weight: var(--font-semibold);
  text-decoration: none;
  white-space: nowrap;

  /* Spacing */
  padding: var(--space-3) var(--space-6);

  /* Appearance */
  border: 2px solid transparent;
  border-radius: var(--radius-xl);
  cursor: pointer;

  /* Transitions */
  transition: background var(--transition-base), color var(--transition-base), border var(--transition-base);
  transform: translateY(0);

  /* Prevent selection */
  user-select: none;
  -webkit-user-select: none;
}

/* Primary Button */
.button--primary {
  background: var(--primary-500);
  color: #fff;
  border-color: var(--primary-600);
}

.button--primary:hover {
  background: var(--primary-600);
  color: #fff;
}

/* Secondary Button */
.button--secondary {
  background: transparent;
  color: var(--primary-600);
  border-color: var(--primary-500);
  box-shadow: var(--shadow-sm);
}

.button--secondary:hover {
  background: var(--primary-50);
  border-color: var(--primary-600);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* Outline Button */
.button--outline {
  background: transparent;
  color: var(--primary-500);
  border-color: var(--primary-500);
}

.button--outline:hover {
  background: var(--primary-50);
  color: var(--primary-600);
  border-color: var(--primary-600);
}

/* Ghost Button */
.button--ghost {
  background: transparent;
  color: var(--neutral-600);
  border: none;
  box-shadow: none;
}

.button--ghost:hover {
  background: var(--neutral-100);
  color: var(--neutral-700);
}

/* Button Sizes */
.button--sm {
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-sm);
  border-radius: var(--radius-lg);
}

.button--lg {
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-lg);
  border-radius: var(--radius-2xl);
}

/* Button with icon */
.button i {
  font-size: 1.1em;
}

/* Disabled state */
.button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.button:disabled:hover {
  transform: none;
  box-shadow: var(--shadow-sm);
}

/* ===== MODERN HEADER & NAVIGATION ===== */
.header, .navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4) var(--space-8);
  background: #fff;
  box-shadow: var(--shadow-sm);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-4);
}

.header.scroll-header {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-lg);
  border-bottom-color: var(--neutral-200);
}

.nav {
  height: var(--header-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--space-6);
  position: relative;
}

/* Navbar layout structure */
.nav__left {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.nav__center {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-6);
}

.nav__right {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

/* Modern Logo Design */
.nav__logo-link {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  transition: all var(--transition-base);
  padding: var(--space-2);
  border-radius: var(--radius-lg);
}

.nav__logo-link:hover {
  transform: translateY(-1px);
  background: var(--primary-50);
}

.nav__logo-icon {
  font-size: var(--text-2xl);
  background: linear-gradient(135deg, var(--accent-gold) 0%, var(--primary-500) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 2px 4px rgba(255, 215, 0, 0.3));
}

.nav__logo-text {
  display: flex;
  flex-direction: column;
}

.nav__logo-title {
  font-family: var(--font-family-heading);
  font-size: var(--text-xl);
  font-weight: var(--font-bold);
  color: var(--neutral-800);
  margin: 0;
  line-height: 1.1;
  background: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-500) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav__logo-subtitle {
  font-size: var(--text-xs);
  color: var(--secondary-600);
  font-weight: var(--font-medium);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1;
  margin-top: 1px;
}

/* Modern Navigation Links */
.nav__list {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  list-style: none;
}

.nav__link {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-xl);
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  color: var(--neutral-600);
  text-decoration: none;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.nav__link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-100) 0%, var(--primary-50) 100%);
  opacity: 0;
  transition: opacity var(--transition-base);
  z-index: -1;
}

.nav__link:hover::before,
.nav__link.active-link::before {
  opacity: 1;
}

.nav__link:hover,
.nav__link.active-link {
  color: var(--primary-700);
  transform: translateY(-1px);
}

.nav__link-icon {
  font-size: var(--text-base);
  transition: all var(--transition-base);
}

.nav__link:hover .nav__link-icon {
  transform: scale(1.1) rotate(5deg);
}

.nav__link.active-link .nav__link-icon {
  color: var(--primary-600);
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-left: 1rem;
}

.nav__action-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  font-weight: var(--font-medium);
  transition: all 0.3s ease;
  text-decoration: none;
}

.nav__call-btn {
  background-color: var(--green-color);
  color: var(--white-color);
  width: 45px;
  height: 45px;
  justify-content: center;
  border-radius: 50%;
}

.nav__call-btn:hover {
  background-color: #0f6b06;
  transform: scale(1.1);
}

.nav__order-btn {
  background-color: var(--saffron-color);
  color: var(--white-color);
  font-size: var(--small-font-size);
}

.nav__order-btn:hover {
  background-color: #e6851f;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 153, 51, 0.3);
}

.nav__order-text {
  font-weight: var(--font-bold);
}

.nav__toggle,
.nav__close {
  display: none;
}

/* ===== MODERN HERO SECTION ===== */
.hero {
  padding-top: calc(var(--header-height) + var(--space-16));
  padding-bottom: var(--space-20);
  background: linear-gradient(135deg, var(--accent-ivory) 0%, var(--neutral-50) 50%, var(--primary-50) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23FF9933" opacity="0.05"/><circle cx="75" cy="75" r="1" fill="%23138808" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.3;
  z-index: 0;
}

.hero__container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
  position: relative;
  z-index: 1;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.hero__data {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero__title {
  font-size: var(--text-5xl);
  font-family: var(--font-family-heading);
  font-weight: var(--font-extrabold);
  line-height: 1.1;
  margin-bottom: var(--space-6);
  background: linear-gradient(135deg, var(--neutral-900) 0%, var(--primary-700) 50%, var(--accent-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-wrap: balance;
}

.hero__description {
  font-size: var(--text-lg);
  line-height: 1.7;
  color: var(--neutral-600);
  margin-bottom: var(--space-6);
  max-width: 90%;
}

.hero__keywords {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-8);
  justify-content: center;
  max-width: 600px;
}

.hero__keyword {
  background: linear-gradient(135deg, var(--primary-100) 0%, var(--primary-50) 100%);
  color: var(--primary-700);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  border: 1px solid var(--primary-200);
  transition: all var(--transition-base);
  backdrop-filter: blur(10px);
}

.hero__keyword:hover {
  background: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-600) 100%);
  color: var(--white-color);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.hero__buttons {
  display: flex;
  gap: var(--space-4);
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.hero__image {
  width: 100%;
  max-width: 420px;
  aspect-ratio: 4/3;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__image img,
.hero__img {
  width: 100%;
  height: 100%;
  max-width: 420px;
  max-height: 315px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

/* Decorative elements */
.hero__image::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, var(--accent-gold) 0%, var(--primary-500) 100%);
  border-radius: 50%;
  opacity: 0.2;
  z-index: 1;
  animation: float 6s ease-in-out infinite;
}

.hero__image::after {
  content: '';
  position: absolute;
  bottom: -30px;
  right: -30px;
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--secondary-500) 0%, var(--secondary-600) 100%);
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  opacity: 0.3;
  z-index: 1;
  animation: float 8s ease-in-out infinite reverse;
}

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

/* ===== MODERN CARD SYSTEM ===== */
.card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-base);
  transition: all var(--transition-base);
  overflow: hidden;
  position: relative;
  border: none;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-500) 0%, var(--accent-gold) 50%, var(--secondary-500) 100%);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.card:hover::before {
  opacity: 1;
}

/* ===== FEATURES SECTION ===== */
.features {
  background: linear-gradient(135deg, var(--neutral-50) 0%, var(--primary-50) 100%);
  position: relative;
}

.features__container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-8);
}

.features__card {
  /* Using Bootstrap card styling */
  text-align: center;
  padding: var(--space-8) var(--space-6);
  background: rgba(255, 255, 255, 0.8);
  border-radius: 0.25rem;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Feature card styling to fix Chrome rendering issues */
.feature-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100% !important; /* Force consistent height */
  min-height: 200px; /* Minimum height to maintain consistency */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card .card-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
}

.features__icon {
  font-size: var(--text-4xl);
  background: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-600) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--space-4);
  display: block;
  filter: drop-shadow(0 2px 4px rgba(255, 153, 51, 0.3));
}

.features__title {
  font-size: var(--text-xl);
  font-weight: var(--font-semibold);
  color: var(--neutral-800);
  margin-bottom: var(--space-3);
}

.features__description {
  font-size: var(--text-base);
  color: var(--neutral-600);
  line-height: 1.6;
}

/* ===== MENU SECTION ===== */
.menu__container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-8);
}

.menu__card {
  background: var(--white-color);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-base);
  position: relative;
  border: 1px solid var(--neutral-200);
}

.menu__card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: var(--shadow-2xl);
}

.menu__card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 153, 51, 0.1) 0%, rgba(19, 136, 8, 0.1) 100%);
  opacity: 0;
  transition: opacity var(--transition-base);
  z-index: 1;
}

.menu__card:hover::before {
  opacity: 1;
}

.menu__img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: all var(--transition-slow);
  position: relative;
  z-index: 2;
}

.menu__card:hover .menu__img {
  transform: scale(1.05);
}

.menu__content {
  padding: var(--space-6);
  position: relative;
  z-index: 2;
  background: var(--white-color);
}

.menu__title {
  font-size: var(--text-xl);
  font-weight: var(--font-semibold);
  color: var(--neutral-800);
  margin-bottom: var(--space-3);
  background: linear-gradient(135deg, var(--neutral-800) 0%, var(--primary-600) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.menu__description {
  font-size: var(--text-base);
  color: var(--neutral-600);
  line-height: 1.6;
}

/* ===== GALLERY ===== */
.gallery {
  background-color: var(--white-color);
}

#gallery-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* Two columns on mobile */
  gap: 16px;
  width: 100%;
}

@media (min-width: 768px) {
  #gallery-container {
    grid-template-columns: repeat(3, 1fr); /* Three columns on medium screens */
  }
}

@media (min-width: 992px) {
  #gallery-container {
    grid-template-columns: repeat(4, 1fr); /* Four columns on large screens */
  }
}

.gallery-item-wrapper {
  height: 200px;
  width: 100%;
  position: relative;
  overflow: hidden !important; /* Prevent layout shifting */
  border-radius: 8px;
  margin-bottom: 16px;
  box-sizing: border-box;
  padding: 0;
  display: flex;
}

.gallery-card {
  border-radius: 8px !important;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1) !important;
  transition: all 0.3s ease;
  overflow: hidden !important;
  height: 100% !important;
  width: 100% !important;
  position: relative;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  will-change: transform;
}

.gallery-card:hover {
  transform: translateY(-5px) translateZ(0);
  -webkit-transform: translateY(-5px) translateZ(0);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15) !important;
}

.gallery-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transition: transform 0.3s ease;
  display: block !important;
  max-width: 100% !important;
  max-height: 100% !important;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.gallery-overlay {
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  background-color: rgba(0, 0, 0, 0.5);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

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

.gallery-card:hover .gallery-overlay {
  opacity: 1;
}

/* Legacy gallery styles for backward compatibility */
.gallery__container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.gallery__item {
  position: relative;
  overflow: hidden;
  border-radius: 0.5rem;
  cursor: pointer;
  height: 200px;
}

.gallery__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery__item:hover .gallery__img {
  transform: scale(1.1);
}

.gallery__item:hover .gallery__overlay {
  opacity: 1;
}

.gallery__icon {
  font-size: 2rem;
  color: var(--white-color);
}

/* ===== LOCATION ===== */
.location__container {
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.location__info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.location__card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background-color: var(--white-color);
  border-radius: 1rem;
  box-shadow: 0 4px 16px var(--shadow-color);
}

.location__icon {
  font-size: 1.5rem;
  color: var(--saffron-color);
  margin-top: 0.25rem;
}

.location__title {
  font-size: var(--h3-font-size);
  margin-bottom: 0.5rem;
  color: var(--dark-color);
}

.location__description {
  font-size: var(--small-font-size);
  color: var(--text-color-light);
  line-height: 1.5;
}

.location__iframe {
  border-radius: 1rem;
  box-shadow: 0 4px 16px var(--shadow-color);
}

/* ===== FAQ ===== */
.faq__container {
  max-width: 800px;
  margin: 0 auto;
}

.faq__item {
  background-color: var(--white-color);
  border-radius: 1rem;
  margin-bottom: 1rem;
  box-shadow: 0 2px 8px var(--shadow-color);
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq__item:hover {
  box-shadow: 0 4px 16px var(--shadow-color);
}

.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.faq__question:hover {
  background-color: var(--ivory-color);
}

.faq__question h3 {
  font-size: var(--h3-font-size);
  color: var(--dark-color);
  margin: 0;
  flex: 1;
}

.faq__icon {
  font-size: 1.2rem;
  color: var(--saffron-color);
  transition: transform 0.3s ease;
}

.faq__item.active .faq__icon {
  transform: rotate(180deg);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq__item.active .faq__answer {
  max-height: 200px;
}

.faq__answer div {
  padding: 0 1.5rem 1.5rem;
}

.faq__answer p {
  color: var(--text-color-light);
  line-height: 1.6;
  margin: 0;
}

/* ===== CONTACT ===== */
.contact {
  background-color: var(--white-color);
}

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

.contact__info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact__card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background-color: var(--ivory-color);
  border-radius: 1rem;
}

.contact__icon {
  font-size: 1.5rem;
  color: var(--saffron-color);
}

.contact__title {
  font-size: var(--h3-font-size);
  margin-bottom: 0.25rem;
  color: var(--dark-color);
}

.contact__description {
  font-size: var(--small-font-size);
  color: var(--text-color-light);
}

.contact__buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact__form {
  background-color: var(--ivory-color);
  padding: 2rem;
  border-radius: 1rem;
}

.contact__form-group {
  margin-bottom: 1.5rem;
}

.contact__input {
  width: 100%;
  padding: 1rem;
  border: 2px solid transparent;
  border-radius: 0.5rem;
  background-color: var(--white-color);
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  color: var(--text-color);
  transition: border-color 0.3s ease;
}

.contact__input:focus {
  outline: none;
  border-color: var(--saffron-color);
}

.contact__textarea {
  resize: vertical;
  min-height: 120px;
}

.contact__button {
  width: 100%;
  justify-content: center;
}

/* Contact Info widget style - matches dark theme in screenshot */
.contact-info-widget {
  background-color: #212529;
  color: #ffffff;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 25px;
}

.contact-info-widget h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  font-weight: 600;
}

.contact-info-widget ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-info-widget li {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}

.contact-info-widget li i {
  margin-right: 10px;
  width: 20px;
  color: #ffc107;
}

/* ===== MODERN FOOTER ===== */
.footer {
  background: linear-gradient(135deg, var(--neutral-900) 0%, var(--neutral-800) 100%);
  color: var(--white-color);
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(to right, #ff9933, #f8c291);
}

.footer__main {
  padding: var(--space-16) 0 var(--space-12);
}

.footer__container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-12);
  align-items: start;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.footer__brand {
  max-width: 400px;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
  text-decoration: none;
}

.footer__logo-icon {
  font-size: var(--text-2xl);
  background: linear-gradient(135deg, var(--accent-gold) 0%, var(--primary-500) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer__title {
  font-size: var(--text-2xl);
  font-family: var(--font-family-heading);
  font-weight: var(--font-bold);
  color: var(--white-color);
  margin: 0;
}

.footer__subtitle {
  font-size: var(--text-sm);
  color: var(--primary-300);
  font-weight: var(--font-medium);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer__description {
  color: var(--neutral-300);
  line-height: 1.6;
  margin-bottom: var(--space-6);
}

.footer__section-title {
  font-size: var(--text-lg);
  font-weight: var(--font-semibold);
  color: var(--white-color);
  margin-bottom: var(--space-4);
}

.footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer__link {
  color: var(--neutral-300);
  text-decoration: none;
  transition: all var(--transition-base);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.footer__link:hover {
  color: var(--primary-400);
  transform: translateX(4px);
}

.footer__link i {
  font-size: var(--text-sm);
  width: 16px;
}

.footer__social {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer__social-links {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
}

.footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-600) 100%);
  color: var(--white-color);
  border-radius: var(--radius-xl);
  font-size: var(--text-lg);
  text-decoration: none;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.footer__social-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--secondary-500) 0%, var(--secondary-600) 100%);
  transition: left var(--transition-base);
}

.footer__social-link:hover::before {
  left: 0;
}

.footer__social-link:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.footer__social-link i {
  position: relative;
  z-index: 1;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: var(--space-8) 0;
  text-align: center;
}

.footer__copy {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.footer__copy p {
  color: var(--neutral-300);
  font-size: var(--text-sm);
  margin-bottom: var(--space-4);
  line-height: 1.6;
}

.footer__seo-text {
  opacity: 0.6;
}

.footer__seo-text small {
  font-size: var(--text-xs);
  line-height: 1.4;
  color: var(--neutral-400);
}

.footer__payment {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-4);
  margin-top: var(--space-6);
  flex-wrap: wrap;
}

.footer__payment-text {
  color: var(--neutral-400);
  font-size: var(--text-sm);
}

.footer__payment-icons {
  display: flex;
  gap: var(--space-2);
}

.footer__payment-icon {
  width: 40px;
  height: 24px;
  background: var(--white-color);
  border-radius: var(--radius-base);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-sm);
  color: var(--neutral-600);
}

/* Footer polish styles */
footer.bg-dark {
  background: linear-gradient(to bottom, #212529, #161a1d) !important;
  position: relative;
}

footer.bg-dark::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(to right, #ff9933, #f8c291);
}

footer h5 {
  position: relative;
  display: inline-block;
  padding-bottom: 8px;
}

footer h5::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: #ff9933;
}

footer .list-unstyled li a {
  transition: all 0.2s ease;
  opacity: 0.85;
}

footer .list-unstyled li a:hover {
  opacity: 1;
  transform: translateX(3px);
  color: #fff !important;
  text-decoration: underline !important;
}

footer .btn-outline-light:hover {
  background-color: #ff9933;
  border-color: #ff9933;
}

footer hr {
  opacity: 0.1;
}

footer .badge {
  transition: all 0.3s;
}

footer .badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* ===== IMPROVED FOOTER ALIGNMENT ===== */
footer.bg-dark {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  background: linear-gradient(to bottom, #1a1a1a, #292929) !important;
}

footer .row {
  margin-left: -15px;
  margin-right: -15px;
}

footer .col-lg-4, 
footer .col-lg-3, 
footer .col-lg-2,
footer .col-md-6,
footer .col-6 {
  padding-left: 15px;
  padding-right: 15px;
}

footer .list-unstyled li {
  margin-bottom: 0.75rem !important;
  line-height: 1.5;
}

footer .list-unstyled li a {
  transition: all 0.3s ease !important;
  opacity: 0.85;
  display: inline-flex;
  align-items: center;
}

footer .list-unstyled li a:hover {
  opacity: 1;
  transform: translateX(5px);
  color: #fff !important;
}

footer .list-unstyled li a i {
  min-width: 24px;
  display: inline-flex;
  justify-content: center;
  margin-right: 8px;
}

footer .d-flex.gap-2 {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem !important;
}

footer .btn-outline-light {
  width: 36px;
  height: 36px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

footer .btn-outline-light:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(255, 255, 255, 0.1);
}

footer .badge.bg-light {
  margin-left: 5px;
  transition: all 0.3s ease;
}

footer .badge.bg-light:hover {
  transform: translateY(-2px);
}

/* Fix footer at different screen sizes */
@media (max-width: 991.98px) {
  footer .col-lg-2,
  footer .col-lg-3 {
    margin-top: 2rem;
  }
}

@media (max-width: 767.98px) {
  footer .col-6 {
    margin-top: 1.5rem;
  }
  
  footer .text-md-end {
    text-align: left !important;
    margin-top: 1rem;
  }
  
  footer .d-flex.justify-content-md-end {
    justify-content: flex-start !important;
  }
  
  footer .col-md-5 {
    margin-top: 1rem;
  }
}

/* ===== SCROLL UP ===== */
.scrollup {
  position: fixed;
  right: 1rem;
  bottom: -50%;
  background-color: var(--saffron-color);
  color: var(--white-color);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  z-index: var(--z-tooltip);
  transition: all 0.3s ease;
}

.scrollup:hover {
  background-color: var(--green-color);
  transform: translateY(-2px);
}

.scrollup.show-scroll {
  bottom: 3rem;
}

/* ===== LIGHTBOX ===== */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: var(--z-modal);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.lightbox.show {
  opacity: 1;
  visibility: visible;
}

.lightbox__content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
}

.lightbox__img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 0.5rem;
}

.lightbox__close {
  position: absolute;
  top: -40px;
  right: 0;
  color: var(--white-color);
  font-size: 2rem;
  cursor: pointer;
  transition: color 0.3s ease;
}

.lightbox__close:hover {
  color: var(--saffron-color);
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}

.lightbox__prev,
.lightbox__next {
  background-color: rgba(255, 153, 51, 0.8);
  color: var(--white-color);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  pointer-events: all;
  transition: all 0.3s ease;
}

.lightbox__prev:hover,
.lightbox__next:hover {
  background-color: var(--saffron-color);
}

.lightbox__prev {
  margin-left: -60px;
}

.lightbox__next {
  margin-right: -60px;
}

/* ===== RESPONSIVE UTILITIES ===== */
.transition-opacity {
  transition: opacity 0.3s ease;
}

.opacity-0 {
  opacity: 0;
}

.hover-opacity-100:hover {
  opacity: 1 !important;
}

/* For touch devices, ensure hover effects work properly */
@media (hover: none) {
  .hover-opacity-100 {
    opacity: 0.7 !important;
  }
}

/* Additional responsive adjustments */
@media (max-width: 767.98px) {
  .display-4 {
    font-size: 2.5rem;
  }
  
  .lead {
    font-size: 1rem;
  }
  
  .navbar-brand h2 {
    font-size: 1.2rem;
  }
}

/* ===== MOBILE TOUCH IMPROVEMENTS ===== */
@media (max-width: 767.98px) {
  /* Increase touch target sizes for better mobile usability */
  .btn, button, .nav-link, a.card {
    padding: 0.5rem 0.75rem;
  }
  
  /* Ensure inputs are large enough for touch */
  input, select, textarea {
    min-height: 44px;
  }
  
  /* Add active state for touch */
  .btn:active, .nav-link:active, .card:active {
    transform: scale(0.98);
    transition: transform 0.1s;
  }
  
  /* Increase spacing for phone numbers and other important contact links */
  a[href^="tel"], a[href^="mailto"] {
    font-size: 1.1rem;
    padding: 0.5rem 0;
    display: inline-block;
  }
  
  /* Ensure menu dropdowns are touch-friendly */
  .dropdown-item {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
  }
}

/* ===== BREAKPOINTS ===== */
/* For large devices */
@media screen and (max-width: 992px) {
  .container,
  .container-sm,
  .container-lg {
    padding: 0 var(--space-4);
  }

  .nav {
    padding: 0 var(--space-4);
  }

  .nav__center {
    display: none;
  }

  .nav__right {
    gap: var(--space-2);
  }

  .hero__container {
    grid-template-columns: 1fr;
    gap: var(--space-12);
    text-align: center;
  }

  .hero__data {
    order: 1;
  }

  .hero__image {
    order: 2;
  }

  .location__container,
  .contact__container {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .footer__container {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
    text-align: left;
  }

  .footer__brand {
    grid-column: 1 / -1;
    text-align: center;
    max-width: none;
  }
}

/* For medium devices */
@media screen and (max-width: 768px) {
  .nav__center {
    display: block;
  }

  /* Mobile menu backdrop */
  .nav__backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(4px);
    z-index: calc(var(--z-modal) - 1);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
  }

  .nav__backdrop.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav__menu {
    position: fixed;
    top: var(--header-height);
    left: 50%;
    transform: translateX(-50%) translateY(-20px);
    width: 95%;
    max-width: 420px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 247, 224, 0.98) 100%);
    padding: var(--space-5) var(--space-4) var(--space-6);
    text-align: center;
    backdrop-filter: blur(20px);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    z-index: var(--z-modal);
    border-radius: var(--radius-2xl);
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: none;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    max-height: calc(100vh - var(--header-height) - 3rem);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
  }

  .nav__menu.show-menu {
    display: flex;
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
  }

  .nav__list {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: 360px;
    list-style: none;
  }

  .nav__item {
    width: 100%;
  }

  .nav__link {
    font-size: var(--text-base);
    padding: var(--space-4) var(--space-5);
    border-radius: var(--radius-xl);
    transition: all var(--transition-base);
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--neutral-200);
    backdrop-filter: blur(10px);
    width: 100%;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: var(--space-3);
    text-decoration: none;
    color: var(--neutral-700);
    font-weight: var(--font-medium);
  }

  .nav__link:hover,
  .nav__link.active-link {
    background: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-600) 100%);
    color: var(--neutral-800);
    transform: translateY(-2px);
    border-color: var(--primary-300);
    box-shadow: var(--shadow-lg);
  }

  .nav__link-icon {
    font-size: var(--text-lg);
    flex-shrink: 0;
  }

  .nav__link span {
    font-weight: var(--font-medium);
  }

  .nav__actions {
    display: flex;
    justify-content: center;
    gap: var(--space-3);
    flex-wrap: wrap;
    width: 100%;
    max-width: 280px;
    margin-top: var(--space-4);
  }

  .nav__action-btn {
    padding: var(--space-3) var(--space-5);
    font-size: var(--text-sm);
    flex: 1;
    min-width: 100px;
  }

  .nav__call-btn {
    width: 48px;
    height: 48px;
    min-width: 48px;
    flex: none;
    border-radius: 50%;
  }

  .nav__logo-title {
    font-size: var(--text-lg);
  }

  .nav__logo-subtitle {
    font-size: var(--text-xs);
  }

  .nav__close {
    position: absolute;
    top: var(--space-3);
    right: var(--space-3);
    font-size: var(--text-lg);
    cursor: pointer;
    color: var(--neutral-600);
    padding: var(--space-2);
    border-radius: 50%;
    transition: all var(--transition-base);
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--neutral-200);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
  }

  .nav__close:hover {
    color: var(--white-color);
    background: var(--primary-500);
    border-color: var(--primary-500);
    transform: scale(1.1);
  }

  .nav__toggle {
    font-size: var(--text-lg);
    cursor: pointer;
    color: var(--neutral-600);
    padding: var(--space-2);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .nav__toggle:hover {
    color: var(--primary-600);
    background-color: var(--primary-50);
  }

  .hero__title {
    font-size: var(--text-2xl);
    text-align: center;
    line-height: 1.3;
  }

  .hero__description {
    font-size: var(--text-base);
    text-align: center;
    max-width: 100%;
  }

  .hero__keywords {
    justify-content: center;
    max-width: 100%;
  }

  .hero__buttons {
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: var(--space-3);
  }

  .hero__data {
    text-align: center;
    padding: 0 var(--space-4);
  }

  .section__title {
    font-size: var(--text-2xl);
    text-align: center;
    line-height: 1.3;
  }

  .section__subtitle {
    font-size: var(--text-base);
    text-align: center;
  }

  .features__container {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }

  .gallery__container {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 0.5rem;
  }

  .gallery__img {
    height: 150px;
  }

  .contact__buttons {
    flex-direction: column;
  }

  .lightbox__prev {
    margin-left: -25px;
  }

  .lightbox__next {
    margin-right: -25px;
  }
}

/* For small devices */
@media screen and (max-width: 576px) {
  .container,
  .container-sm,
  .container-lg {
    padding: 0 var(--space-4);
    max-width: 100%;
  }

  .nav {
    padding: 0 var(--space-4);
    height: var(--header-height);
  }

  /* Fix mobile navigation - compact menu */
  .nav__menu {
    width: 85%;
    max-width: 350px;
    padding: var(--space-5) var(--space-3);
  }

  .nav__list {
    gap: var(--space-3);
    max-width: 260px;
  }

  .nav__link {
    padding: var(--space-3) var(--space-4);
    font-size: var(--text-sm);
    max-width: 260px;
  }

  .nav__actions {
    max-width: 260px;
    gap: var(--space-2);
  }

  .nav__action-btn {
    padding: var(--space-2) var(--space-4);
    font-size: var(--text-xs);
    min-width: 80px;
  }

  .nav__call-btn {
    width: 40px;
    height: 40px;
    min-width: 40px;
  }

  .hero__img {
    max-width: 300px;
  }

  .hero__buttons {
    flex-direction: column;
    width: 100%;
    gap: var(--space-3);
  }

  .button {
    width: 100%;
    justify-content: center;
    padding: var(--space-4) var(--space-6);
  }

  .features__container,
  .menu__container {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

  .gallery__container {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-3);
  }

  .location__card,
  .contact__card {
    flex-direction: column;
    text-align: center;
    padding: var(--space-6);
  }

  .contact__form {
    padding: var(--space-6);
  }

  .contact__input {
    font-size: 16px; /* Prevent zoom on iOS */
    padding: var(--space-4);
  }

  .footer__container {
    grid-template-columns: 1fr;
    gap: var(--space-8);
    text-align: center;
  }

  .footer__brand {
    grid-column: 1;
  }

  .footer__social-links {
    justify-content: center;
  }

  .footer__payment {
    flex-direction: column;
    gap: var(--space-3);
  }

  .nav__link {
    min-width: 180px;
    font-size: var(--text-base);
  }

  .nav__action-btn {
    min-width: 100px;
    padding: var(--space-3) var(--space-4);
  }

  .lightbox__prev,
  .lightbox__next {
    width: 40px;
    height: 40px;
    font-size: var(--text-base);
  }

  .lightbox__prev {
    margin-left: -20px;
  }

  .lightbox__next {
    margin-right: -20px;
  }
}

/* For extra small devices */
@media screen and (max-width: 350px) {
  .container,
  .container-sm,
  .container-lg {
    padding: 0 var(--space-2);
  }

  .nav {
    padding: 0 var(--space-2);
  }

  .hero__title {
    font-size: var(--text-3xl);
  }

  .section__title {
    font-size: var(--text-2xl);
  }

  .gallery__container {
    grid-template-columns: 1fr;
    gap: var(--space-2);
  }

  .features__card,
  .menu__card,
  .location__card,
  .contact__card {
    margin: 0;
    padding: var(--space-4);
  }

  .nav__link {
    min-width: 160px;
    padding: var(--space-3) var(--space-4);
  }

  .nav__logo-title {
    font-size: var(--text-lg);
  }

  .footer__container {
    gap: var(--space-6);
  }

  .footer__payment-icons {
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* ===== CROSS-BROWSER COMPATIBILITY FIXES ===== */
/* Fix for Chrome rendering issues */
html, body {
  width: 100%;
  overflow-x: hidden;
}

/* Fix for Chrome flexbox gaps */
.row {
  margin-right: -0.5rem;
  margin-left: -0.5rem;
}

/* Cross-browser transitions */
.transition-opacity,
.btn,
.nav-link,
.card {
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

/* Fix for Chrome image rendering */
img {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: optimizeQuality;
}

/* Fix for Chrome font rendering */
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Fix for Chrome navbar */
.navbar {
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

/* Fix for Chrome card shadows */
.shadow, .shadow-sm, .shadow-lg {
  -webkit-box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

/* Ensure proper stacking contexts for z-index */
.position-relative, .position-absolute {
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

/* Fix for Safari flexbox */
@media not all and (min-resolution:.001dpcm) { 
  @supports (-webkit-appearance:none) {
    .row {
      display: -webkit-box;
      display: -webkit-flex;
      display: flex;
      -webkit-flex-wrap: wrap;
      flex-wrap: wrap;
    }
  }
}

/* ===== ADDITIONAL CROSS-BROWSER FIXES ===== */
/* Chrome fix temp class */
body.chrome-fix {
  opacity: 0.99;
}

/* Fix for touch devices hover effects */
.touch-active {
  opacity: 1 !important;
}

/* Fix for image display in different browsers */
img {
  max-width: 100%;
  height: auto;
}

/* Ensure consistent layout in all browsers */
* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

/* Fix flexbox gaps in Safari */
.d-flex, .row {
  width: 100%;
}

/* Fix Bootstrap grid issues in Edge */
@supports (-ms-ime-align: auto) {
  .row {
    margin-left: -15px;
    margin-right: -15px;
  }
  
  .col, [class*="col-"] {
    padding-left: 15px;
    padding-right: 15px;
  }
}

/* Fix for Firefox rendering */
@-moz-document url-prefix() {
  .navbar-nav {
    width: 100%;
  }
  
  img {
    image-rendering: auto;
  }
}

/* ===== MODERN ANIMATIONS & MICRO-INTERACTIONS ===== */

/* Scroll reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(60px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

/* Staggered animations */
.reveal:nth-child(1) { transition-delay: 0.1s; }
.reveal:nth-child(2) { transition-delay: 0.2s; }
.reveal:nth-child(3) { transition-delay: 0.3s; }
.reveal:nth-child(4) { transition-delay: 0.4s; }
.reveal:nth-child(5) { transition-delay: 0.5s; }
.reveal:nth-child(6) { transition-delay: 0.6s; }

/* Modern keyframe animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

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

/* Animation classes */
.animate-fade-in-up {
  animation: fadeInUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.animate-slide-in-left {
  animation: slideInLeft 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.animate-slide-in-right {
  animation: slideInRight 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.animate-scale-in {
  animation: scaleIn 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.animate-pulse {
  animation: pulse 2s infinite;
}

/* Hover effects */
.hover-lift {
  transition: all var(--transition-base);
}

.hover-lift:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* Loading shimmer effect */
.shimmer {
  background: linear-gradient(90deg,
    var(--neutral-200) 25%,
    var(--neutral-100) 50%,
    var(--neutral-200) 75%);
  background-size: 200% 100%;
  animation: shimmer 2s infinite;
}

/* Micro-interactions */
.interactive {
  transition: all var(--transition-base);
  cursor: pointer;
}

.interactive:hover {
  transform: scale(1.02);
}

.interactive:active {
  transform: scale(0.98);
}

/* Parallax effect */
.parallax {
  transform: translateZ(0);
  will-change: transform;
}

/* ===== WHATSAPP BUTTON ===== */
.whatsapp-btn {
  background-color: #25D366;
  border-color: #25D366;
}

.whatsapp-btn:hover {
  background-color: #128C7E;
  border-color: #128C7E;
}

/* ===== MODERN UTILITY CLASSES ===== */

/* Spacing utilities */
.p-0 { padding: 0; }
.p-1 { padding: var(--space-1); }
.p-2 { padding: var(--space-2); }
.p-3 { padding: var(--space-3); }
.p-4 { padding: var(--space-4); }
.p-6 { padding: var(--space-6); }
.p-8 { padding: var(--space-8); }

.m-0 { margin: 0; }
.m-1 { margin: var(--space-1); }
.m-2 { margin: var(--space-2); }
.m-3 { margin: var(--space-3); }
.m-4 { margin: var(--space-4); }
.m-6 { margin: var(--space-6); }
.m-8 { margin: var(--space-8); }

/* Flexbox utilities */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-start { justify-content: flex-start; }
.justify-end { justify-content: flex-end; }
.gap-1 { gap: var(--space-1); }
.gap-2 { gap: var(--space-2); }
.gap-3 { gap: var(--space-3); }
.gap-4 { gap: var(--space-4); }
.gap-6 { gap: var(--space-6); }
.gap-8 { gap: var(--space-8); }

/* Grid utilities */
.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, 1fr); }
.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid-cols-4 { grid-template-columns: repeat(4, 1fr); }

/* Text utilities */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-xs { font-size: var(--text-xs); }
.text-sm { font-size: var(--text-sm); }
.text-base { font-size: var(--text-base); }
.text-lg { font-size: var(--text-lg); }
.text-xl { font-size: var(--text-xl); }
.text-2xl { font-size: var(--text-2xl); }
.text-3xl { font-size: var(--text-3xl); }

/* Font weight utilities */
.font-light { font-weight: var(--font-light); }
.font-normal { font-weight: var(--font-normal); }
.font-medium { font-weight: var(--font-medium); }
.font-semibold { font-weight: var(--font-semibold); }
.font-bold { font-weight: var(--font-bold); }

/* Color utilities */
.text-primary { color: var(--primary-500); }
.text-secondary { color: var(--secondary-500); }
.text-neutral-600 { color: var(--neutral-600); }
.text-neutral-700 { color: var(--neutral-700); }
.text-neutral-800 { color: var(--neutral-800); }
.text-white { color: var(--white-color); }

.bg-primary { background-color: var(--primary-500); }
.bg-secondary { background-color: var(--secondary-500); }
.bg-white { background-color: var(--white-color); }
.bg-neutral-50 { background-color: var(--neutral-50); }

/* Border radius utilities */
.rounded-none { border-radius: var(--radius-none); }
.rounded-sm { border-radius: var(--radius-sm); }
.rounded { border-radius: var(--radius-base); }
.rounded-md { border-radius: var(--radius-md); }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-xl { border-radius: var(--radius-xl); }
.rounded-2xl { border-radius: var(--radius-2xl); }
.rounded-3xl { border-radius: var(--radius-3xl); }
.rounded-full { border-radius: var(--radius-full); }

/* Shadow utilities */
.shadow-none { box-shadow: none; }
.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow { box-shadow: var(--shadow-base); }
.shadow-md { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }
.shadow-xl { box-shadow: var(--shadow-xl); }
.shadow-2xl { box-shadow: var(--shadow-2xl); }

/* Position utilities */
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.sticky { position: sticky; }

/* Display utilities */
.block { display: block; }
.inline-block { display: inline-block; }
.inline { display: inline; }
.hidden { display: none; }

/* Overflow utilities */
.overflow-hidden { overflow: hidden; }
.overflow-auto { overflow: auto; }
.overflow-scroll { overflow: scroll; }

/* Width and height utilities */
.w-full { width: 100%; }
.h-full { height: 100%; }
.w-auto { width: auto; }
.h-auto { height: auto; }

/* Footer styles moved to IMPROVED FOOTER ALIGNMENT section */

/* ===== IMPROVED NAVBAR ALIGNMENT ===== */
.navbar.fixed-top {
  padding: 0.5rem 0;
  transition: all 0.3s ease;
  background-color: rgba(255, 255, 255, 0.98) !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08) !important;
}

.navbar-brand {
  padding: 0.25rem 0;
}

.navbar-brand h2 {
  font-weight: 700;
  color: var(--bs-dark);
  margin-bottom: 0;
}

.navbar-brand .text-muted {
  font-size: 0.75rem;
  letter-spacing: 0.5px;
}

.navbar-nav {
  margin-left: auto !important;
  align-items: center;
}

.nav-item {
  margin: 0 2px;
}

.nav-link {
  font-weight: 600;
  padding: 0.75rem 1rem !important;
  position: relative;
  color: #333 !important;
  transition: all 0.3s ease;
}

.nav-link i {
  margin-right: 5px;
  font-size: 0.9em;
}

.nav-link::after {
  content: "";
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #FF9933, #138808);
  position: absolute;
  bottom: 7px;
  left: 50%;
  transform: translateX(-50%);
  transition: width 0.3s ease;
  border-radius: 2px;
}

.nav-link:hover {
  color: #FF9933 !important;
}

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

.nav-link.active {
  color: #FF9933 !important;
  font-weight: 700;
}

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

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

.navbar-collapse {
  transition: all 0.3s ease;
}

/* Mobile navbar responsiveness */
@media (max-width: 767.98px) {
  .navbar-toggler {
    border: none;
    padding: 0.4rem;
    margin-right: 0.5rem;
  }
  
  .navbar-collapse {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    margin-top: 1rem;
    padding: 1rem;
  }
  
  .nav-link {
    text-align: center;
    padding: 0.75rem !important;
    margin: 0.25rem 0;
    border-radius: 6px;
  }
  
  .nav-link:hover {
    background-color: rgba(255, 153, 51, 0.1);
  }
  
  .navbar .d-flex {
    justify-content: center;
    margin-top: 1rem;
    gap: 0.5rem;
  }
  
  .navbar .btn {
    flex: 1;
    white-space: nowrap;
  }
}

.bg-ivory {
  background-color: var(--accent-ivory);
}
