/* ============================================================
   EB HOTEL – Feuille de style principale
   /assets/css/style.css
   ============================================================ */

/* ── Variables ─────────────────────────────────────────────── */
:root {
  --gold:        #C9A84C;
  --gold-light:  #E8C547;
  --gold-pale:   #FFF8E1;
  --navy:        #0D1B2A;
  --navy-med:    #1A2E44;
  --navy-light:  #243B55;
  --white:       #FFFFFF;
  --off-white:   #F9F7F2;
  --gray-100:    #F4F4F4;
  --gray-300:    #CCCCCC;
  --gray-500:    #888888;
  --gray-700:    #444444;
  --text:        #1A1A1A;
  --font-serif:  'Playfair Display', Georgia, serif;
  --font-sans:   'Lato', sans-serif;
  --shadow-sm:   0 2px 12px rgba(0,0,0,.08);
  --shadow-md:   0 8px 32px rgba(0,0,0,.12);
  --shadow-lg:   0 20px 60px rgba(0,0,0,.18);
  --radius:      8px;
  --radius-lg:   16px;
  --transition:  0.3s ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 { font-family: var(--font-serif); font-weight: 600; line-height: 1.3; }

a { text-decoration: none; color: inherit; transition: color var(--transition); }

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

/* ── Typography helpers ────────────────────────────────────── */
.section-badge {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  color: var(--navy);
  margin-bottom: 16px;
}

.section-title span { color: var(--gold); }

.section-subtitle {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  color: var(--gray-500);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.8;
}

.gold-divider {
  display: block;
  width: 60px;
  height: 3px;
  background: var(--gold);
  margin: 16px auto 24px;
}

/* ── Buttons ───────────────────────────────────────────────── */
.btn-gold {
  background: var(--gold);
  color: var(--navy);
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border: 2px solid var(--gold);
  padding: 12px 32px;
  border-radius: var(--radius);
  transition: all var(--transition);
}
.btn-gold:hover {
  background: transparent;
  color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201,168,76,.35);
}

.btn-gold-sm {
  background: var(--gold);
  color: var(--navy) !important;
  font-weight: 700;
  font-size: 12px;
  padding: 5px 14px;
  border-radius: 4px;
  border: none;
  transition: all var(--transition);
}
.btn-gold-sm:hover { background: var(--gold-light); }

.btn-outline-gold {
  background: transparent;
  color: var(--gold);
  border: 2px solid var(--gold);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 12px 32px;
  border-radius: var(--radius);
  transition: all var(--transition);
}
.btn-outline-gold:hover {
  background: var(--gold);
  color: var(--navy);
  transform: translateY(-2px);
}

.btn-reserve {
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 10px 22px;
  border-radius: var(--radius);
  border: 2px solid var(--gold);
  transition: all var(--transition);
}
.btn-reserve:hover {
  background: transparent;
  color: var(--gold);
}

/* ── Topbar ────────────────────────────────────────────────── */
.eb-topbar {
  background: var(--navy);
  color: #ccc;
  font-size: 12.5px;
  padding: 8px 0;
  border-bottom: 1px solid var(--navy-light);
}
.eb-topbar a { color: #ccc; }
.eb-topbar a:hover { color: var(--gold); }
.eb-topbar i { color: var(--gold); font-size: 11px; }

/* Langue switcher */
.lang-switcher a {
  color: #aaa;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 2px 8px;
  border-radius: 3px;
  transition: all var(--transition);
}
.lang-switcher a.active, .lang-switcher a:hover {
  color: var(--gold);
  background: rgba(201,168,76,.1);
}

/* ── Navbar ────────────────────────────────────────────────── */
.eb-navbar {
  background: rgba(13,27,42,.97);
  padding: 16px 0;
  transition: all 0.4s ease;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(201,168,76,.2);
}
.eb-navbar.scrolled {
  padding: 10px 0;
  box-shadow: 0 4px 30px rgba(0,0,0,.4);
  background: rgba(13,27,42,1);
}

/* Logo */
.eb-logo, .eb-logo-footer {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-letters {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-name {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 4px;
  color: var(--white);
  text-transform: uppercase;
}
.logo-stars { font-size: 7px; color: var(--gold); letter-spacing: 2px; }

/* Nav links */
.eb-navbar .nav-link {
  color: rgba(255,255,255,.8) !important;
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 8px 14px !important;
  transition: color var(--transition);
  position: relative;
}
.eb-navbar .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 14px; right: 14px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform var(--transition);
}
.eb-navbar .nav-link:hover,
.eb-navbar .nav-link.active {
  color: var(--gold) !important;
}
.eb-navbar .nav-link:hover::after,
.eb-navbar .nav-link.active::after { transform: scaleX(1); }

/* Dropdown */
.eb-dropdown {
  background: var(--navy);
  border: 1px solid rgba(201,168,76,.3);
  border-radius: var(--radius);
  padding: 8px 0;
  margin-top: 4px;
}
.eb-dropdown .dropdown-item {
  color: rgba(255,255,255,.75);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.8px;
  padding: 10px 20px;
  transition: all var(--transition);
}
.eb-dropdown .dropdown-item:hover {
  background: rgba(201,168,76,.15);
  color: var(--gold);
  padding-left: 26px;
}

/* ── HERO SECTION ──────────────────────────────────────────── */
.eb-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy);
}

.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease;
}
.hero-slide.active { opacity: 1; }
.hero-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(13,27,42,.85) 0%,
    rgba(13,27,42,.60) 50%,
    rgba(13,27,42,.40) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 120px 0 80px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(201,168,76,.15);
  border: 1px solid rgba(201,168,76,.4);
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 8px 20px;
  border-radius: 30px;
  margin-bottom: 28px;
}
.hero-badge::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .4; transform: scale(1.3); }
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 24px;
}
.hero-title .highlight { color: var(--gold); }

.hero-subtitle {
  font-family: var(--font-sans);
  font-size: 1.15rem;
  color: rgba(255,255,255,.75);
  max-width: 520px;
  line-height: 1.8;
  margin-bottom: 40px;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,.12);
}
.hero-stat { text-align: center; }
.hero-stat-num {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  color: var(--gold);
  font-weight: 700;
  line-height: 1;
}
.hero-stat-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  margin-top: 4px;
}

/* Hero slide indicators */
.hero-indicators {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 8px;
}
.hero-indicator {
  width: 24px;
  height: 3px;
  background: rgba(255,255,255,.3);
  border-radius: 2px;
  cursor: pointer;
  transition: all var(--transition);
}
.hero-indicator.active {
  width: 48px;
  background: var(--gold);
}

/* ── BOOKING BAR ───────────────────────────────────────────── */
.booking-bar {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  box-shadow: 0 -8px 60px rgba(0,0,0,.25), var(--shadow-lg);
  margin-top: -60px;
  position: relative;
  z-index: 10;
  border-top: 4px solid var(--gold);
}

.booking-bar .form-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}

.booking-bar .form-control,
.booking-bar .form-select {
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius);
  padding: 10px 14px;
  font-size: 14px;
  color: var(--navy);
  transition: border-color var(--transition);
}
.booking-bar .form-control:focus,
.booking-bar .form-select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,.15);
  outline: none;
}

.booking-bar .btn-search {
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: none;
  border-radius: var(--radius);
  padding: 13px 28px;
  width: 100%;
  height: 100%;
  transition: all var(--transition);
}
.booking-bar .btn-search:hover {
  background: var(--navy);
  color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(13,27,42,.3);
}

/* ── SECTIONS COMMUNES ─────────────────────────────────────── */
.section-pad { padding: 100px 0; }
.section-pad-sm { padding: 60px 0; }

.text-center-block { text-align: center; }

/* ── FEATURED ROOMS ────────────────────────────────────────── */
.rooms-section { background: var(--off-white); }

.room-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  height: 100%;
}
.room-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.room-card-img {
  position: relative;
  overflow: hidden;
  height: 240px;
}
.room-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.room-card:hover .room-card-img img { transform: scale(1.06); }

.room-badge {
  position: absolute;
  top: 16px; left: 16px;
  background: var(--gold);
  color: var(--navy);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 4px;
}

.room-status-dot {
  position: absolute;
  top: 16px; right: 16px;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #4CAF50;
  box-shadow: 0 0 0 3px rgba(76,175,80,.3);
}

.room-card-body {
  padding: 24px;
}
.room-type {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.room-name {
  font-size: 1.25rem;
  color: var(--navy);
  margin-bottom: 10px;
}
.room-amenities {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0;
}
.room-amenity {
  font-size: 11px;
  color: var(--gray-500);
  display: flex;
  align-items: center;
  gap: 4px;
}
.room-amenity i { color: var(--gold); font-size: 12px; }

.room-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  border-top: 1px solid var(--gray-100);
  background: var(--gray-100);
}
.room-price .price-num {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--navy);
  font-weight: 700;
}
.room-price .price-per {
  font-size: 11px;
  color: var(--gray-500);
  font-weight: 400;
}

/* ── SERVICES ──────────────────────────────────────────────── */
.service-card {
  text-align: center;
  padding: 36px 24px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid transparent;
  transition: all var(--transition);
  height: 100%;
}
.service-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.service-icon {
  width: 70px; height: 70px;
  background: var(--gold-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 28px;
  color: var(--gold);
  transition: all var(--transition);
}
.service-card:hover .service-icon {
  background: var(--gold);
  color: var(--navy);
  transform: rotate(8deg) scale(1.1);
}
.service-card h4 { font-size: 1.1rem; color: var(--navy); margin-bottom: 10px; }
.service-card p { font-size: 14px; color: var(--gray-500); line-height: 1.7; }

/* ── TESTIMONIALS ──────────────────────────────────────────── */
.testimonials-section { background: var(--navy); }

.testimonial-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(201,168,76,.2);
  border-radius: var(--radius-lg);
  padding: 32px;
  height: 100%;
  transition: all var(--transition);
}
.testimonial-card:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(201,168,76,.5);
  transform: translateY(-4px);
}
.testimonial-stars { color: var(--gold); font-size: 14px; margin-bottom: 16px; }
.testimonial-text {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: rgba(255,255,255,.85);
  line-height: 1.8;
  margin-bottom: 24px;
}
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  flex-shrink: 0;
}
.testimonial-name {
  font-weight: 700;
  font-size: 14px;
  color: var(--white);
}
.testimonial-country { font-size: 12px; color: rgba(255,255,255,.45); }

/* ── GALLERY PREVIEW ───────────────────────────────────────── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 200px);
  gap: 12px;
}
.gallery-item {
  overflow: hidden;
  border-radius: var(--radius);
  position: relative;
  cursor: pointer;
}
.gallery-item:first-child {
  grid-row: span 2;
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(13,27,42,.55);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 28px;
  transition: opacity var(--transition);
}
.gallery-item:hover .gallery-overlay { opacity: 1; }

/* ── PROMO BANNER ──────────────────────────────────────────── */
.promo-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  border-left: 6px solid var(--gold);
  border-radius: var(--radius-lg);
  padding: 40px;
}
.promo-banner .promo-percent {
  font-family: var(--font-serif);
  font-size: 5rem;
  color: var(--gold);
  font-weight: 700;
  line-height: 1;
}

/* ── FOOTER ────────────────────────────────────────────────── */
.eb-footer { background: var(--navy); color: rgba(255,255,255,.6); }

.footer-top { padding: 80px 0 60px; }

.eb-logo-footer .logo-letters { font-size: 32px; }

.footer-desc { font-size: 14px; line-height: 1.8; color: rgba(255,255,255,.55); }

.footer-contact p { font-size: 13.5px; margin-bottom: 10px; display: flex; align-items: flex-start; gap: 10px; }
.footer-contact i { color: var(--gold); font-size: 14px; margin-top: 3px; flex-shrink: 0; }
.footer-contact a { color: rgba(255,255,255,.55); }
.footer-contact a:hover { color: var(--gold); }

.footer-title {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
}

.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  font-size: 13.5px;
  color: rgba(255,255,255,.55);
  transition: all var(--transition);
  display: flex;
  align-items: center;
  gap: 4px;
}
.footer-links a:hover { color: var(--gold); padding-left: 6px; }
.footer-links i { font-size: 12px; }

.footer-newsletter .form-control {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.15);
  color: var(--white);
  border-radius: var(--radius) 0 0 var(--radius);
  padding: 11px 14px;
}
.footer-newsletter .form-control::placeholder { color: rgba(255,255,255,.35); }
.footer-newsletter .form-control:focus {
  border-color: var(--gold);
  box-shadow: none;
  background: rgba(255,255,255,.1);
}
.footer-newsletter .btn-gold { padding: 11px 16px; border-radius: 0 var(--radius) var(--radius) 0; }

.footer-socials h6 { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,.35); margin-bottom: 12px; }
.social-links { display: flex; gap: 10px; }
.social-links a {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px;
  color: rgba(255,255,255,.55);
  transition: all var(--transition);
}
.social-links a:hover { background: var(--gold); color: var(--navy); border-color: var(--gold); transform: translateY(-2px); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding: 20px 0;
  font-size: 12.5px;
  color: rgba(255,255,255,.3);
}
.footer-bottom a { color: rgba(255,255,255,.35); }
.footer-bottom a:hover { color: var(--gold); }
.footer-bottom strong { color: var(--gold); }

/* ── FLOATING ELEMENTS ─────────────────────────────────────── */
.whatsapp-float {
  position: fixed;
  bottom: 80px; right: 24px;
  z-index: 999;
  width: 52px; height: 52px;
  background: #25D366;
  color: var(--white);
  font-size: 26px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.4);
  animation: float-btn 3s ease-in-out infinite;
  transition: transform var(--transition);
}
.whatsapp-float:hover { transform: scale(1.1) translateY(-2px); color: var(--white); }

.back-to-top {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 999;
  width: 44px; height: 44px;
  background: var(--gold);
  color: var(--navy);
  border: none;
  border-radius: var(--radius);
  font-size: 18px;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition);
  display: flex; align-items: center; justify-content: center;
}
.back-to-top.visible { opacity: 1; pointer-events: auto; }
.back-to-top:hover { background: var(--navy); color: var(--gold); transform: translateY(-2px); }

@keyframes float-btn {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* ── RESPONSIVE ────────────────────────────────────────────── */
@media (max-width: 991px) {
  .eb-topbar { display: none; }
  .hero-stats { gap: 20px; }
  .hero-stat-num { font-size: 1.6rem; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(3, 160px); }
  .gallery-item:first-child { grid-row: span 1; }
}

@media (max-width: 767px) {
  .section-pad { padding: 60px 0; }
  .booking-bar { margin-top: -20px; }
  .hero-stats { gap: 16px; }
  .promo-banner .promo-percent { font-size: 3rem; }
}

/* ── ANIMATIONS ────────────────────────────────────────────── */
.fade-up { opacity: 0; transform: translateY(30px); transition: all 0.7s ease; }
.fade-up.animated { opacity: 1; transform: translateY(0); }

/* ── UTILITIES ─────────────────────────────────────────────── */
.text-gold { color: var(--gold) !important; }
.bg-navy   { background: var(--navy) !important; }
.bg-navy-med { background: var(--navy-med) !important; }
