/* --- CSS Variables --- */
/* إلغاء جميع تأثيرات التناوب */
.table-striped > tbody > tr:nth-of-type(odd) > *,
.table-striped > tbody > tr:nth-of-type(even) > * {
  background-color: var(--table-bg) !important;
}

/* إزالة أي تناوب من Bootstrap */
.table-striped tbody tr:nth-of-type(odd),
.table-striped tbody tr:nth-of-type(even) {
  background-color: var(--table-bg) !important;
}
/* تجاوز متغيرات Bootstrap */
.table {
  --bs-table-bg: var(--table-bg) !important;
  --bs-table-accent-bg: transparent !important;
  --bs-table-striped-bg: var(--table-bg) !important;
  --bs-table-striped-color: var(--text-primary) !important;
}
:root {
    
  --primary-color: #b6863d;          /* الذهبي */
  --primary-dark: #b39700;           /* ذهبي داكن */
  --primary-light: #fff9c4;          /* ذهبي فاتح */
  
  /* Dark Theme (Default) */
  --dark-bg: #121212;                /* خلفية سوداء داكنة */
  --card-bg: #1e1e1e;               /* خلفية البطاقات */
  --secondary-bg: #2d2d2d;          /* خلفية ثانوية */
  --border-color: #444444;          /* لون الحدود */
  
  /* Text Colors */
  --text-primary: #ffffff;          /* نص أساسي أبيض */
  --text-secondary: #e0e0e0;        /* نص ثانوي */
  --text-muted: #aaaaaa;            /* نص باهت */
  
  /* Table Colors - Dark */
  --table-bg: #1e1e1e;             /* خلفية الجدول */
  --table-header-bg: #2d2d2d;      /* خلفية الهيدر */
  --table-border: #444444;         /* حدود الجدول */
  --table-row-hover: #333333;      /* خلفية الصف عند التحويم */
  
  /* General */
  --border-radius: 12px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  --shadow-hover: 0 8px 32px rgba(255, 215, 0, 0.25);
  --card-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

/* Light Theme Variables */
[data-theme="light"] {
  --dark-bg: #ffffff;               /* خلفية بيضاء */
  --card-bg: #ffffff;              /* خلفية البطاقات بيضاء */
  --secondary-bg: #f8f9fa;         /* خلفية ثانوية */
  --border-color: #dee2e6;         /* حدود رمادية فاتحة */
  
  --text-primary: #212529;         /* نص أساسي أسود */
  --text-secondary: #495057;       /* نص ثانوي */
  --text-muted: #6c757d;           /* نص باهت */
  
  /* Table Colors - Light */
  --table-bg: #ffffff;             /* خلفية الجدول */
  --table-header-bg: #f8f9fa;      /* خلفية الهيدر */
  --table-border: #dee2e6;         /* حدود الجدول */
  --table-row-hover: #f8f9fa;      /* خلفية الصف عند التحويم */
  
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 8px 32px rgba(255, 215, 0, 0.15);
  --card-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* --- General Styles --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  font-family: 'Cairo', sans-serif;
  background-color: var(--dark-bg);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  direction: rtl;
  transition: var(--transition);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* تحسين النصوص للقراءة */
p, li, td, th, span, .text-muted, .lead {
  color: var(--text-primary);
  font-weight: 400;
  letter-spacing: 0.2px;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
}

h1 { 
  font-size: clamp(2.75rem, 6vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.5px;
}
h2 { 
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 700;
}
h3 { 
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 600;
}
h4 { 
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
}

.text-gradient {
  
   color: var(--primary-color) !important;
  font-weight: 600;
}

.lead {
  font-size: 1.3rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  font-weight: 400;
  line-height: 1.8;
  opacity: 0.95;
}

.text-muted {
  color: var(--text-muted) !important;
  opacity: 0.9;
}

.text-warning {
  color: var(--primary-color) !important;
  font-weight: 600;
  text-decoration: none !important;
}

/* --- Sections --- */
section {
  padding: 100px 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  position: relative;
  display: inline-block;
  margin-bottom: 2rem;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -12px;
  right: 50%;
  transform: translateX(50%);
  width: 100px;
  height: 5px;
  background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
  border-radius: 3px;
}

/* --- Buttons --- */
.btn {
  border-radius: 50px;
  padding: 16px 36px;
  font-weight: 600;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}

.btn:hover::before {
  left: 100%;
}

.btn-brand {
  background: var(--primary-color);
  color: #000000;
  font-weight: 700;
  border: 2px solid var(--primary-color);
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.btn-brand:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  color: #000000;
  background: #ffec8b;
}

.btn-outline-warning {
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  background: transparent;
}

.btn-outline-warning:hover {
  background-color: var(--primary-color);
  color: #000000;
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.btn-outline-light {
  border: 2px solid var(--text-primary);
  color: var(--text-primary);
  background: transparent;
}

.btn-outline-light:hover {
  background-color: var(--text-primary);
  color: var(--dark-bg);
  transform: translateY(-5px);
}

/* --- Theme Toggle Button --- */
.theme-toggle {
  position: fixed;
  top: 120px;
  left: 25px;
  z-index: 1001;
}

.theme-toggle-btn {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background: var(--card-bg);
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow);
  font-size: 1.2rem;
}

.theme-toggle-btn:hover {
  transform: rotate(360deg) scale(1.1);
  background: var(--primary-color);
  color: #000000;
}

/* --- Language Toggle --- */
.language-toggle {
  position: fixed;
  top: 185px;
  left: 25px;
  z-index: 1001;
}

.language-toggle-btn {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background: var(--card-bg);
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow);
  font-weight: bold;
  font-size: 16px;
}

.language-toggle-btn:hover {
  transform: scale(1.1);
  background: var(--primary-color);
  color: #000000;
}

/* --- Navbar --- */
.navbar {
  background: var(--dark-bg);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.navbar-scrolled {
  padding: 0.75rem 0;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.navbar-brand img {
  height: 60px;
  transition: var(--transition);
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.nav-link {
  position: relative;
  padding: 0.75rem 1.25rem !important;
  font-weight: 600;
  color: var(--text-primary) !important;
  transition: var(--transition);
  font-size: 1.05rem;
  margin: 0 0.25rem;
  border-radius: 8px;
}

.nav-link:hover {
  background: rgba(255, 215, 0, 0.1);
  color: var(--primary-color) !important;
  transform: translateY(-2px);
}

.nav-link.active {
  background: rgba(255, 215, 0, 0.15);
  color: var(--primary-color) !important;
  border-radius: 8px;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 5px;
  right: 50%;
  transform: translateX(50%);
  width: 30px;
  height: 3px;
  background: var(--primary-color);
  border-radius: 2px;
}

/* --- Hero Section --- */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(18, 18, 18, 0.95), rgba(30, 30, 30, 0.9));
}

[data-theme="light"] .hero {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(248, 249, 250, 0.95));
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.3;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.hero h1 {
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero .lead {
  font-size: 1.4rem;
  margin-bottom: 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* --- Cards --- */
.card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  transition: var(--transition);
  height: 100%;
  overflow: hidden;
  padding: 2.5rem;
  box-shadow: var(--card-shadow);
}

.card:hover {
  transform: translateY(-10px);
  border-color: var(--primary-color);
  box-shadow: var(--shadow-hover);
}

.card-icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  transition: var(--transition);
}

.card:hover .card-icon {
  transform: scale(1.2) rotate(5deg);
}

.price-card {
  position: relative;
  overflow: hidden;
  border: 2px solid transparent;
}

.price-card.featured {
  border-color: var(--primary-color);
  transform: scale(1.05);
  box-shadow: 0 10px 40px rgba(255, 215, 0, 0.2);
}

.price-badge {
  position: absolute;
  top: 20px;
  right: -30px;
  background: var(--primary-color);
  color: #000000;
  padding: 0.5rem 3rem;
  transform: rotate(45deg);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 1px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.offer-badge {
  position: absolute;
  top: -1px;
  right: 20px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: #000000;
  padding: 8px 20px;
  font-weight: bold;
  border-radius: 0 0 15px 15px;
  font-size: 1.2rem;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
  z-index: 1;
}

/* --- Tables - تصميم UX محسن --- */
.table-container {
  overflow-x: auto;
  border-radius: var(--border-radius);
  background: var(--table-bg);
  padding: 0;
  margin: 2rem 0;
  border: 1px solid var(--table-border);
  box-shadow: var(--shadow);
  position: relative;
}

.table-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), transparent);
  border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.table {
  background: var(--table-bg);
  margin-bottom: 0;
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
  color: var(--text-primary);
  border-radius: var(--border-radius);
  overflow: hidden;
}

/* إزالة جميع تأثيرات التناوب */
.table-striped tbody tr:nth-of-type(odd),
.table-striped tbody tr:nth-of-type(even) {
  background-color: var(--table-bg) !important;
}

/* تصميم رأس الجدول */
.table th {
  background: var(--table-header-bg);
  font-weight: 700;
  padding: 1.5rem 1rem;
  white-space: nowrap;
  border-color: var(--table-border);
  /* color: var(--text-primary); */
  font-size: 1.1rem;
  border-bottom: 2px solid var(--primary-color);
  text-align: center;
  position: relative;
  transition: var(--transition);
}

.table th::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: width 0.3s ease;
}

.table th:hover::after {
  width: 100%;
}

/* تصميم خلايا الجدول */
.table td {
  padding: 1.5rem 1rem;
  vertical-align: middle;
  border-color: var(--table-border);
  color: var(--text-primary);
  font-size: 1rem;
  border-bottom: 1px solid var(--table-border);
  text-align: center;
  background-color: var(--table-bg) !important;
  transition: var(--transition);
}

/* تأثير التحويم على الصفوف */
.table tbody tr {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background-color: var(--table-bg) !important;
}

.table tbody tr:hover {
  background-color: var(--table-row-hover) !important;
  transform: translateX(-5px);
  box-shadow: inset 4px 0 0 var(--primary-color);
}

/* رؤوس المجموعات داخل الجداول */
.table-offer-header {
  background: linear-gradient(90deg, rgba(255, 215, 0, 0.1), rgba(255, 215, 0, 0.2)) !important;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-primary);
  border-top: 2px solid var(--primary-color);
  border-bottom: 2px solid var(--primary-color);
}

/* تصميم الأسعار */
.price-before {
  text-decoration: line-through;
  color: var(--text-muted);
  opacity: 0.7;
  font-size: 0.95rem;
}

.price-after {
  color: var(--primary-color) !important;
  font-weight: 800;
  font-size: 1.2rem;
  text-shadow: 0 2px 4px rgba(255, 215, 0, 0.2);
  position: relative;
 
}

.price-after::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
  border-radius: 1px;
}

/* تحسينات إضافية للجداول */
.table-bordered {
  border: 1px solid var(--table-border);
}

.table-bordered th,
.table-bordered td {
  border: 1px solid var(--table-border);
}

.table-hover tbody tr:hover {
  background-color: var(--table-row-hover) !important;
}

/* --- Service Card --- */
.service-card {
  background-color: var(--card-bg);
  padding: 2.5rem;
  border-radius: var(--border-radius);
  border: 1px solid var(--border-color);
  height: 100%;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--card-shadow);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  transform: translateY(-10px);
  background-color: var(--card-bg);
  border-color: var(--primary-color);
  box-shadow: var(--shadow-hover);
}

.service-card .icon {
  font-size: 3.5rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  transition: var(--transition);
}

.service-card:hover .icon {
  transform: scale(1.2) rotate(10deg);
}

.service-card h3 {
  margin-bottom: 1rem;
  color: var(--text-primary);
  transition: var(--transition);
}

.service-card p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 0;
}

/* --- Details Card --- */
.details-card {
  background-color: var(--card-bg);
  padding: 2.5rem;
  border-radius: var(--border-radius);
  border: 1px solid var(--border-color);
  height: 100%;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  box-shadow: var(--card-shadow);
}

.details-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(180deg, var(--primary-color), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.details-card:hover::before {
  opacity: 1;
}

.details-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary-color);
  box-shadow: var(--shadow-hover);
}

.details-card ul {
  list-style: none;
  padding: 0;
  text-align: right;
}

.details-card ul li {
  padding: 0.75rem 0;
  color: var(--text-primary);
  font-weight: 400;
  font-size: 1.05rem;
  line-height: 1.7;
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition);
}

.details-card ul li:last-child {
  border-bottom: none;
}

.details-card ul li:hover {
  color: var(--primary-color);
  padding-right: 10px;
}

.details-card ul li i {
  margin-left: 10px;
  color: var(--primary-color);
}

/* --- Notes Card --- */
.notes-card {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.05), rgba(255, 215, 0, 0.1));
  border-right: 5px solid var(--primary-color);
  padding: 2rem;
  border-radius: var(--border-radius);
  position: relative;
  overflow: hidden;
}

.notes-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.notes-card h5 {
  color: var(--primary-color);
  font-weight: 700;
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
}

.notes-card p {
  color: var(--text-primary);
  margin-bottom: 1rem;
  font-weight: 400;
  line-height: 1.8;
  padding-right: 10px;
  position: relative;
}

.notes-card p::before {
  content: '•';
  color: var(--primary-color);
  font-weight: bold;
  position: absolute;
  right: -15px;
}

/* --- Maps --- */
.map-container {
  border-radius: var(--border-radius);
  overflow: hidden;
  height: 350px;
  background: var(--card-bg);
  position: relative;
  margin-bottom: 1.5rem;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.map-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border: 2px solid var(--primary-color);
  border-radius: var(--border-radius);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.map-container:hover::before {
  opacity: 0.3;
}

/* --- Footer --- */
footer {
  background: var(--secondary-bg);
  padding: 4rem 0 1.5rem;
  border-top: 4px solid var(--primary-color);
  position: relative;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), transparent);
}

.social-links {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin: 2.5rem 0;
}

.social-link {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--card-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  text-decoration: none;
  transition: var(--transition);
  border: 1px solid var(--border-color);
  font-size: 1.2rem;
  position: relative;
  overflow: hidden;
}

.social-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--primary-color);
  border-radius: 50%;
  transform: scale(0);
  transition: transform 0.3s ease;
}

.social-link:hover::before {
  transform: scale(1);
}

.social-link i {
  position: relative;
  z-index: 1;
  transition: var(--transition);
}

.social-link:hover {
  transform: translateY(-5px);
  border-color: var(--primary-color);
  box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

.social-link:hover i {
  color: #000000;
}

/* --- Alert --- */
.alert-warning {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 215, 0, 0.2));
  border: 1px solid var(--primary-color);
  color: var(--text-primary);
  padding: 1.25rem;
  border-radius: var(--border-radius);
  border-right: 5px solid var(--primary-color);
  box-shadow: var(--card-shadow);
}

/* --- WhatsApp Floating Button --- */
.whatsapp-float {
  position: fixed;
  bottom: 40px;
  left: 40px;
  width: 65px;
  height: 65px;
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: #fff;
  border-radius: 50%;
  text-align: center;
  font-size: 32px;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: var(--transition);
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.whatsapp-float:hover {
  transform: scale(1.1);
  color: #fff;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
  animation: none;
}

.whatsapp-float::after {
  content: '';
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.3);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); opacity: 0.7; }
  70% { transform: scale(1.1); opacity: 0; }
  100% { transform: scale(0.95); opacity: 0; }
}

/* --- Text Colors --- */
.text-success {
  color: var(--text-primary) !important;
  font-weight: bold;
}

.text-danger {
  color: var(--text-primary) !important;
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.15), rgba(255, 215, 0, 0.25));
  padding: 8px 16px;
  border-radius: 6px;
  font-weight: 600;
  display: inline-block;
  border: 1px solid var(--primary-color);
}

/* --- Background Colors --- */
.bg-dark {
  background-color: var(--dark-bg) !important;
}

.bg-secondary {
  background-color: var(--secondary-bg) !important;
}

/* --- Responsive Design --- */
@media (max-width: 1200px) {
  .container {
    max-width: 100%;
    padding: 0 30px;
  }
}

@media (max-width: 992px) {
  section {
    padding: 80px 0;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .hero {
    min-height: 90vh;
  }
  
  .price-card.featured {
    transform: scale(1);
    margin: 2rem 0;
  }
}

@media (max-width: 768px) {
  section {
    padding: 60px 0;
  }
  
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2.2rem; }
  h3 { font-size: 1.8rem; }
  h4 { font-size: 1.5rem; }
  
  .hero {
    min-height: 80vh;
  }
  
  .navbar-brand img {
    height: 45px;
  }
  
  .btn {
    padding: 14px 28px;
    font-size: 1rem;
  }
  
  .table-container {
    margin: 1.5rem -15px;
    border-radius: 0;
  }
  
  .table th,
  .table td {
    padding: 1.2rem 0.8rem;
    font-size: 0.95rem;
  }
  
  .map-container {
    height: 300px;
  }

  .theme-toggle,
  .language-toggle {
    display: none;
  }

  .whatsapp-float {
    width: 55px;
    height: 55px;
    font-size: 28px;
    bottom: 25px;
    left: 25px;
  }

  .lead {
    font-size: 1.15rem;
  }
  
  .card {
    padding: 2rem;
  }
  
  .service-card,
  .details-card {
    padding: 2rem;
  }
  
  .section-header {
    margin-bottom: 3rem;
  }
  
  .section-title {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
  }
  
  .section-title::after {
    width: 80px;
    height: 4px;
    bottom: -10px;
  }
}

@media (max-width: 576px) {
  section {
    padding: 50px 0;
  }
  
  .hero {
    min-height: 70vh;
  }
  
  .hero-content {
    padding: 0 20px;
  }
  
  .social-links {
    flex-wrap: wrap;
    gap: 0.75rem;
  }
  
  .social-link {
    width: 45px;
    height: 45px;
    font-size: 1.1rem;
  }
  
  .card {
    padding: 1.75rem;
  }

  .details-card,
  .service-card {
    padding: 1.75rem;
  }

  .section-title {
    font-size: 1.6rem;
  }
  
  .btn {
    padding: 12px 24px;
    font-size: 0.95rem;
    width: 100%;
    margin-bottom: 10px;
  }
  
  .table-container {
    margin: 1rem -15px;
  }
  
  .table th,
  .table td {
    padding: 1rem 0.6rem;
    font-size: 0.9rem;
  }
  
  .whatsapp-float {
    width: 50px;
    height: 50px;
    font-size: 25px;
    bottom: 20px;
    left: 20px;
  }
  
  .hero h1 {
    font-size: 2.2rem;
  }
  
  .hero .lead {
    font-size: 1.1rem;
  }
  
  .price-after {
    font-size: 1.1rem;
  }
}

/* --- Print Styles --- */
@media print {
  .navbar,
  .btn,
  .social-links,
  footer .text-muted,
  .theme-toggle,
  .language-toggle,
  .whatsapp-float,
  .map-container,
  .section-title::after,
  .btn::before,
  .service-card::before,
  .details-card::before,
  .notes-card::before,
  .map-container::before,
  .social-link::before,
  .whatsapp-float::after {
    display: none !important;
  }
  
  body {
    color: #000 !important;
    background: #fff !important;
    font-size: 12pt;
  }
  
  .container {
    max-width: 100% !important;
    padding: 0 !important;
  }
  
  section {
    padding: 40px 0 !important;
    page-break-inside: avoid;
  }
  
  h1, h2, h3, h4, h5, h6 {
    color: #000 !important;
    page-break-after: avoid;
  }
  
  .table-container {
    box-shadow: none !important;
    border: 1px solid #ddd !important;
    page-break-inside: avoid;
  }
  
  .table {
    color: #000 !important;
    background: #fff !important;
  }
  
  .table th {
    background: #f5f5f5 !important;
    color: #000 !important;
    border-color: #ddd !important;
  }
  
  .table td {
    color: #000 !important;
    background: #fff !important;
    border-color: #ddd !important;
  }
  
  .table tbody tr {
    background: #fff !important;
  }
  
  .price-after {
    color: #000 !important;
    font-weight: bold;
  }
  
  .card {
    border: 1px solid #ddd !important;
    box-shadow: none !important;
    page-break-inside: avoid;
  }
  
  footer {
    border-top: 2px solid #000 !important;
    background: #fff !important;
  }
  
  a {
    color:var(--primary-color) !important;
    text-decoration: none !important;
  }
  
  a[href^="http"]::after {
    content: " (" attr(href) ")";
    font-size: 0.9em;
    color: var(--primary-color);
  }
}

