/*!
 * Bistro Elegante - Restaurant & Cafe Template
 * Custom CSS with CSS Variables for easy theming
 * TODO: Update brand colors, fonts, and spacing in :root section
 */
.bg-primary, .btn-primary, .filter-tags>.active, .btn-group input[type="radio"]:checked+.btn{
    background-color: #c17c54 !important;
    border: none;
}
.text-primary{
    color: #c17c54 !important;
}
:root {
  /* Brand Colors - Warm Palette (Cozy Cafe) */
  --brand: #c17c54;
  --brand-dark: #a55c3c;
  --brand-light: #d89c7c;
  --accent: #8b4513;
  --muted: #f8f9fa;
  --bg: #ffffff;
  --text: #2d3748;
  --text-muted: #718096;
  --border: #e2e8f0;
  
  /* Alternative Modern Palette (Upscale Bistro) - Uncomment to use */
  /*
  --brand: #2c5530;
  --brand-dark: #1e3a24;
  --brand-light: #4a7856;
  --accent: #d4af37;
  --muted: #f8f9fa;
  --bg: #ffffff;
  --text: #2d3748;
  --text-muted: #718096;
  --border: #e2e8f0;
  */

  /* Typography Scale */
  --h1: 3rem;      /* 48px */
  --h2: 2rem;      /* 32px */
  --h3: 1.5rem;    /* 24px */
  --h4: 1.25rem;   /* 20px */
  --h5: 1.125rem;  /* 18px */
  --body-size: 1rem; /* 16px */
  --small: 0.875rem; /* 14px */

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-xxl: 4rem;

  /* Border Radius */
  --radius: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;

  /* Container */
  --container-max-width: 1200px;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

/* Base Styles */
* {
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: var(--body-size);
  line-height: 1.6;
  color: var(--text);
  margin: 0 !important;
  background-color: var(--bg);
  min-width: 98vw !important;
  max-width: 100vw !important;
  overflow-x: hidden !important;
}

.btn-outline-primary:active, .btn-outline-primary:focus, .btn-outline-primary:hover, .btn-light:active, .btn-light:focus, .btn-light:hover {
  background-color: var(--brand) !important;
  border-color: var(--brand) !important;
  color: #fff !important;
}

.carousel-control-prev, .carousel-control-next {
    filter: invert(29%) sepia(83%) saturate(749%) hue-rotate(3deg) brightness(95%) contrast(90%);
}

a{
  color: var(--brand);
  text-decoration: none;
  transition: color 0.3s ease;
}
a.social-link:hover{
  color: #fff;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Lora', serif;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: var(--space-sm);
}

h1 { font-size: var(--h1); }
h2 { font-size: var(--h2); }
h3 { font-size: var(--h3); }
h4 { font-size: var(--h4); }
h5 { font-size: var(--h5); }

.lead {
  font-size: 1.25rem;
  font-weight: 300;
  color: var(--text);
}

.page-header .lead{
  color: var(--muted)
}

/* Header & Navigation */
.header {
  background: var(--bg);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: all 0.3s ease;
  margin: 0 !important
}

.header.scrolled {
  box-shadow: var(--shadow-md);
}

.navbar-brand img {
  transition: transform 0.3s ease;
}

.navbar-brand:hover img {
  transform: scale(1.05);
}

.nav-link {
  font-weight: 500;
  padding: var(--space-sm) var(--space-md) !important;
  color: var(--text) !important;
  transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--brand) !important;
}

/* Buttons */
.btn {
  font-weight: 500;
  border-radius: var(--radius);
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-primary {
  background-color: var(--brand);
  border-color: var(--brand);
}

.btn-primary:hover {
  background-color: var(--brand-dark);
  border-color: var(--brand-dark);
  transform: translateY(-1px);
}

.btn-outline-primary {
  color: var(--brand);
  border-color: var(--brand);
}

.btn-outline-primary:hover {
  background-color: var(--brand);
  border-color: var(--brand);
  transform: translateY(-1px);
}

/* Hero Section */
.hero-section {
  padding: var(--space-xxl) 0;
  background: linear-gradient(135deg, var(--muted) 0%, var(--bg) 100%);
  position: relative;
  margin: 0;
}

.min-vh-80 {
  min-height: 80vh;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, var(--h1));
  margin-bottom: var(--space-md);
  color: var(--text);
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: var(--space-lg);
}

.hero-image {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  transition: transform 0.3s ease;
}

.hero-image:hover {
  transform: scale(1.02);
}
.offcanvas{
  height: 100% !important;
}
/* Sticky CTA */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg);
  padding: var(--space-sm);
  box-shadow: var(--shadow-lg);
  z-index: 99;
}

/* Sections */
.section {
  padding: var(--space-xxl) 0;
}

.section-header {
  margin-bottom: var(--space-xl);
}

/* Category Cards */
.category-card {
  background: var(--bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  height: 100%;
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.category-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.category-content {
  padding: var(--space-lg);
}

/* Menu Cards */
.menu-card {
  border: none;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  height: 100%;
}

.menu-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.menu-card .card-img-top {
  height: 200px;
  object-fit: cover;
}

.menu-card .price {
  font-size: var(--h4);
  font-weight: 600;
  color: var(--brand);
}

/* Promo Banner */
.promo-banner {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: white;
  padding: var(--space-xl) 0;
  text-align: center;
}

.promo-text {
  font-size: 1.25rem;
  margin-bottom: var(--space-lg);
  opacity: 0.9;
}

/* Testimonials */
.testimonial-card {
  background: var(--bg);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  margin: 0 var(--space-sm);
}

.testimonial-text {
  font-size: 1.125rem;
  font-style: italic;
  margin-bottom: var(--space-lg);
}

.stars {
  color: #fbbf24;
}

/* Footer */
.footer {
  padding: var(--space-xxl) 0 var(--space-lg);
  margin: 0 !important;
}

.footer a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: var(--brand-light);
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: var(--brand);
  transform: translateY(-2px);
}

/* Page Headers */
.page-header {
  padding: var(--space-xl) 0;
  text-align: center;
}

/* Forms */
.form-control,
.form-select {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: var(--space-sm) var(--space-md);
  transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 0.2rem rgba(193, 124, 84, 0.25);
}

/* Reservation & Contact Cards */
.reservation-card,
.contact-form-card {
  background: var(--bg);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

/* Menu Filters */
.filter-tags .btn {
  margin: 0 var(--space-xs) var(--space-xs) 0;
}

/* Dietary Tags */
.badge {
  font-weight: 500;
  padding: var(--space-xs) var(--space-sm);
}

/* Team Cards */
.team-card {
  background: var(--bg);
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.team-img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: var(--space-md);
}

.team-role {
  color: var(--brand);
  font-weight: 500;
  margin-bottom: var(--space-sm);
}

/* Event Cards */
.space-card {
  background: var(--bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  height: 100%;
}

.space-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.space-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.space-content {
  padding: var(--space-lg);
}

.space-capacity {
  color: var(--brand);
  font-weight: 500;
}

.space-features {
  list-style: none;
  padding: 0;
  margin: var(--space-md) 0 0;
}

.space-features li {
  margin-bottom: var(--space-xs);
}

/* Gallery */
.gallery-img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform 0.3s ease;
}

.gallery-img:hover {
  transform: scale(1.05);
}

/* Value & Event Type Cards */
.value-card,
.event-type-card {
  padding: var(--space-lg);
  text-align: center;
}

.value-icon,
.event-icon {
  width: 80px;
  height: 80px;
  background: var(--brand);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-md);
  font-size: 1.5rem;
}

/* Contact Info */
.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: var(--space-lg);
}

.contact-icon {
  width: 40px;
  height: 40px;
  background: var(--brand);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: var(--space-md);
  flex-shrink: 0;
}

.contact-details h4 {
  margin-bottom: var(--space-xs);
}

/* Map Placeholder */
.map-placeholder {
  background: var(--muted);
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg);
}

/* Cart Styles */
.cart-item {
  display: flex;
  align-items: center;
  padding: var(--space-md);
  border-bottom: 1px solid var(--border);
}

.cart-item-img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: var(--radius);
  margin-right: var(--space-md);
}

.cart-item-details {
  flex: 1;
}

.cart-item-controls {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.quantity-btn {
  width: 30px;
  height: 30px;
  border: 1px solid var(--border);
  background: var(--bg);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.quantity-input {
  width: 50px;
  text-align: center;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-xs);
}

/* Responsive Design */
@media (max-width: 768px) {
  :root {
    --h1: 2.5rem;
    --h2: 1.75rem;
    --h3: 1.25rem;
  }
  *{
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  body{
    overflow-x: hidden !important;
  }
  
  .section {
    padding: var(--space-xl) 0;
  }
  
  .hero-section {
    padding: var(--space-xl) 0;
  }
  
  .hero-actions .btn {
    width: 100%;
    margin-bottom: var(--space-sm);
  }
  
  .filter-tags .btn {
    margin-bottom: var(--space-xs);
  }
}

/* Print Styles */
@media print {
  .header,
  .footer,
  .sticky-cta,
  .btn {
    display: none !important;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.4;
  }
  
  .container {
    max-width: none;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --brand: #000000;
    --text: #000000;
    --border: #000000;
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Loading states */
.loading {
  opacity: 0.7;
  pointer-events: none;
}

.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid var(--border);
  border-top: 2px solid var(--brand);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }

}
















