/*
Theme Name: Lanka Visitor
Theme URI: https://lankavisitor.com
Author: Lanka Visitor Tours
Author URI: https://lankavisitor.com
Description: Premium travel & tourism theme for Lanka Visitor - We Create Your Dream Tour
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: lanka-visitor
Tags: travel, tourism, full-width-template, custom-menu, featured-images
*/

/* =============================================
   CSS CUSTOM PROPERTIES
   ============================================= */
:root {
  --green-deep:    #1B4332;
  --green-mid:     #2D6A4F;
  --green-light:   #40916C;
  --green-pale:    #D8F3DC;
  --gold:          #D4A017;
  --gold-light:    #F0C040;
  --cream:         #F8F6F0;
  --white:         #FFFFFF;
  --dark:          #0D1B0F;
  --gray:          #6B7280;
  --gray-light:    #F3F4F6;

  /* Logo flag colors as accents */
  --flag-red:      #8B1A1A;
  --flag-yellow:   #F5C518;
  --flag-blue:     #003580;

  --font-display:  'Playfair Display', Georgia, serif;
  --font-body:     'Inter', sans-serif;

  --radius:        12px;
  --radius-lg:     20px;
  --shadow:        0 4px 24px rgba(0,0,0,0.10);
  --shadow-lg:     0 12px 48px rgba(0,0,0,0.18);
  --transition:    0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* =============================================
   RESET & BASE
   ============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--dark);
  background: var(--white);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }

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

.section-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--gray);
  max-width: 560px;
  margin-bottom: 48px;
}

/* =============================================
   HEADER / NAVIGATION
   ============================================= */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
  padding: 20px 0;
}

#site-header.scrolled {
  background: rgba(27, 67, 50, 0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 24px rgba(0,0,0,0.18);
  padding: 12px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-logo img {
  height: 64px;
  width: auto;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.3));
}

.site-logo img.scrolled-logo {
  filter: brightness(1.1);
}

.main-nav ul {
  display: flex;
  gap: 36px;
  align-items: center;
}

.main-nav a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 4px;
  transition: color var(--transition);
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width var(--transition);
}

.main-nav a:hover { color: var(--gold-light); }
.main-nav a:hover::after { width: 100%; }

.nav-cta {
  background: var(--gold) !important;
  color: var(--dark) !important;
  padding: 10px 22px !important;
  border-radius: 50px !important;
  font-weight: 700 !important;
  transition: background var(--transition), transform var(--transition) !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--gold-light) !important; transform: translateY(-2px) !important; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  width: 26px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
  display: block;
}

/* =============================================
   HERO SECTION
   ============================================= */
#hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--green-deep);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(13,27,15,0.85) 0%,
    rgba(27,67,50,0.70) 50%,
    rgba(45,106,79,0.60) 100%
  ),
  url('https://images.unsplash.com/photo-1506905925346-21bda4d32df4?w=1920&q=80') center/cover no-repeat;
  animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  from { transform: scale(1); }
  to   { transform: scale(1.06); }
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(212,160,23,0.15);
  border: 1px solid rgba(212,160,23,0.4);
  color: var(--gold-light);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: 50px;
  margin-bottom: 24px;
}

.hero-badge::before { content: '✈'; font-size: 1rem; }

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 24px;
  max-width: 700px;
}

.hero-title span {
  color: var(--gold-light);
  display: block;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.82);
  max-width: 520px;
  margin-bottom: 40px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: var(--dark);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 16px 32px;
  border-radius: 50px;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 20px rgba(212,160,23,0.35);
}

.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(212,160,23,0.45);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 15px 30px;
  border-radius: 50px;
  border: 2px solid rgba(255,255,255,0.5);
  transition: all var(--transition);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
  transform: translateY(-3px);
}

.hero-stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
}

.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
}

.stat-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.5);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* =============================================
   DESTINATIONS SECTION
   ============================================= */
#destinations {
  padding: 100px 0;
  background: var(--cream);
}

.destinations-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
  flex-wrap: wrap;
  gap: 24px;
}

.destinations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}

.dest-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 380px;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}

.dest-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.dest-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.dest-card:hover .dest-card-img {
  transform: scale(1.08);
}

.dest-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
    rgba(13,27,15,0.92) 0%,
    rgba(13,27,15,0.35) 55%,
    transparent 100%
  );
}

.dest-card-badge {
  position: absolute;
  top: 20px; right: 20px;
  background: var(--gold);
  color: var(--dark);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 50px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.dest-card-content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 28px;
}

.dest-flag {
  font-size: 1.5rem;
  margin-bottom: 8px;
  display: block;
}

.dest-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
}

.dest-country {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.dest-meta {
  display: flex;
  gap: 16px;
}

.dest-meta span {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.75);
  display: flex;
  align-items: center;
  gap: 4px;
}

/* =============================================
   PACKAGES SECTION
   ============================================= */
#packages {
  padding: 100px 0;
  background: var(--white);
}

.packages-header { text-align: center; }
.packages-header .section-subtitle { margin: 0 auto 48px; }

.packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
}

.pkg-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.06);
}

.pkg-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.pkg-card.featured {
  border: 2px solid var(--gold);
}

.pkg-img-wrap {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.pkg-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.pkg-card:hover .pkg-img-wrap img { transform: scale(1.05); }

.pkg-featured-tag {
  position: absolute;
  top: 16px; left: 16px;
  background: var(--gold);
  color: var(--dark);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 5px 14px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.pkg-body {
  padding: 24px;
}

.pkg-category {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--green-light);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.pkg-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
  line-height: 1.3;
}

.pkg-desc {
  font-size: 0.88rem;
  color: var(--gray);
  margin-bottom: 16px;
  line-height: 1.6;
}

.pkg-includes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.pkg-tag {
  font-size: 0.75rem;
  background: var(--green-pale);
  color: var(--green-deep);
  padding: 4px 12px;
  border-radius: 50px;
  font-weight: 600;
}

.pkg-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--gray-light);
}

.pkg-price {
  display: flex;
  flex-direction: column;
}

.pkg-price-from {
  font-size: 0.72rem;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.pkg-price-amount {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--green-deep);
}

.pkg-price-per {
  font-size: 0.75rem;
  color: var(--gray);
}

.pkg-duration {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--gray);
}

.btn-pkg {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--green-deep);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 50px;
  transition: all var(--transition);
}

.btn-pkg:hover {
  background: var(--green-mid);
  transform: translateY(-2px);
}

/* =============================================
   WHY US SECTION
   ============================================= */
#why-us {
  padding: 100px 0;
  background: var(--green-deep);
  position: relative;
  overflow: hidden;
}

#why-us::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(212,160,23,0.12) 0%, transparent 70%);
  border-radius: 50%;
}

.why-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.why-text .section-title { color: var(--white); }
.why-text .section-subtitle { color: rgba(255,255,255,0.7); }

.why-features {
  display: grid;
  gap: 24px;
  margin-top: 8px;
}

.why-feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.why-icon {
  width: 48px; height: 48px;
  background: rgba(212,160,23,0.15);
  border: 1px solid rgba(212,160,23,0.3);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.why-feature-text h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}

.why-feature-text p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
}

.why-visual {
  position: relative;
}

.why-img-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.why-img-grid img {
  border-radius: var(--radius);
  height: 200px;
  width: 100%;
  object-fit: cover;
}

.why-img-grid img:first-child {
  grid-column: 1 / -1;
  height: 240px;
}

.why-card-float {
  position: absolute;
  bottom: -20px; left: -20px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 16px 20px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 200px;
}

.float-icon { font-size: 2rem; }

.float-text strong {
  display: block;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--green-deep);
  font-family: var(--font-display);
}

.float-text span {
  font-size: 0.78rem;
  color: var(--gray);
}

/* =============================================
   TESTIMONIALS
   ============================================= */
#testimonials {
  padding: 100px 0;
  background: var(--cream);
}

.testimonials-header { text-align: center; }
.testimonials-header .section-subtitle { margin: 0 auto 48px; }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.testi-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
  transition: transform var(--transition);
  border-top: 3px solid var(--gold);
}

.testi-card:hover { transform: translateY(-4px); }

.testi-stars {
  color: var(--gold);
  font-size: 1rem;
  margin-bottom: 12px;
  letter-spacing: 2px;
}

.testi-text {
  font-size: 0.92rem;
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testi-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--green-pale);
}

.testi-name {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--dark);
}

.testi-location {
  font-size: 0.78rem;
  color: var(--gray);
}

/* =============================================
   CTA BANNER
   ============================================= */
#cta-banner {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--green-deep) 0%, var(--green-mid) 100%);
  position: relative;
  overflow: hidden;
  text-align: center;
}

#cta-banner::before {
  content: '✈';
  position: absolute;
  font-size: 20rem;
  opacity: 0.04;
  top: -40px; right: -40px;
  color: var(--white);
}

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.2;
}

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

.cta-subtitle {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.75);
  max-width: 480px;
  margin: 0 auto 36px;
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  color: var(--green-deep);
  font-weight: 700;
  padding: 16px 32px;
  border-radius: 50px;
  transition: all var(--transition);
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.btn-white:hover {
  background: var(--cream);
  transform: translateY(-3px);
}

/* =============================================
   FOOTER
   ============================================= */
#site-footer {
  background: var(--dark);
  color: rgba(255,255,255,0.75);
  padding: 72px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand img {
  height: 56px;
  width: auto;
  filter: brightness(1.2);
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.6);
  margin-bottom: 24px;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: all var(--transition);
  color: rgba(255,255,255,0.75);
}

.social-link:hover {
  background: var(--gold);
  color: var(--dark);
  border-color: var(--gold);
  transform: translateY(-3px);
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 28px; height: 2px;
  background: var(--gold);
}

.footer-col ul { display: flex; flex-direction: column; gap: 10px; }

.footer-col a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  transition: color var(--transition), padding-left var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-col a:hover {
  color: var(--gold-light);
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 12px;
}

.footer-contact-item span:first-child { font-size: 1rem; margin-top: 1px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p { font-size: 0.82rem; color: rgba(255,255,255,0.45); }

.footer-flag {
  display: flex;
  gap: 6px;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .why-inner { grid-template-columns: 1fr; gap: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .main-nav { display: none; }
  .main-nav.open { display: block; }
  .hamburger { display: flex; }

  .main-nav ul {
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: rgba(27,67,50,0.98);
    padding: 20px 24px 28px;
    gap: 8px;
  }

  .hero-stats { gap: 24px; }
  .destinations-header { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .why-img-grid img:first-child { height: 180px; }
}

@media (max-width: 480px) {
  .destinations-grid,
  .packages-grid,
  .testimonials-grid { grid-template-columns: 1fr; }
}

/* =============================================
   ANIMATIONS
   ============================================= */
[data-aos] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos].aos-animate {
  opacity: 1;
  transform: translateY(0);
}

.whatsapp-float {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 56px; height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 4px 20px rgba(37,211,102,0.5);
  z-index: 999;
  transition: transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 8px 30px rgba(37,211,102,0.6);
}
