@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Montserrat:wght@500;600;700;800&display=swap');

/* ===== VARIABLES ===== */
:root {
  --primary-blue: #0A2463;
  --primary-turquoise: #3BCEAC;
  --primary-cyan: #00B4D8;
  --ocean-blue: #1B4965;
  --light-blue: #EBF8FF;
  --sky-blue: #90E0EF;
  --gradient-hero: linear-gradient(135deg, #0A2463 0%, #1B4965 50%, #3BCEAC 100%);
  --gradient-overlay: linear-gradient(180deg, rgba(10,36,99,0.7) 0%, rgba(59,206,172,0.3) 100%);
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', system-ui, sans-serif; color: #111827; background: #fff; }
h1,h2,h3,h4,h5,h6 { font-family: 'Montserrat', sans-serif; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #EBF8FF; }
::-webkit-scrollbar-thumb { background: #3BCEAC; border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: #00B4D8; }

/* ===== LAYOUT ===== */
.container { max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; }
.section-padding { padding: 5rem 0; }
@media (min-width: 1024px) { .section-padding { padding: 8rem 0; } }

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-block;
  background: var(--primary-turquoise);
  color: #fff;
  padding: 1rem 2rem;
  border-radius: 0.5rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  transition: transform 0.3s, box-shadow 0.3s, filter 0.3s;
  box-shadow: 0 4px 15px rgba(59,206,172,0.3);
  border: none;
  cursor: pointer;
  text-align: center;
}
.btn-primary:hover { transform: scale(1.05); filter: brightness(1.1); box-shadow: 0 8px 25px rgba(59,206,172,0.4); }

.btn-white {
  display: inline-block;
  background: #fff;
  color: var(--primary-blue);
  padding: 1rem 2rem;
  border-radius: 0.5rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
  border: none;
  cursor: pointer;
  text-align: center;
}
.btn-white:hover { transform: scale(1.05); box-shadow: 0 8px 25px rgba(0,0,0,0.2); }

.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--primary-blue);
  padding: 1rem 2rem;
  border-radius: 0.5rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid var(--primary-blue);
  transition: background 0.3s, color 0.3s;
  cursor: pointer;
  text-align: center;
}
.btn-secondary:hover { background: var(--primary-blue); color: #fff; }

.btn-secondary.white {
  border-color: #fff;
  color: #fff;
}
.btn-secondary.white:hover { background: #fff; color: var(--primary-blue); }

.btn-group { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }

/* ===== NAVBAR ===== */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.3s, box-shadow 0.3s, backdrop-filter 0.3s;
}
#navbar.scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}
.nav-logo { font-family: 'Montserrat', sans-serif; font-size: 1.4rem; font-weight: 800; }
.nav-logo .logo-blue { color: #fff; transition: color 0.3s; }
.nav-logo .logo-teal { color: var(--primary-turquoise); }
#navbar.scrolled .nav-logo .logo-blue { color: var(--primary-blue); }

.nav-links { display: flex; align-items: center; gap: 2rem; list-style: none; }
.nav-links a {
  font-weight: 600;
  font-size: 0.95rem;
  color: #fff;
  transition: color 0.2s;
}
#navbar.scrolled .nav-links a { color: #374151; }
.nav-links a:hover,
#navbar.scrolled .nav-links a:hover { color: var(--primary-turquoise); }

.nav-cta { display: flex; align-items: center; }
.nav-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  gap: 5px;
}
.nav-hamburger span {
  display: block;
  width: 25px; height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: background 0.3s, transform 0.3s, opacity 0.3s;
}
#navbar.scrolled .nav-hamburger span { background: #111827; }

.nav-mobile {
  display: none;
  background: #fff;
  border-top: 1px solid #e5e7eb;
  padding: 1.5rem;
}
.nav-mobile.open { display: block; }
.nav-mobile ul { list-style: none; display: flex; flex-direction: column; gap: 1rem; margin-bottom: 1rem; }
.nav-mobile a { color: #374151; font-weight: 600; font-size: 1rem; display: block; padding: 0.5rem 0; transition: color 0.2s; }
.nav-mobile a:hover { color: var(--primary-turquoise); }

@media (max-width: 1023px) {
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
}

/* ===== HERO ===== */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
}
.hero-full { min-height: 100vh; }
.hero-tall { min-height: 70vh; }
.hero-medium { min-height: 50vh; }

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-overlay);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 2rem 1rem;
  animation: fadeUp 0.9s ease both;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero h1 {
  font-size: clamp(2.2rem, 6vw, 5rem);
  color: #fff;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.25rem;
  text-shadow: 0 4px 20px rgba(0,0,0,0.4);
}
.hero p {
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  color: rgba(255,255,255,0.95);
  max-width: 700px;
  margin: 0 auto 2rem;
  line-height: 1.6;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: #fff;
  animation: bounce 1.5s infinite;
}
@keyframes bounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(10px); }
}

/* ===== SECTION TITLE ===== */
.section-title { text-align: center; margin-bottom: 3rem; }
.section-title h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  color: var(--primary-blue);
  margin-bottom: 0.75rem;
}
.section-title p {
  font-size: 1.1rem;
  color: #6b7280;
  max-width: 700px;
  margin: 0 auto;
}

/* ===== BG COLORS ===== */
.bg-white { background: #fff; }
.bg-light-blue { background: var(--light-blue); }
.bg-gradient { background: var(--gradient-hero); }

/* ===== ACTIVITY CARD ===== */
.card-activity {
  background: #fff;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  transition: transform 0.5s, box-shadow 0.5s;
}
.card-activity:hover { transform: translateY(-12px); box-shadow: 0 20px 50px rgba(0,0,0,0.18); }
.card-img {
  height: 240px;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  transition: transform 0.7s;
}
.card-activity:hover .card-img { transform: scale(1.05); }
.card-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
}
.card-body { padding: 2rem; }
.card-body h3 { font-size: 1.5rem; color: var(--primary-blue); margin-bottom: 0.75rem; }
.card-body p { color: #6b7280; margin-bottom: 1rem; line-height: 1.6; }
.card-price {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}
.card-price .price { font-size: 2rem; font-weight: 800; color: var(--primary-turquoise); }
.card-price .from { font-size: 0.875rem; color: #9ca3af; }

/* ===== GRID UTILITIES ===== */
.grid { display: grid; gap: 2rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.grid-2col { grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
@media (max-width: 900px) { .grid-2col { grid-template-columns: 1fr; } }

/* ===== FEATURE CARDS ===== */
.feature-card {
  text-align: center;
  padding: 2rem;
  background: var(--light-blue);
  border-radius: 0.75rem;
  transition: box-shadow 0.3s;
}
.feature-card:hover { box-shadow: 0 8px 30px rgba(0,0,0,0.1); }
.feature-icon { font-size: 3rem; margin-bottom: 1rem; }
.feature-card h3 { font-size: 1.2rem; color: var(--primary-blue); margin-bottom: 0.5rem; }
.feature-card p { color: #6b7280; }

/* ===== GALLERY GRID ===== */
.gallery-grid { display: grid; gap: 1rem; }
.gallery-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.gallery-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.gallery-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 768px) {
  .gallery-grid.cols-3, .gallery-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
  .gallery-grid.cols-2, .gallery-grid.cols-3, .gallery-grid.cols-4 { grid-template-columns: 1fr; }
}
.gallery-item {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 0.5rem;
  cursor: pointer;
}
.gallery-item-bg {
  width: 100%; height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s;
}
.gallery-item:hover .gallery-item-bg { transform: scale(1.1); }
.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
  opacity: 0;
  transition: opacity 0.3s;
  display: flex;
  align-items: flex-end;
  padding: 1rem;
}
.gallery-item:hover .gallery-item-overlay { opacity: 1; }
.gallery-item-overlay p { color: #fff; font-weight: 600; }

/* ===== TESTIMONIALS ===== */
.testimonial-card {
  background: var(--light-blue);
  padding: 2rem;
  border-radius: 0.75rem;
}
.stars { color: #facc15; font-size: 1.2rem; margin-bottom: 1rem; letter-spacing: 2px; }
.testimonial-card blockquote { color: #374151; font-style: italic; margin-bottom: 1.5rem; line-height: 1.6; }
.testimonial-author { display: flex; align-items: center; gap: 1rem; }
.avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--primary-turquoise);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1.1rem;
  flex-shrink: 0;
}
.author-name { font-weight: 600; color: var(--primary-blue); }
.author-date { font-size: 0.8rem; color: #9ca3af; }

/* ===== TARIF CARD ===== */
.tarif-card {
  padding: 2rem;
  border-radius: 1rem;
  background: var(--light-blue);
}
.tarif-card.popular {
  background: var(--gradient-hero);
  color: #fff;
  transform: scale(1.05);
  box-shadow: 0 20px 50px rgba(10,36,99,0.3);
}
.tarif-card .badge {
  display: inline-block;
  background: #facc15;
  color: var(--primary-blue);
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.tarif-card h4 { font-size: 1.2rem; margin-bottom: 0.5rem; color: var(--primary-blue); }
.tarif-card.popular h4 { color: #fff; }
.tarif-card .tarif-price { font-size: 3rem; font-weight: 800; color: var(--primary-turquoise); margin-bottom: 1rem; }
.tarif-card.popular .tarif-price { color: #fff; }
.tarif-card .tarif-desc { color: #6b7280; }
.tarif-card.popular .tarif-desc { color: #bfdbfe; }

/* ===== CONTACT FORM ===== */
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; font-weight: 600; font-size: 0.9rem; color: #374151; margin-bottom: 0.5rem; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 2px solid #d1d5db;
  border-radius: 0.5rem;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  transition: border-color 0.2s;
  outline: none;
  background: #fff;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--primary-turquoise); }
.form-group textarea { resize: vertical; min-height: 130px; }
.form-success {
  display: none;
  background: #dcfce7;
  border: 2px solid #22c55e;
  color: #166534;
  padding: 1rem;
  border-radius: 0.5rem;
  text-align: center;
  margin-top: 1rem;
  font-weight: 600;
}

/* ===== CONTACT INFO ===== */
.contact-item { display: flex; gap: 1rem; margin-bottom: 2rem; }
.contact-icon {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--primary-turquoise);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.contact-item h3 { font-weight: 600; color: var(--primary-blue); margin-bottom: 0.25rem; }
.contact-item p, .contact-item a { color: #6b7280; font-size: 0.95rem; }
.contact-item a:hover { color: var(--primary-turquoise); }

/* ===== SOCIAL LINKS ===== */
.social-links { display: flex; gap: 1rem; }
.social-link {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--light-blue);
  color: var(--primary-blue);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  transition: background 0.3s, color 0.3s;
}
.social-link:hover { background: var(--primary-turquoise); color: #fff; }

/* ===== LIGHTBOX ===== */
#lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0,0,0,0.95);
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
#lightbox.open { display: flex; }
#lightbox-img { max-width: 90vw; max-height: 80vh; object-fit: contain; border-radius: 0.5rem; }
#lightbox-close {
  position: absolute;
  top: 1rem; right: 1rem;
  background: none; border: none;
  color: #fff; font-size: 2rem; cursor: pointer;
  transition: color 0.2s;
}
#lightbox-close:hover { color: var(--primary-turquoise); }
#lightbox-prev, #lightbox-next {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  background: none; border: none;
  color: #fff; font-size: 2.5rem; cursor: pointer;
  transition: color 0.2s; padding: 0.5rem;
}
#lightbox-prev { left: 1rem; }
#lightbox-next { right: 1rem; }
#lightbox-prev:hover, #lightbox-next:hover { color: var(--primary-turquoise); }
#lightbox-caption { position: absolute; bottom: 1.5rem; left: 50%; transform: translateX(-50%); color: #fff; text-align: center; }
#lightbox-caption p { font-size: 1rem; margin-bottom: 0.25rem; }
#lightbox-caption span { color: #9ca3af; font-size: 0.85rem; }

/* ===== GALLERY FILTERS ===== */
.filter-bar { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; margin-bottom: 3rem; }
.filter-btn {
  padding: 0.6rem 1.5rem;
  border-radius: 999px;
  background: var(--light-blue);
  color: var(--primary-blue);
  border: none; cursor: pointer;
  font-weight: 600;
  font-family: 'Montserrat', sans-serif;
  transition: background 0.3s, color 0.3s, box-shadow 0.3s;
}
.filter-btn.active, .filter-btn:hover {
  background: var(--primary-turquoise);
  color: #fff;
  box-shadow: 0 4px 15px rgba(59,206,172,0.3);
}

/* ===== FOOTER ===== */
footer {
  background: var(--primary-blue);
  color: #fff;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  padding: 4rem 0;
}
.footer-logo { font-family: 'Montserrat', sans-serif; font-size: 1.5rem; font-weight: 800; margin-bottom: 1rem; }
.footer-logo span { color: var(--primary-turquoise); }
.footer-desc { color: rgba(255,255,255,0.7); line-height: 1.6; margin-bottom: 1.5rem; }
.footer-social { display: flex; gap: 0.75rem; }
.footer-social a {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--primary-turquoise);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1rem;
  transition: transform 0.3s;
}
.footer-social a:hover { transform: scale(1.1); }
.footer-heading { font-size: 1rem; font-weight: 600; margin-bottom: 1rem; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
.footer-links a { color: rgba(255,255,255,0.7); transition: color 0.2s; }
.footer-links a:hover { color: #fff; }
.footer-contact-item { display: flex; align-items: flex-start; gap: 0.75rem; color: rgba(255,255,255,0.7); margin-bottom: 0.75rem; }
.footer-contact-item span.icon { color: var(--primary-turquoise); font-size: 0.9rem; margin-top: 2px; }
.footer-contact-item a { color: rgba(255,255,255,0.7); transition: color 0.2s; }
.footer-contact-item a:hover { color: #fff; }
.footer-teal { color: var(--primary-turquoise); font-weight: 600; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding: 2rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
}
.footer-bottom p { color: rgba(255,255,255,0.5); font-size: 0.875rem; }
.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a { color: rgba(255,255,255,0.5); font-size: 0.875rem; transition: color 0.2s; }
.footer-legal a:hover { color: #fff; }

/* ===== UTILITY ===== */
.text-center { text-align: center; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }
.mt-12 { margin-top: 3rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.check-list { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
.check-item { display: flex; align-items: flex-start; gap: 0.75rem; color: #6b7280; }
.check-item .check { color: var(--primary-turquoise); font-size: 1rem; margin-top: 2px; flex-shrink: 0; }
.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1rem; }
.info-item { display: flex; align-items: flex-start; gap: 0.75rem; }
.info-item .icon { color: var(--primary-turquoise); font-size: 1.2rem; margin-top: 2px; flex-shrink: 0; }
.info-item p { font-weight: 600; color: var(--primary-blue); font-size: 0.9rem; }
.info-item span { color: #6b7280; font-size: 0.875rem; }
.rounded-2xl { border-radius: 1rem; }
.shadow-xl { box-shadow: 0 20px 50px rgba(0,0,0,0.15); }
.overflow-hidden { overflow: hidden; }
.img-fill { width: 100%; height: 100%; object-fit: cover; }
.bg-img {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.aspect-ratio-box { width: 100%; height: 500px; border-radius: 1rem; overflow: hidden; }
@media (max-width: 768px) { .aspect-ratio-box { height: 280px; } }
