/* =====================================================
   SDM KAYAKING – GLOBAL + PREMIUM HOMEPAGE STYLE
   ===================================================== */

/* ---------- CSS VARIABLES ---------- */
:root {
  --primary: ##031633;
  --secondary: #00b4d8;
  --dark: #031633;
  --light: #f8fbff;
  --white: #ffffff;
  --danger: #e63946;
  --success: #2a9d8f;
  --gray: #6c757d;
  --border: #e0e0e0;
}

/* ---------- RESET ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Arial, sans-serif;
}

body {
  background: var(--white);
  color: #333;
  line-height: 1.6;
  overflow-x: hidden;
}

/* =====================================================
   HEADER & NAVBAR (BASE)
   ===================================================== */

header,
.header-main {
  background: linear-gradient(90deg, var(--dark), var(--secondary));
  color: #fff;
}


/* TOP CONTACT BAR */
.top-contact {
  background: rgba(0,0,0,0.15);
  color: #fff;
  font-size: 13px;
  padding: 6px 30px;
  display: flex;
  justify-content: flex-end;
  gap: 20px;
}

.header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 30px;
}

header h2 {
  font-size: 22px;
  font-weight: 600;
}

/* NAV BASE */
nav {
  display: flex;
  align-items: center;
}

nav a {
  color: #fff;
  text-decoration: none;
  margin-left: 18px;
  font-weight: 500;
}

nav a:hover {
  text-decoration: underline;
}

/* DROPDOWN BASE */
.dropdown {
  position: relative;
}

.dropbtn {
  color: #fff;
  font-weight: 500;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: #fff;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  border-radius: 8px;
  z-index: 9999;
  overflow: hidden;
}

.dropdown-content a {
  display: block;
  padding: 10px 14px;
  color: #333;
  font-size: 14px;
  border-bottom: 1px solid #eee;
}

.dropdown-content a:hover {
  background: #f1f5f9;
  color: var(--primary);
}

/* =====================================================
   DESKTOP / LAPTOP FIX
   ===================================================== */
@media (min-width: 769px) {

  header {
    display: block;
  }

  nav {
    display: flex !important;
  }

  .dropdown:hover .dropdown-content {
    display: block;
  }
}

/* =====================================================
   MOBILE HEADER & NAV (FINAL FIX)
   ===================================================== */
/* Hamburger */
.nav-toggle {
  display: none;
  font-size: 26px;
  cursor: pointer;
  color: #fff;
}

/* ---------- DESKTOP ---------- */
@media (min-width: 769px) {

  nav {
    display: flex;
  }

  .dropdown:hover .dropdown-content {
    display: block;
  }
}

/* ---------- MOBILE ---------- */
@media (max-width: 768px) {

  .top-contact {
    justify-content: center;
    padding: 6px 10px;
    font-size: 12px;
  }

  .header-main {
    flex-direction: column;
    text-align: center;
    padding: 10px 15px;
  }

  header h2 {
    font-size: 18px;
    margin-bottom: 6px;
  }

  /* Show hamburger */
  .nav-toggle {
    display: block;
    margin: 6px auto;
  }

  /* Hide nav by default */
  nav {
    display: none;
    width: 100%;
    flex-direction: column;
    background: linear-gradient(180deg, var(--primary), var(--secondary));
  }

  /* Show when toggled */
  nav.active {
    display: flex;
  }

  nav a {
    padding: 12px;
    margin: 0;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.2);
  }

  /* Disable hover dropdown */
  .dropdown:hover .dropdown-content {
    display: none;
  }

  /* Mobile dropdown (JS controlled) */
  .dropdown-content {
    position: static;
    display: none;
    background: rgba(255,255,255,0.1);
    box-shadow: none;
    border-radius: 0;
  }

  .dropdown.open .dropdown-content {
    display: block;
  }

  .dropdown-content a {
    color: #fff;
  }
}


/* =====================================================
   HERO (PREMIUM HOMEPAGE)
   ===================================================== */

.hero {
  position: relative;
  height: 85vh;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(3,22,51,0.55);
  z-index: 2;
}

.hero .slider img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  animation: heroSlide 18s infinite;
}

.hero .slider img:nth-child(1){animation-delay:0s;}
.hero .slider img:nth-child(2){animation-delay:6s;}
.hero .slider img:nth-child(3){animation-delay:12s;}

@keyframes heroSlide {
  0%{opacity:0}
  10%{opacity:1}
  30%{opacity:1}
  40%{opacity:0}
  100%{opacity:0}
}

.hero-content {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: 20px;
}

.hero-content h1 {
  font-size: 48px;
  margin-bottom: 15px;
}

.hero-content p {
  max-width: 720px;
  margin: auto;
  font-size: 18px;
}

.hero-buttons {
  margin-top: 25px;
}

.hero-buttons a {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 30px;
  margin: 6px;
  text-decoration: none;
  font-weight: 600;
}

.btn-primary {
  background: var(--secondary);
  color: #000;
}

.btn-outline {
  border: 2px solid #fff;
  color: #fff;
}

/* =====================================================
   WAVE
   ===================================================== */
.wave {
  margin-top: -80px;
  z-index: 10;
}

.wave svg {
  display: block;
  width: 100%;
}

/* =====================================================
   CONTAINERS & SECTIONS
   ===================================================== */

main,
.container {
  max-width: 1200px;
  margin: auto;
  padding: 30px 20px;
}

.section {
  padding: 70px 20px;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 32px;
}

/* =====================================================
   FEATURES (CSS ICONS)
   ===================================================== */

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  text-align: center;
}

.feature {
  position: relative;
  padding-top: 80px;
}

.feature::before {
  content:"";
  width:60px;
  height:60px;
  background:linear-gradient(135deg,var(--primary),var(--secondary));
  border-radius:50%;
  position:absolute;
  top:0;
  left:50%;
  transform:translateX(-50%);
}

.feature::after {
  position:absolute;
  top:15px;
  left:50%;
  transform:translateX(-50%);
  font-size:26px;
  color:#fff;
}

.icon-guide::after{content:"🧑‍✈️";}
.icon-kayak::after{content:"🛶";}
.icon-location::after{content:"📍";}

/* =====================================================
   ACTIVITIES / CARDS
   ===================================================== */

.activities {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:25px;
}

.activity-card {
  background:#fff;
  border-radius:14px;
  overflow:hidden;
  border:1px solid var(--border);
  box-shadow:0 10px 25px rgba(0,0,0,.08);
}

.activity-card img {
  width:100%;
  height:220px;
  object-fit:cover;
}

.activity-card .content {
  padding:18px;
}

/* =====================================================
   CTA & FOOTER
   ===================================================== */

.cta {
  background:linear-gradient(90deg,var(--dark),var(--secondary));
  color:#fff;
  text-align:center;
  padding:80px 20px;
}

.cta h2 {font-size:34px;}

.cta a {
  display:inline-block;
  margin-top:20px;
  background:#fff;
  color:#000;
  padding:14px 32px;
  border-radius:30px;
  font-weight:bold;
  text-decoration:none;
}

footer {
  background:var(--dark);
  color:#fff;
  text-align:center;
  padding:20px;
}

/* =====================================================
   MOBILE HERO & GRID FIX
   ===================================================== */
@media (max-width: 991px){

  .hero {
    height:auto;
    min-height:70vh;
  }

  .hero-content h1 {
    font-size:26px;
  }

  .hero-content p {
    font-size:14px;
  }

  .hero-buttons {
    display:flex;
    flex-direction:column;
  }

  .hero-buttons a {
    width:100%;
  }

  .features,
  .activities {
    grid-template-columns:1fr;
  }

 .activities {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {

  .activities {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .activity-card img {
    height: 190px;
  }

  .activity-card .btn {
    font-size: 16px;
    padding: 16px 0;
  }

  footer {
    font-size:13px;
    padding:15px;
  }
}

/* EXTRA SMALL */
@media (max-width:480px){
  h1{font-size:24px!important;}
  h2{font-size:20px!important;}
}
/* ===== BOOK NOW BUTTON FIX ===== */

.activity-card .action-area{
  margin-top:15px;
}

.activity-card .btn-group{
  display:flex;
}

.activity-card .btn{
  display:block;
  width:100%;
  padding:12px 0;
  text-align:center;
  font-size:15px;
  font-weight:600;
  border-radius:10px;
  text-decoration:none !important;
  transition:all 0.3s ease;
}

/* Primary Book Button */
.activity-card .book-btn{
  background:linear-gradient(135deg,#0a6cff,#004fd8);
  color:#fff !important;
  box-shadow:0 6px 15px rgba(10,108,255,0.25);
}

.activity-card .book-btn:hover{
  transform:translateY(-2px);
  box-shadow:0 10px 25px rgba(10,108,255,0.35);
}

/* Price styling fix */
.activity-card .old-price{
  text-decoration:line-through;
  color:#999;
  margin-right:6px;
  font-size:14px;
}

.activity-card .price{
  font-size:18px;
  font-weight:700;
  color:#0a6cff;
}
/* ===== KNOW MORE MODAL ===== */

.know-more {
  color: var(--primary);
  font-weight: 600;
  cursor: pointer;
  margin-left: 5px;
}

.know-more:hover {
  text-decoration: underline;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 99999;
}

.modal-box {
  background: #fff;
  max-width: 520px;
  width: 90%;
  padding: 25px;
  border-radius: 14px;
  position: relative;
  animation: modalFade 0.3s ease;
}

.modal-box h3 {
  margin-bottom: 12px;
  font-size: 22px;
}

.modal-box p {
  font-size: 15px;
  line-height: 1.6;
  color: #444;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 15px;
  font-size: 26px;
  cursor: pointer;
  color: #999;
}

.modal-close:hover {
  color: #000;
}

@keyframes modalFade {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
/* CMS CONTENT BOX */
.content-box {
  background: #fff;
  padding: 30px;
  border-radius: 14px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  line-height: 1.7;
}

.content-box h2,
.content-box h3 {
  margin-bottom: 15px;
  color: var(--primary);
}

.content-box p {
  margin-bottom: 15px;
  font-size: 15px;
  color: #444;
}
/* CONTACT PAGE */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-info {
  background: #fff;
  padding: 30px;
  border-radius: 14px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.contact-info h3 {
  margin-bottom: 15px;
  color: var(--primary);
}

.contact-info p {
  margin-bottom: 10px;
  font-size: 15px;
}

.contact-form {
  background: #fff;
  padding: 30px;
  border-radius: 14px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.form-group {
  margin-bottom: 15px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
}

.contact-form textarea {
  resize: none;
}

@media (max-width: 768px) {
  .contact-wrapper {
    grid-template-columns: 1fr;
  }
}
/* GOOGLE MAP */
.map-box {
  margin-top: 20px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.map-box iframe {
  display: block;
  width: 100%;
}
/* =====================================================
   PREMIUM FOOTER
   ===================================================== */

.site-footer {
  background: linear-gradient(180deg, #071a33, #031024);
  color: #cbd5e1;
  font-size: 14px;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  padding: 60px 20px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
}

.footer-logo {
  max-width: 160px;
  margin-bottom: 15px;
}

.footer-col h4 {
  color: #ffffff;
  margin-bottom: 15px;
  font-size: 16px;
}

.footer-col p {
  line-height: 1.7;
  color: #9ca3af;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-col ul li a:hover {
  color: #38bdf8;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  text-align: center;
  padding: 18px;
  font-size: 13px;
  color: #9ca3af;
}

/* MOBILE FOOTER */
@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }

  .footer-logo {
    margin: 0 auto 15px;
  }
}
/* --- GRID LAYOUT --- */
.gallery-grid {
    display: grid;
    grid-template-columns: 1fr; /* Default to 1 column for Mobile */
    gap: 20px;
}

/* TABLET: 2 Columns */
@media (min-width: 768px) {
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

/* DESKTOP: 3 Columns + Featured Card */
@media (min-width: 992px) {
    .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
    .gallery-item:first-child { grid-column: span 2; grid-row: span 2; }
}

/* --- CARD ENGINE --- */
.gallery-card { transition: transform 0.3s ease; height: 100%; }
.gallery-card:hover { transform: translateY(-5px); }

.img-wrapper {
    position: relative;
    width: 100%;
    height: 240px; /* Mobile-safe height */
    overflow: hidden;
    background: #f0f0f0;
}

/* FEATURED DESKTOP HEIGHT */
@media (min-width: 992px) {
    .gallery-item:first-child .img-wrapper { height: 530px; }
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* STOPS STRETCHING */
    transition: transform 0.6s ease;
}

/* --- UI ELEMENTS --- */
.card-title { font-weight: 700; font-size: 1rem; color: #333; }

.plus-icon {
    width: 30px; height: 30px;
    background: #ff6d38; color: #fff;
    border-radius: 50%; display: flex;
    align-items: center; justify-content: center;
}

.filter-btn {
    border: 1.5px solid #eee; background: #fff;
    padding: 6px 18px; border-radius: 50px;
    font-weight: 600; font-size: 12px; transition: 0.3s;
}

.filter-btn.active { background: #ff6d38; color: #fff; border-color: #ff6d38; }

.play-btn-overlay {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 50px; height: 50px; background: rgba(255, 109, 56, 0.9);
    color: #fff; border-radius: 50%; display: flex;
    align-items: center; justify-content: center; z-index: 2;
    border: 2px solid #fff;
}