/* ===== LankaTours — Public Site Styles ===== */
:root {
  --primary: #0d7377;
  --primary-dark: #0a5457;
  --primary-light: #e6f4f3;
  --accent: #f4a340;
  --accent-dark: #d6841f;
  --dark: #16302c;
  --text: #2b3a37;
  --text-light: #6b7b78;
  --light: #f8f6f0;
  --white: #ffffff;
  --border: #e7e2d6;
  --success: #2e9e5b;
  --shadow: 0 10px 30px rgba(20, 40, 38, 0.08);
  --shadow-lg: 0 20px 50px rgba(20, 40, 38, 0.15);
  --radius: 16px;
  --radius-sm: 10px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, .font-display {
  font-family: 'Poppins', 'Segoe UI', sans-serif;
  color: var(--dark);
  font-weight: 700;
  line-height: 1.25;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 90px 0; }
.section-tight { padding: 60px 0; }
.bg-light { background: var(--light); }
.bg-dark { background: var(--dark); color: #cfe3e0; }
.bg-dark h2, .bg-dark h3 { color: #fff; }

.section-tag {
  display: inline-block;
  color: var(--primary);
  background: var(--primary-light);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 30px;
  margin-bottom: 16px;
}

.section-head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.section-head h2 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 14px; }
.section-head p { color: var(--text-light); font-size: 17px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
  border: none;
  transition: all .25s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 10px 24px rgba(244,163,64,.35); }
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-2px); }
.btn-outline { background: transparent; border: 2px solid rgba(255,255,255,.7); color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,.15); }
.btn-dark { background: var(--primary); color: #fff; }
.btn-dark:hover { background: var(--primary-dark); transform: translateY(-2px); }
.btn-block { width: 100%; }
.btn-sm { padding: 9px 18px; font-size: 13px; }

/* ===== Topbar ===== */
.topbar {
  background: var(--dark);
  color: #cfe3e0;
  font-size: 13px;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; padding-top: 8px; padding-bottom: 8px; flex-wrap: wrap; gap: 6px; }
.topbar-item { display: inline-flex; align-items: center; gap: 6px; margin-right: 18px; }
.topbar-social a { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; background: rgba(255,255,255,.1); margin-left: 6px; font-size: 12px; }
.topbar-social a:hover { background: var(--accent); }

/* ===== Navbar ===== */
.navbar {
  position: sticky; top: 0; z-index: 999;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.navbar .container { display: flex; align-items: center; justify-content: space-between; height: 78px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: 'Poppins',sans-serif; font-weight: 800; font-size: 22px; color: var(--dark); }
.brand .brand-icon { color: var(--accent); font-size: 26px; }
.brand span { color: var(--primary); }

.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a { font-weight: 600; font-size: 15px; color: var(--dark); position: relative; }
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px; background: var(--accent); transition: width .25s;
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--primary); }

.nav-actions { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 6px; }
.nav-toggle span { width: 26px; height: 3px; background: var(--dark); border-radius: 2px; }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  color: #fff;
  background-size: cover;
  background-position: center;
  isolation: isolate;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,25,23,.55) 0%, rgba(10,25,23,.55) 40%, rgba(10,25,23,.85) 100%);
  z-index: -1;
}
.hero-content { max-width: 720px; padding: 60px 0; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.3);
  padding: 8px 18px; border-radius: 30px;
  font-size: 13px; font-weight: 600; letter-spacing: .5px;
  margin-bottom: 22px;
}
.hero h1 { color: #fff; font-size: clamp(34px, 5.6vw, 62px); margin-bottom: 20px; }
.hero h1 em { color: var(--accent); font-style: normal; }
.hero p { font-size: 18px; color: #eaf3f1; max-width: 560px; margin-bottom: 34px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 56px; }

.hero-stats { display: flex; gap: 40px; flex-wrap: wrap; }
.hero-stat strong { display: block; font-size: 30px; font-family: 'Poppins',sans-serif; color: var(--accent); }
.hero-stat span { font-size: 13px; color: #d9ebe8; text-transform: uppercase; letter-spacing: .5px; }

/* Quick search bar */
.hero-search {
  margin-top: -46px;
  position: relative; z-index: 5;
}
.search-card {
  background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 22px 26px;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr auto; gap: 18px; align-items: end;
}
.search-field label { display: block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: var(--text-light); margin-bottom: 8px; }
.search-field select, .search-field input {
  width: 100%; border: 1px solid var(--border); border-radius: 10px; padding: 12px 14px; font-size: 14px; color: var(--text); background: var(--light);
}

/* ===== Why / Features ===== */
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.feature-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 32px 26px; text-align: center; transition: all .25s;
}
.feature-card:hover { box-shadow: var(--shadow); transform: translateY(-6px); border-color: transparent; }
.feature-icon {
  width: 64px; height: 64px; border-radius: 18px; background: var(--primary-light); color: var(--primary);
  display: flex; align-items: center; justify-content: center; font-size: 28px; margin: 0 auto 20px;
}
.feature-card h3 { font-size: 18px; margin-bottom: 10px; }
.feature-card p { color: var(--text-light); font-size: 14.5px; }

/* ===== Package cards ===== */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }

.pkg-card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: transform .3s, box-shadow .3s;
  display: flex; flex-direction: column;
}
.pkg-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.pkg-media { position: relative; height: 230px; overflow: hidden; }
.pkg-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.pkg-card:hover .pkg-media img { transform: scale(1.08); }
.pkg-price-tag {
  position: absolute; top: 16px; right: 16px; background: #fff; color: var(--primary);
  font-weight: 700; padding: 8px 14px; border-radius: 30px; font-size: 14px; box-shadow: 0 6px 16px rgba(0,0,0,.15);
}
.pkg-badge {
  position: absolute; top: 16px; left: 16px; background: var(--accent); color: #fff;
  font-weight: 700; font-size: 11px; text-transform: uppercase; letter-spacing: .5px; padding: 6px 12px; border-radius: 30px;
}
.pkg-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.pkg-loc { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--primary); font-weight: 600; margin-bottom: 8px; }
.pkg-body h3 { font-size: 19px; margin-bottom: 10px; }
.pkg-meta { display: flex; gap: 16px; font-size: 13px; color: var(--text-light); margin-bottom: 16px; flex-wrap: wrap; }
.pkg-meta span { display: flex; align-items: center; gap: 5px; }
.pkg-footer { margin-top: auto; display: flex; justify-content: space-between; align-items: center; padding-top: 16px; border-top: 1px solid var(--border); }

/* ===== Destinations gallery ===== */
.dest-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 190px; gap: 18px; }
.dest-grid a:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.dest-grid a:nth-child(4) { grid-column: span 2; }
.dest-item { position: relative; border-radius: var(--radius-sm); overflow: hidden; display: block; height: 100%; }
.dest-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.dest-item:hover img { transform: scale(1.1); }
.dest-item::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(10,25,23,.85) 100%); }
.dest-label { position: absolute; left: 16px; bottom: 14px; z-index: 2; color: #fff; font-family: 'Poppins',sans-serif; font-weight: 700; font-size: 16px; }
.dest-label small { display: block; font-family: 'Inter',sans-serif; font-weight: 400; font-size: 12px; opacity: .85; }

/* ===== Vehicle cards ===== */
.vehicle-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: all .25s; }
.vehicle-card:hover { box-shadow: var(--shadow); transform: translateY(-6px); }
.vehicle-media { height: 180px; background: var(--light); }
.vehicle-media img { width: 100%; height: 100%; object-fit: cover; }
.vehicle-body { padding: 20px; }
.vehicle-body h3 { font-size: 17px; margin-bottom: 6px; }
.vehicle-type { color: var(--accent-dark); font-weight: 600; font-size: 12.5px; text-transform: uppercase; letter-spacing: .5px; }
.vehicle-tags { display: flex; gap: 10px; flex-wrap: wrap; margin: 14px 0; }
.vehicle-tags span { background: var(--light); border-radius: 20px; padding: 5px 12px; font-size: 12.5px; color: var(--text-light); display: flex; align-items: center; gap: 5px; }
.vehicle-footer { display: flex; justify-content: space-between; align-items: center; padding-top: 14px; border-top: 1px solid var(--border); }
.vehicle-price strong { color: var(--primary); font-size: 20px; font-family: 'Poppins',sans-serif; }
.vehicle-price span { font-size: 12px; color: var(--text-light); }

/* ===== Support / contact ===== */
.support-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-bottom: 60px; }
.support-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; text-align: center; }
.support-card .feature-icon { background: var(--accent); color: #fff; }
.support-card a { color: var(--primary); font-weight: 700; }

.contact-wrap { display: grid; grid-template-columns: 1fr 1.2fr; gap: 50px; align-items: start; }
.contact-info-card { background: var(--dark); color: #cfe3e0; border-radius: var(--radius); padding: 40px; }
.contact-info-card h3 { color: #fff; margin-bottom: 20px; }
.contact-info-row { display: flex; gap: 16px; margin-bottom: 24px; align-items: flex-start; }
.contact-info-row .ic { width: 44px; height: 44px; border-radius: 12px; background: rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center; color: var(--accent); flex-shrink: 0; }
.contact-info-row strong { display: block; color: #fff; margin-bottom: 2px; }

.form-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 600; font-size: 13.5px; margin-bottom: 8px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; border: 1px solid var(--border); border-radius: 10px; padding: 13px 16px; font-size: 14.5px; font-family: inherit; background: var(--light); color: var(--text);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: 2px solid var(--primary); background: #fff; }
.form-group textarea { resize: vertical; min-height: 120px; }
.rating-input { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 8px; font-size: 26px; }
.rating-input input { display: none; }
.rating-input label { cursor: pointer; color: #d8d2c0; }
.rating-input input:checked ~ label,
.rating-input label:hover, .rating-input label:hover ~ label { color: var(--accent); }

.alert { padding: 14px 20px; border-radius: 10px; margin-bottom: 20px; font-size: 14.5px; font-weight: 500; }
.alert-success { background: #e5f7ec; color: var(--success); border: 1px solid #b7ecc8; }
.alert-error { background: #fdeaea; color: #c0392b; border: 1px solid #f5c6c0; }

/* ===== Reviews ===== */
.reviews-wrap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.review-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; }
.review-card .stars { color: var(--accent); font-size: 16px; letter-spacing: 2px; margin-bottom: 14px; display: block; }
.review-card p { color: var(--text); font-size: 15px; margin-bottom: 20px; font-style: italic; }
.review-author { display: flex; align-items: center; gap: 12px; }
.review-avatar {
  width: 44px; height: 44px; border-radius: 50%; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-family: 'Poppins',sans-serif;
}
.review-author strong { display: block; font-size: 14.5px; }
.review-author span { font-size: 12.5px; color: var(--text-light); }

/* ===== CTA banner ===== */
.cta-banner {
  background: linear-gradient(120deg, var(--primary), #0a5457);
  border-radius: 24px; padding: 60px; color: #fff; text-align: center; position: relative; overflow: hidden;
}
.cta-banner h2 { color: #fff; font-size: clamp(26px,4vw,36px); margin-bottom: 14px; }
.cta-banner p { color: #d9ebe8; margin-bottom: 30px; max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ===== Footer ===== */
.footer { background: var(--dark); color: #a9c1bd; padding-top: 70px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 50px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer .brand { color: #fff; }
.footer .brand span { color: var(--accent); }
.footer-about p { margin: 18px 0 20px; font-size: 14.5px; line-height: 1.7; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; }
.footer-social a:hover { background: var(--accent); color: #fff; }
.footer h4 { color: #fff; font-size: 16px; margin-bottom: 20px; }
.footer ul li { margin-bottom: 12px; font-size: 14.5px; }
.footer ul li a:hover { color: var(--accent); }
.footer-bottom { display: flex; justify-content: space-between; padding: 24px 0; font-size: 13.5px; flex-wrap: wrap; gap: 10px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }

/* ===== Inner page header ===== */
.page-hero {
  background: linear-gradient(120deg, rgba(13,115,119,.92), rgba(10,84,87,.92)), center/cover no-repeat;
  color: #fff; padding: 150px 0 70px; text-align: center;
}
.page-hero h1 { color: #fff; font-size: clamp(30px, 4.5vw, 46px); margin-bottom: 12px; }
.breadcrumb { color: #d9ebe8; font-size: 14px; }
.breadcrumb a { color: #fff; font-weight: 600; }

/* Filter bar */
.filter-bar { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; justify-content: center; }
.filter-bar select, .filter-bar input { border: 1px solid var(--border); border-radius: 30px; padding: 11px 20px; font-size: 14px; background: #fff; }

.empty-state { text-align: center; padding: 60px 20px; color: var(--text-light); }

/* Package details */
.pkg-hero-media { border-radius: var(--radius); overflow: hidden; height: 440px; margin-bottom: 40px; }
.pkg-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.pkg-detail-grid { display: grid; grid-template-columns: 1.7fr 1fr; gap: 50px; align-items: start; }
.pkg-highlights li { display: flex; gap: 10px; padding: 10px 0; border-bottom: 1px dashed var(--border); }
.pkg-highlights li::before { content: '✓'; color: var(--primary); font-weight: 800; }
.sticky-box { position: sticky; top: 100px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.price-big { font-family: 'Poppins',sans-serif; font-size: 34px; color: var(--primary); font-weight: 800; }
.price-big span { font-size: 14px; color: var(--text-light); font-weight: 500; }
.info-list li { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 14.5px; }
.info-list li strong { color: var(--dark); }
.gallery-thumbs { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; margin-bottom: 40px; }
.gallery-thumbs img { height: 90px; width: 100%; object-fit: cover; border-radius: 10px; }

/* Whatsapp float */
.wa-float {
  position: fixed; bottom: 26px; right: 26px; width: 60px; height: 60px; border-radius: 50%;
  background: #25D366; color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 28px; box-shadow: 0 10px 26px rgba(37,211,102,.5); z-index: 998; animation: pulse 2.4s infinite;
}
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,.5);} 70% { box-shadow: 0 0 0 16px rgba(37,211,102,0);} 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0);} }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .support-grid { grid-template-columns: repeat(1, 1fr); }
  .contact-wrap { grid-template-columns: 1fr; }
  .pkg-detail-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .search-card { grid-template-columns: 1fr 1fr; }
  .dest-grid { grid-template-columns: repeat(2,1fr); }
  .dest-grid a:nth-child(1) { grid-column: span 2; grid-row: span 1; height: 190px;}
  .dest-grid a:nth-child(4) { grid-column: span 1; }
  .reviews-wrap { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 768px) {
  .section { padding: 60px 0; }
  .topbar { display: none; }
  .nav-links { position: fixed; top: 78px; left: 0; right: 0; background: #fff; flex-direction: column; padding: 20px 24px; gap: 6px; box-shadow: var(--shadow); transform: translateY(-150%); opacity: 0; transition: all .3s; }
  .nav-links.open { transform: translateY(0); opacity: 1; }
  .nav-links a { display: block; padding: 12px 0; border-bottom: 1px solid var(--border); }
  .nav-toggle { display: flex; }
  .nav-actions .btn-dark { display: none; }
  .hero { min-height: 82vh; }
  .hero-search { margin-top: 24px; }
  .search-card { grid-template-columns: 1fr; }
  .features-grid, .grid-3, .grid-4, .reviews-wrap { grid-template-columns: 1fr; }
  .dest-grid { grid-template-columns: 1fr 1fr; }
  .dest-grid a:nth-child(1) { grid-column: span 2; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .cta-banner { padding: 40px 24px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero-stats { gap: 24px; }
}
