/* ============================================================
   HOME.CSS — index.html only
   ============================================================ */

/* ANIMATION */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* HERO */
.hero { position: relative; height: 100vh; min-height: 620px; overflow: hidden; display: flex; align-items: flex-end; }
.hero-slides { position: absolute; inset: 0; }
.hero-slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity 1.2s var(--ease); }
.hero-slide.active { opacity: 1; }
.hero-slide::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.85) 0%, rgba(0,0,0,.4) 50%, rgba(0,0,0,.15) 100%); }
.hero-slide-1 { background-image: url('../img/nice-cote-d-azur.jpg'); }
.hero-slide-2 { background-image: url('../img/CannesFilmFestival.webp'); }
.hero-slide-3 { background-image: url('../img/monaco-monte-carlo-cityscape-real-estate-architect-P247C3E-scaled-1-scaled.webp'); }
.hero-slide-4 { background-image: url('../img/St-Tropez.webp'); }
.hero-content { position: relative; z-index: 2; width: 100%; padding: 0 32px 80px; max-width: 820px; margin: 0 auto; animation: fadeUp .9s var(--ease) .3s both; }
.hero-eyebrow { font-family: 'Google Sans Flex', sans-serif; font-size: .72rem; font-weight: 500; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.hero h1 { color: var(--white); font-style: italic; font-weight: 300; margin-bottom: 24px; text-shadow: 0 2px 20px rgba(0,0,0,.3); }
.hero h1 strong { font-style: normal; font-weight: 600; }
.hero-sub { color: var(--white); font-size: 1.05rem; font-weight: 300; margin-bottom: 36px; max-width: 500px; }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-dots { position: absolute; bottom: 36px; right: 40px; z-index: 3; display: flex; gap: 8px; }
.hero-dot { width: 28px; height: 2px; background: rgba(255,255,255,.35); border-radius: 2px; cursor: pointer; transition: all .3s; }
.hero-dot.active { background: var(--gold); width: 42px; }

/* FEATURES STRIP */
.features-strip { background: var(--deep); padding: 60px 0; }
.features-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: rgba(255,255,255,.08); }
.feature-item { padding: 36px 28px; background: var(--deep); transition: background .3s; }
.feature-item:hover { background: #630000; }
.feature-icon { width: 40px; height: 40px; margin-bottom: 16px; color: var(--gold); }
.feature-item h4 { font-family: 'Roboto Serif', serif; font-size: 1.2rem; color: var(--white); margin-bottom: 10px; }
.feature-item p { font-size: .85rem; color: var(--white); line-height: 1.65; }

/* ABOUT */
.about { padding: 100px 0; background: var(--sand); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-images { position: relative; height: 520px; }
.about-img-main { position: absolute; top: 0; left: 0; width: 75%; height: 85%; object-fit: cover; border-radius: var(--radius); box-shadow: 0 20px 60px rgba(0,0,0,.18); border: 4px solid var(--white); }
.about-img-inset { position: absolute; bottom: 0; right: 0; width: 55%; height: 55%; object-fit: cover; border-radius: var(--radius); box-shadow: 0 12px 40px rgba(0,0,0,.2); border: 4px solid var(--white); }
.about-stat { position: absolute; top: 40%; left: 68%; background: var(--gold); color: var(--deep); padding: 20px 24px; text-align: center; border-radius: var(--radius); box-shadow: 0 8px 30px rgba(201,168,76,.4); z-index: 2; }
.about-stat .num,
.about-stat #counter {
  font-family: 'Google Sans Flex', sans-serif !important;
  font-size: 2.8rem;
  font-weight: 600;
  font-style: normal;
  line-height: 1;
}
.about-stat .label { font-size: .65rem; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; margin-top: 4px; }
.about-text h2 { margin-bottom: 20px; color: var(--deep); }
.about-text p { margin-bottom: 20px; }
.about-text .btn-primary { margin-top: 16px; color: var(--deep); }

/* TOURS TABS */
.tours { padding: 100px 0; background: var(--white); }
.tours-header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 56px; flex-wrap: wrap; gap: 20px; }
.tours-header h2 { color: var(--deep); }
.tours-tabs { display: flex; gap: 4px; background: var(--light); padding: 4px; border-radius: var(--radius); }
.tours-tab { font-family: 'Google Sans Flex', sans-serif; font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; padding: 10px 22px; border-radius: 2px; border: none; cursor: pointer; background: transparent; color: var(--muted); transition: all .25s; }
.tours-tab.active { background: var(--white); color: var(--azure); box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.tour-panel { display: none; }
.tour-panel.active { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.tour-card { display: flex; flex-direction: column; height: 100%; border-radius: var(--radius); overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,.08); transition: transform .3s var(--ease), box-shadow .3s; cursor: pointer; }
.tour-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(0,0,0,.14); }
a.tour-card { display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.tour-card-img { position: relative; overflow: hidden; height: 230px; }
.tour-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.tour-card:hover .tour-card-img img { transform: scale(1.06); }
.tour-card-badge { position: absolute; top: 14px; left: 14px; font-family: 'Google Sans Flex', sans-serif; font-size: .6rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; background: var(--deep); color: var(--white); padding: 4px 10px; border-radius: 2px; }
.tour-card-badge.gold { background: var(--gold); color: var(--deep); }
.tour-card-badge.full-day { background: var(--deep); color: var(--white); }
.tour-card-badge.half-day { background: var(--white); color: var(--deep); }
.tour-card-badge.cruise { background: var(--deep); color: var(--white); }
.tour-card-badge.night { background: #1D0363; color: var(--white); }
.tour-card-content { display: flex; flex: 1; flex-direction: column; justify-content: space-between; gap: 18px; padding: 22px 24px; min-height: 280px; }
.tour-card-code { font-size: .65rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.tour-card-content h3 { font-size: 1.15rem; color: var(--deep); margin-bottom: 10px; line-height: 1.3; }
.tour-card-content p { font-size: .95rem; line-height: 1.7; }
.tour-card-footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-top: 18px; border-top: 1px solid var(--light); }
.tour-duration { font-size: .72rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--white); }
.tour-card-footer-inner .tour-duration { color: var(--deep); }
.tour-cta { display: inline-flex; align-items: center; gap: 6px; font-family: 'Google Sans Flex', sans-serif; font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--azure); transition: color .2s; }
.tour-card:hover .tour-cta { color: var(--gold); }

/* STATS */
.stats { padding: 80px 0; background: linear-gradient(135deg, var(--deep) 0%, var(--mid) 100%); position: relative; overflow: hidden; }
.stats::before { content: ''; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); }
.stats-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4,1fr); gap: 40px; text-align: center; }
.stat-num { font-family: 'Google Sans Flex', sans-serif; font-size: clamp(2.8rem,5vw,4.5rem); font-weight: 600; color: var(--gold); line-height: 1; }
.stat-label { font-size: .7rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--white); margin-top: 8px; }

/* DESTINATIONS */
.destinations { padding: 100px 0; background: var(--light); }
.destinations-header { text-align: center; margin-bottom: 56px; }
.destinations-header h2 { color: var(--deep); margin-bottom: 12px; }
.dest-grid { display: grid; grid-template-columns: repeat(3,1fr); grid-template-rows: auto auto; gap: 16px; }
.dest-card { position: relative; overflow: hidden; border-radius: var(--radius); cursor: pointer; }
.dest-card:first-child { grid-column: span 2; }
.dest-card img { width: 100%; height: 100%; object-fit: cover; min-height: 260px; transition: transform .5s var(--ease); }
.dest-card:hover img { transform: scale(1.05); }
.dest-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.8) 0%, transparent 60%); display: flex; flex-direction: column; justify-content: flex-end; padding: 24px; }
.dest-name { font-family: 'Roboto Serif', serif; font-size: 1.6rem; font-weight: 400; color: var(--white); margin-bottom: 4px; }
.dest-tag { font-size: .65rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }

/* REVIEWS */
.reviews { padding: 100px 0; background: var(--white); }
.reviews-header { text-align: center; margin-bottom: 56px; }
.reviews-header h2 { color: var(--deep); margin-bottom: 8px; }
.reviews-score { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 16px; }
.stars { color: #f5a623; font-size: 1.2rem; letter-spacing: 2px; }
.score-text { font-size: .8rem; color: var(--muted); }
.reviews-logos { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: clamp(24px, 6vw, 72px); }
.review-logo-link { display: inline-flex; align-items: center; justify-content: center; padding: 10px 14px; border-radius: var(--radius); transition: transform .25s var(--ease), opacity .25s var(--ease); }
.review-logo-link:hover { transform: translateY(-2px); opacity: .9; }
.review-logo { display: block; height: 84px; width: auto; max-width: 360px; }

/* CTA BANNER */
.cta-banner { padding: 100px 0; background: url('../img/bin-nicesunset.webp') center/cover; position: relative; text-align: center; }
.cta-banner::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(150,0,0,.88) 0%, rgba(44,16,16,.72) 100%); }
.cta-content { position: relative; z-index: 1; }
.cta-content h2 { color: var(--white); margin-bottom: 16px; font-size: clamp(2rem,4vw,3.5rem); }
.cta-content p { color: var(--white); max-width: 500px; margin: 0 auto 36px; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* RESPONSIVE */
@media(max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2,1fr); }
  .tour-panel.active { grid-template-columns: repeat(2,1fr); }
  .about-grid { gap: 48px; }
}
@media(max-width: 768px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-images { height: 340px; }
  .tour-panel.active { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2,1fr); gap: 32px; }
  .dest-grid { grid-template-columns: 1fr; }
  .dest-card:first-child { grid-column: span 1; }
  .reviews-logos { gap: 28px; row-gap: 40px; }
  .review-logo-link { width: calc(50% - 14px); padding: 0; }
  .review-logo { width: 100%; height: auto; max-width: 100%; }
  .tours-header { flex-direction: column; align-items: flex-start; }
}
