/* assets/css/style.css */
/* Core styles for Maysha Travels — enhanced hero, navbar, services, gallery, footer */
/* NOTE: Place premium fonts (Kugile/Mileast/Milker) as .woff2 in assets/fonts and update @font-face paths if available */
@font-face { font-family: "Kugile"; src: url("../fonts/Kugile.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Mileast"; src: url("../fonts/Mileast.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Milker"; src: url("../fonts/Milker.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }

:root{
  --primary:#022552;
  --primary-2:#003a7f;
  --sun-1:#fec226; --sun-2:#f47524; --sun-3:#ee4123;
  --accent:#007b9a;
  --muted:#6b7a90;
  --bg:#ffffff;
}

/* Reset + base */
*{box-sizing:border-box}
html,body{height:100%; margin:0; font-family:Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial; background:var(--bg); color:#052034; -webkit-font-smoothing:antialiased}
a{text-decoration:none}
.container{max-width:1140px; margin:0 auto; padding:0 18px}

/* NAVBAR */
.navbar{padding:0rem 0; background:transparent; position:sticky; top:0; z-index:1100; transition:background .35s ease, box-shadow .35s ease}
.navbar.scrolled{background:rgba(255,255,255,0.96); box-shadow:0 6px 22px rgba(10,30,50,0.06)}
.navbar-brand{display:flex; align-items:center; gap:12px}
.brand-title{font-weight:700; color:var(--primary); font-size:1.25rem}
.brand-sub{font-weight:600; color:var(--primary-2); font-size:.85rem; line-height:1}

/* NAV LINKS */
.navbar .nav-link{color:var(--primary); padding:.5rem 1rem; font-weight:500}
.navbar .nav-link:hover{color:var(--primary-2)}
.navbar .dropdown-menu{border-radius:12px; box-shadow:0 10px 30px rgba(10,20,30,0.08)}

/* HERO - cinematic */
.hero {
  position:relative;
  min-height:86vh;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  color:#fff;
}
.hero .slides { position:absolute; inset:0; overflow:hidden; }
.hero .slide {
  position:absolute; inset:0; background-size:cover; background-position:center; will-change:transform,opacity;
  transition:opacity 1s ease; opacity:0;
}
.hero .slide.active{opacity:1}
.hero .overlay {
  position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(0,18,40,0.25) 0%, rgba(0,18,40,0.18) 40%, rgba(0,18,40,0.42) 100%);
  pointer-events:none;
}

/* Hero content container */
.hero-inner { position:relative; z-index:5; text-align:center; padding:60px 18px; width:100%; max-width:980px; }

/* 3-word layered heading */
.hero .big-line{display:block; margin:0 auto}
.word-1 { font-family: BBH Sans Hegarty; font-size:4.4rem; line-height:0.9; color: #fff; text-shadow:0 10px 30px rgba(0,0,0,0.25) }
.word-2 { font-family:Mileast, serif; display:inline-block; font-size:2.2rem; background:rgba(2,37,82,0.18); padding:.3rem .9rem; border-radius:10px; color:#fff; margin-top:.6rem }
.word-3 { font-family:Milker, cursive; font-size:1.1rem; color:var(--sun-1); display:block; margin-top:.6rem; opacity:0.98 }

/* CTA buttons */
.hero .cta { margin-top:24px; display:flex; gap:12px; justify-content:center; flex-wrap:wrap }
.btn-hero { padding:12px 20px; border-radius:10px; font-weight:600; border:none; cursor:pointer; }
.btn-primary-hero{ background:linear-gradient(90deg,var(--sun-2),var(--sun-3)); color:#fff; box-shadow:0 12px 30px rgba(236,80,34,0.18); }
.btn-outline-hero{ background:transparent; color:#fff; border:1px solid rgba(255,255,255,0.12); }

/* Localized override for outline button on light backgrounds (only used where needed) */
.btn-outline-hero--inverted{ color:var(--primary); border:1px solid rgba(2,37,82,0.12); background:transparent; }

/* decorative wave bottom */
.custom-shape-divider-bottom{position:absolute; bottom:-1px; left:0; width:100%; line-height:0; z-index:4; transform:translateY(1px)}
.custom-shape-divider-bottom svg{display:block; width:120%; height:140px;}

/* ABOUT + SERVICES preview on homepage */
.section-card{border-radius:14px; padding:18px; background:linear-gradient(180deg, rgba(255,255,255,0.45), rgba(255,255,255,0.30)); box-shadow:0 8px 30px rgba(10,20,30,0.04);}

/* Fixed-size wrapper for about image to prevent layout jumps */
.about-image-wrapper{width:100%; height:320px; overflow:hidden; border-radius:10px}
.about-image-wrapper img{width:100%; height:100%; object-fit:cover; display:block}

/* SERVICES GRID */
.services-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:18px}
.service-card{border-radius:12px; overflow:hidden; background:#fff; transition:transform .35s ease, box-shadow .35s ease}
.service-card img{width:100%; height:200px; object-fit:cover}
.service-card .body{padding:16px}
.service-card:hover{transform:translateY(-8px); box-shadow:0 18px 50px rgba(10,20,30,0.08)}

/* PACKAGES PREVIEW */
.pack-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:18px;}

/* Ensure .card images used across pages have consistent sizing */
.card img { width:100%; height:220px; object-fit:cover; display:block; }

/* GALLERY preview */
.gallery-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:10px}
.gallery-grid img{width:100%; height:190px; object-fit:cover; border-radius:8px;}

/* VEHICLE cards small tweak to keep consistent heights */
.veh-card img{width:100%; height:220px; object-fit:cover}

/* FOOTER */
.footer {
  background: linear-gradient(90deg, rgba(2,37,82,1), rgba(1,25,56,1));
  color:#dfeff6;
  padding:48px 18px;
}
.footer .top-bar{border-top:4px solid rgba(254,194,38,0.08); padding-top:18px}
.footer h5{color:#fff; margin-bottom:12px}
.footer .social a{display:inline-block; margin-right:8px; color:#fff; opacity:.95}

/* Footer layout */
.footer-grid{display:grid; grid-template-columns:1fr 1fr 1fr; gap:24px; align-items:start}

/* WHATSAPP icon round */
.whatsapp-float{position:fixed; right:18px; bottom:18px; z-index:1300; pointer-events:auto}
.wa-circle{width:56px; height:56px; background:#25D366; border-radius:50%; display:flex; align-items:center; justify-content:center; box-shadow:0 12px 30px rgba(37,211,102,0.18);}

/* Utilities */
.text-muted-small{color:var(--muted); font-size:.95rem}

/* Responsive */
@media (max-width: 991px){
  .services-grid{grid-template-columns:repeat(2,1fr)}
  .pack-grid{grid-template-columns:repeat(2,1fr)}
  .gallery-grid{grid-template-columns:repeat(2,1fr)}
  .word-1{font-size:3rem}
  .word-2{font-size:1.4rem}
}
@media (max-width: 575px){
  .services-grid{grid-template-columns:1fr}
  .pack-grid{grid-template-columns:1fr}
  .gallery-grid{grid-template-columns:1fr}
  .word-1{font-size:2.2rem}
  .word-2{font-size:1.1rem}
  .hero{min-height:56vh}
  .hero-inner{padding:28px 12px}
  .navbar .nav-link{font-size:.95rem}
  .footer-grid{grid-template-columns:1fr}
}
