/* CSS Design System - Gros Sud Motocyclette */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@400;600;700;800&display=swap');

:root {
  /* Colors */
  --bg-color: #f9fafb;
  --bg-card: #ffffff;
  --bg-card-hover: #ffffff;
  --text-color: #111827;
  --text-muted: #4b5563;
  
  --primary: #ff6f00; /* Orange néon */
  --primary-hover: #e65100;
  --primary-glow: rgba(255, 111, 0, 0.15);
  
  --accent: #f3f4f6;
  --accent-border: rgba(0, 0, 0, 0.08);
  --accent-border-hover: rgba(255, 111, 0, 0.3);
  
  --success: #10b981;
  --success-bg: rgba(16, 185, 129, 0.05);
  --error: #ef4444;
  --error-bg: rgba(239, 68, 68, 0.05);
  
  --font-title: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Layout & Glassmorphism */
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-blur: 16px;
  --radius: 12px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Browser UI adaptation */
  color-scheme: light;
}

/* Base resets */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  accent-color: var(--primary);
  scrollbar-color: var(--primary) #121214;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(255, 111, 0, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(255, 111, 0, 0.05) 0%, transparent 40%);
  background-attachment: fixed;
}

a {
  color: inherit;
  text-decoration: none;
}

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

/* Scrollbar styling for Webkit */
@supports not (scrollbar-color: auto) {
  ::-webkit-scrollbar {
    width: 10px;
  }
  ::-webkit-scrollbar-track {
    background: #f3f4f6;
  }
  ::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 5px;
  }
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--accent-border);
  transition: var(--transition);
}

header.scrolled {
  padding: 0.5rem 0;
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  font-family: var(--font-title);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo span {
  color: var(--primary);
  text-shadow: 0 0 10px var(--primary-glow);
}

.logo-img {
  height: 55px;
  width: auto;
  object-fit: contain;
  transition: var(--transition);
  border-radius: var(--radius);
  border: 1px solid var(--accent-border);
  background-color: rgba(0, 0, 0, 0.2);
}

.logo:hover .logo-img {
  transform: scale(1.05);
  border-color: var(--primary);
  box-shadow: 0 0 15px var(--primary-glow);
}

.logo-text {
  color: var(--text-color);
  font-family: var(--font-title);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  transition: var(--transition);
}

.logo:hover .logo-text {
  color: var(--primary);
  text-shadow: 0 0 10px var(--primary-glow);
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

nav a {
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition);
  position: relative;
  padding: 0.5rem 0;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: var(--transition);
}

nav a:hover {
  color: var(--primary);
}

nav a:hover::after {
  width: 100%;
}

.nav-cta {
  background: var(--primary);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  box-shadow: 0 4px 15px var(--primary-glow);
  transition: var(--transition);
}

.nav-cta:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 111, 0, 0.4);
}

/* Burger menu (mobile) */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-color);
  font-size: 1.75rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.hero-bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(249, 250, 251, 0.96) 30%, rgba(249, 250, 251, 0.75) 100%);
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  max-width: 700px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: rgba(255, 111, 0, 0.1);
  border: 1px solid rgba(255, 111, 0, 0.3);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero h1 {
  font-family: var(--font-title);
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  text-wrap: balance;
}

.hero h1 span {
  color: var(--primary);
  display: inline-block;
  position: relative;
}

.hero p {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 600px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  border-radius: var(--radius);
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--text-color);
  box-shadow: 0 4px 15px var(--primary-glow);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 111, 0, 0.4);
}

.btn-secondary {
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--text-color);
  border: 1px solid var(--accent-border);
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: var(--primary);
  transform: translateY(-2px);
}

/* Sections General */
section {
  padding: 8rem 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 5rem auto;
}

.section-badge {
  color: var(--primary);
  text-transform: uppercase;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 2px;
  display: block;
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-title);
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* Presentation Section */
.presentation-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.presentation-text h3 {
  font-family: var(--font-title);
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.presentation-text p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.presentation-text strong {
  color: var(--text-color);
}

.presentation-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2.5rem;
}

.stat-item {
  background-color: var(--bg-card);
  border: 1px solid var(--accent-border);
  padding: 1.5rem;
  border-radius: var(--radius);
  transition: var(--transition);
}

.stat-item:hover {
  border-color: var(--accent-border-hover);
  transform: translateY(-5px);
}

.stat-number {
  font-family: var(--font-title);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  color: var(--text-muted);
}

.presentation-image {
  position: relative;
}

.image-wrapper {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  border: 1px solid var(--accent-border);
}

.image-wrapper img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  transition: var(--transition);
}

.presentation-image:hover img {
  transform: scale(1.05);
}

.image-badge {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  background-color: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--accent-border);
  padding: 1rem 1.5rem;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.image-badge-icon {
  width: 40px;
  height: 40px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.image-badge-text h4 {
  font-size: 0.95rem;
  font-weight: 700;
}

.image-badge-text p {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Prestations Section */
.prestations-categories {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.prestation-card {
  background-color: var(--bg-card);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.prestation-card:hover {
  background-color: var(--bg-card-hover);
  border-color: var(--accent-border-hover);
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

.prestation-icon {
  width: 60px;
  height: 60px;
  background-color: rgba(255, 111, 0, 0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: var(--primary);
  margin-bottom: 2rem;
  border: 1px solid rgba(255, 111, 0, 0.2);
  transition: var(--transition);
}

.prestation-card:hover .prestation-icon {
  background-color: var(--primary);
  color: var(--text-color);
  transform: scale(1.1);
  box-shadow: 0 0 15px var(--primary-glow);
}

.prestation-card h3 {
  font-family: var(--font-title);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.prestation-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.prestation-list li {
  font-size: 0.9rem;
  color: var(--text-muted);
  padding-left: 1.25rem;
  position: relative;
}

.prestation-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--primary);
  transition: var(--transition);
}

.prestation-card:hover .prestation-list li::before {
  transform: translateX(3px);
}

/* Gallery Section */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--accent-border);
  aspect-ratio: 1 / 1;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(11, 11, 13, 0.9) 0%, rgba(11, 11, 13, 0.3) 60%, transparent 100%);
  opacity: 0;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
}

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

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

.gallery-overlay h4 {
  font-family: var(--font-title);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: #ffffff; /* Explicit white color for the dark overlay */
}

.gallery-overlay p {
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 600;
}

/* Contact & Map Section */
.contact-section {
  background-image: radial-gradient(circle at 50% 50%, rgba(255, 111, 0, 0.03) 0%, transparent 70%);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1.8fr;
  gap: 4rem;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.info-card {
  background-color: var(--bg-card);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: var(--transition);
}

.info-card:hover {
  border-color: var(--accent-border-hover);
}

.info-item {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.info-item:last-child {
  margin-bottom: 0;
}

.info-icon {
  font-size: 1.5rem;
  color: var(--primary);
  background: rgba(255, 111, 0, 0.1);
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 111, 0, 0.2);
  flex-shrink: 0;
}

.info-details h4 {
  font-family: var(--font-title);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.info-details p, .info-details a {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.info-details a:hover {
  color: var(--primary);
}

/* Map styling */
#map-container {
  height: 350px;
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--accent-border);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  z-index: 1;
}

/* Map popup styled to match theme */
.leaflet-popup-content-wrapper, .leaflet-popup-tip {
  background: #ffffff !important;
  color: var(--text-color) !important;
  border: 1px solid var(--accent-border) !important;
}

/* Contact Form Styling */
.contact-form-container {
  background-color: var(--bg-card);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius);
  padding: 3rem;
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
}

.form-title {
  font-family: var(--font-title);
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 2rem;
  position: relative;
  display: inline-block;
}

.form-title::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 40px;
  height: 3px;
  background-color: var(--primary);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-full {
  grid-column: span 2;
}

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

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-group input, 
.form-group select, 
.form-group textarea {
  width: 100%;
  padding: 1rem;
  background-color: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius);
  color: var(--text-color);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition);
  outline: none;
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255, 111, 0, 0.15);
  background-color: rgba(0, 0, 0, 0.4);
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f3f4f6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1.25em;
  padding-right: 2.5rem;
}

.form-group select option {
  background-color: var(--bg-color);
  color: var(--text-color);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* MODERN FORM VALIDATION */
/* Using :user-invalid and :user-valid rules based on Google Guidance */
.form-group input:user-invalid,
.form-group select:user-invalid,
.form-group textarea:user-invalid {
  border-color: var(--error);
  background-color: var(--error-bg);
}

.form-group input:user-valid,
.form-group select:user-valid,
.form-group textarea:user-valid {
  border-color: var(--success);
}

.error-msg {
  display: none;
  color: var(--error);
  font-size: 0.85rem;
  margin-top: 0.25rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

/* Native/Fallback CSS selectors for invalidity */
.form-group input:user-invalid + .error-msg,
.form-group select:user-invalid + .error-msg,
.form-group textarea:user-invalid + .error-msg,
.form-group input.user-invalid-fallback + .error-msg {
  display: flex;
}

/* Fallback border rules */
.form-group input.user-invalid-fallback,
.form-group select.user-invalid-fallback,
.form-group textarea.user-invalid-fallback {
  border-color: var(--error);
  background-color: var(--error-bg);
}

.form-group input.user-valid-fallback,
.form-group select.user-valid-fallback,
.form-group textarea.user-valid-fallback {
  border-color: var(--success);
}

/* Toast Notifications styling */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 400px;
}

.toast {
  background-color: var(--bg-card);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  animation: slideInRight 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  transition: var(--transition);
}

.toast.toast-success {
  border-left: 4px solid var(--success);
}

.toast.toast-error {
  border-left: 4px solid var(--error);
}

.toast-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
}

.toast-success .toast-icon {
  color: var(--success);
}

.toast-error .toast-icon {
  color: var(--error);
}

.toast-content h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.toast-content p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.toast-close {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1rem;
  margin-left: auto;
  align-self: center;
}

.toast-close:hover {
  color: var(--text-color);
}

/* Footer Section */
footer {
  background-color: #f3f4f6;
  border-top: 1px solid var(--accent-border);
  padding: 5rem 0 2rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-info .logo {
  margin-bottom: 1.5rem;
}

.footer-info p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  max-width: 320px;
}

.footer-socials {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 40px;
  height: 40px;
  border: 1px solid var(--accent-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.social-link:hover {
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: 0 0 10px var(--primary-glow);
  transform: translateY(-2px);
}

.footer-links h4, .footer-hours h4 {
  font-family: var(--font-title);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  position: relative;
}

.footer-links h4::after, .footer-hours h4::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 25px;
  height: 2px;
  background-color: var(--primary);
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.95rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--primary);
  padding-left: 5px;
}

.footer-hours-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-hours-list li {
  display: flex;
  justify-content: space-between;
  font-size: 0.95rem;
  color: var(--text-muted);
  border-bottom: 1px dashed rgba(0,0,0,0.08);
  padding-bottom: 0.25rem;
}

.footer-hours-list li span:last-child {
  color: var(--text-color);
  font-weight: 500;
}

.footer-bottom {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Animations */
@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes fadeOut {
  to {
    opacity: 0;
    visibility: hidden;
  }
}

/* PROGRESSIVE ENHANCEMENT: Scroll reveal classes */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Native View Timeline support for modern browsers (Chrome, Safari 26, etc) */
@media (prefers-reduced-motion: no-preference) {
  @supports ((animation-timeline: view()) and (animation-range: entry)) {
    @keyframes revealUp {
      from {
        opacity: 0;
        transform: translateY(50px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }
    
    .native-reveal {
      animation: revealUp auto linear backwards;
      animation-timeline: view();
      animation-range: entry 10% cover 40%;
    }
    
    /* Disable Intersection Observer CSS transitions if native view animations exist */
    .reveal {
      opacity: 1;
      transform: none;
      transition: none;
    }
  }
}

/* Responsive design */
@media (max-width: 1024px) {
  .prestations-categories {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-container {
    height: 70px;
  }
  
  nav {
    display: none; /* Hide standard nav on mobile */
  }
  
  .mobile-nav-toggle {
    display: block;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .presentation-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .image-wrapper img {
    height: 350px;
  }
  
  .contact-info {
    order: 2;
  }
  
  .contact-form-container {
    padding: 2rem 1.5rem;
  }
  
  .form-grid {
    grid-template-columns: 1fr;
  }
  
  .form-full {
    grid-column: span 1;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .prestations-categories,
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-actions {
    flex-direction: column;
  }
}
