/* ===================================
   GARAGE DU BASSIN BLEU - Custom CSS
   =================================== */

/* --- Variables CSS --- */
:root {
  --color-primary: #2596be;
  --color-primary-dark: #1e7a9a;
  --color-secondary: #e85b15;
  --color-secondary-dark: #c94d10;
  --color-dark: #1a1a2e;
  --color-light: #f8fafc;
  --color-gray: #64748b;
  --header-height: 80px;
  --header-height-shrink: 60px;
}

/* --- Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700;800&family=Barlow:wght@400;500&display=swap');

/* --- Base --- */
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Barlow', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Barlow Condensed', sans-serif;
}

/* --- Header Sticky & Shrink --- */
.header-sticky {
  transition: all 0.3s ease-in-out;
}

.header-sticky.shrink {
  padding-top: 0.5rem !important;
  padding-bottom: 0.5rem !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.header-sticky.shrink .logo-text {
  font-size: 1.25rem !important;
}

/* --- Hero Background Overlay --- */
.hero-overlay {
  background: linear-gradient(135deg, rgba(26, 26, 46, 0.9) 0%, rgba(37, 150, 190, 0.7) 100%);
}

/* --- Button Pulse Animation --- */
.btn-pulse {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(232, 91, 21, 0.7);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(232, 91, 21, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(232, 91, 21, 0);
  }
}

/* --- Service Cards Hover --- */
.service-card {
  transition: all 0.3s ease-in-out;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(37, 150, 190, 0.2);
}

.service-card:hover .service-icon {
  transform: scale(1.1);
  color: var(--color-secondary);
}

.service-icon {
  transition: all 0.3s ease-in-out;
}

/* --- Service Detail Card (simple levitation) --- */
.service-detail-card {
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.service-detail-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* --- Nav Link Underline Effect --- */
.nav-link {
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-secondary);
  transition: width 0.3s ease-in-out;
}

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

/* --- Brand Logo Hover --- */
.brand-logo {
  filter: grayscale(100%);
  opacity: 0.6;
  transition: all 0.3s ease-in-out;
}

.brand-logo:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/* --- Modal Backdrop --- */
.modal-backdrop {
  background: rgba(26, 26, 46, 0.8);
  backdrop-filter: blur(4px);
}

/* --- Scroll to Top Button --- */
.scroll-top {
  transition: all 0.3s ease-in-out;
}

.scroll-top:hover {
  transform: translateY(-12px);
}

/* --- Feature List Checkmarks --- */
.feature-check {
  color: var(--color-secondary);
}

/* --- CTA Section Gradient --- */
.cta-gradient {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
}

/* --- Footer Links Hover --- */
.footer-link {
  transition: color 0.3s ease-in-out;
}

.footer-link:hover {
  color: var(--color-secondary);
}

/* --- Mobile Menu Animation --- */
.mobile-menu {
  transition: all 0.3s ease-in-out;
}

/* --- Responsive Adjustments --- */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem !important;
  }
  
  .section-title {
    font-size: 2rem !important;
  }
}
