/* ============================================================
   TRIALO TRAVEL — MAIN STYLESHEET
   ============================================================ */

:root {
  --green-dark: #1a4a2e;
  --green-mid:  #2d6a4f;
  --green-light:#52b788;
  --brown:      #8b5e3c;
  --brown-light:#c49a6c;
  --cream:      #faf8f3;
  --white:      #ffffff;
  --gray:       #6b7280;
  --gray-light: #f3f4f6;
  --text:       #1c1c1e;
  --red:        #e63946;
  --shadow:     0 4px 24px rgba(0,0,0,0.10);
  --radius:     14px;
}

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

html { scroll-behavior: smooth; }

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

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

img { display:block; max-width:100%; height:auto; object-fit:cover; }

a { color: inherit; text-decoration: none; }

/* ── TOPBAR ── */
.topbar {
  background: var(--green-dark);
  padding: 6px 0;
  font-size: 0.78rem;
}
.topbar-inner {
  max-width:1180px; margin:0 auto; padding:0 24px;
  display:flex; justify-content:space-between; align-items:center;
}
.topbar-left, .topbar-right { display:flex; gap:20px; }
.topbar a { color:rgba(255,255,255,0.75); transition:color .2s; }
.topbar a:hover { color:var(--brown-light); }

/* ── NAV ── */
#mainNav {
  position: sticky; top: 0; z-index: 900;
  background: rgba(26,74,46,0.98);
  backdrop-filter: blur(12px);
  transition: background .3s, box-shadow .3s;
}
#mainNav.scrolled { box-shadow: 0 4px 30px rgba(0,0,0,0.3); }

.nav-inner {
  max-width:1180px; margin:0 auto; padding:0 24px;
  height:66px; display:flex; align-items:center; gap:24px;
}

.nav-logo { display:flex; align-items:center; gap:12px; }
.logo-icon { font-size:1.8rem; }
.logo-text strong { display:block; color:white; font-family:'Playfair Display',serif; font-size:1.1rem; line-height:1.1; }
.logo-text small { color:var(--brown-light); font-size:0.68rem; letter-spacing:1.5px; text-transform:uppercase; }

.nav-links {
  display:flex; list-style:none; gap:4px;
  margin:0 auto;
}
.nav-links a {
  color:rgba(255,255,255,0.8); padding:8px 14px;
  border-radius:8px; font-size:0.88rem; font-weight:600;
  transition:all .2s; letter-spacing:.3px;
}
.nav-links a:hover, .nav-links a.active {
  background:rgba(255,255,255,0.12); color:white;
}

.nav-right { display:flex; align-items:center; gap:12px; flex-shrink:0; }

.lang-switcher { display:flex; gap:4px; }
.lang-btn {
  background:transparent; border:1.5px solid rgba(255,255,255,0.3);
  color:rgba(255,255,255,0.6); padding:4px 9px; border-radius:5px;
  font-size:0.72rem; font-weight:800; cursor:pointer;
  transition:all .2s; letter-spacing:.5px;
}
.lang-btn.active, .lang-btn:hover {
  background:var(--brown); border-color:var(--brown); color:white;
}

.btn-book {
  background:var(--brown); color:white; padding:9px 20px;
  border-radius:8px; font-size:0.82rem; font-weight:800;
  white-space:nowrap; transition:all .2s;
}
.btn-book:hover { background:var(--brown-light); transform:translateY(-1px); }

.hamburger {
  display:none; background:none; border:none;
  color:white; font-size:1.5rem; cursor:pointer;
}

/* ── HERO ── */
.hero {
  height: 100vh; min-height:650px; max-height:900px;
  position:relative; overflow:hidden;
  display:flex; align-items:center;
}

.hero-bg {
  position:absolute; inset:0;
}
.hero-bg img {
  width:100%; height:100%;
  object-fit:cover; object-position:center;
  transform:scale(1.05);
  animation:heroZoom 12s ease-out forwards;
}
@keyframes heroZoom {
  from { transform:scale(1.05); }
  to   { transform:scale(1.0); }
}

.hero-overlay {
  position:absolute; inset:0;
  background:linear-gradient(135deg, rgba(10,31,17,0.75) 0%, rgba(26,74,46,0.55) 50%, rgba(10,31,17,0.65) 100%);
}

.hero-content {
  position:relative; z-index:2;
  max-width:1180px; margin:0 auto; padding:0 24px;
  width:100%;
}

.hero-badge {
  display:inline-flex; align-items:center; gap:8px;
  background:rgba(196,154,108,0.2); border:1px solid rgba(196,154,108,0.5);
  color:var(--brown-light); padding:7px 20px; border-radius:30px;
  font-size:0.75rem; font-weight:800; letter-spacing:2.5px;
  text-transform:uppercase; margin-bottom:24px;
  animation:fadeUp .8s ease both;
}

.hero h1 {
  font-family:'Playfair Display',serif;
  font-size:clamp(2.8rem, 6.5vw, 6rem);
  color:white; line-height:1.08;
  margin-bottom:22px; max-width:740px;
  text-shadow:0 4px 40px rgba(0,0,0,0.4);
  animation:fadeUp .8s .15s ease both;
}
.hero h1 em { color:var(--brown-light); font-style:normal; }

.hero p {
  color:rgba(255,255,255,0.88); font-size:1.1rem;
  max-width:560px; margin-bottom:40px; line-height:1.75;
  animation:fadeUp .8s .3s ease both;
}

.hero-cta {
  display:flex; gap:14px; flex-wrap:wrap;
  animation:fadeUp .8s .45s ease both;
}

.btn-primary {
  background:var(--green-mid); color:white;
  padding:15px 36px; border-radius:10px;
  font-size:0.98rem; font-weight:800;
  transition:all .3s; display:inline-block; border:none; cursor:pointer;
}
.btn-primary:hover { background:var(--green-dark); transform:translateY(-2px); box-shadow:0 8px 24px rgba(45,106,79,.4); }

.btn-outline {
  background:transparent; color:white;
  padding:14px 34px; border-radius:10px;
  border:2px solid rgba(255,255,255,0.5);
  font-size:0.98rem; font-weight:800;
  transition:all .3s; display:inline-block;
}
.btn-outline:hover { border-color:white; background:rgba(255,255,255,0.1); }

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

/* ── STATS STRIP ── */
.stats-strip {
  background:var(--green-dark); padding:52px 0;
}
.stats-grid {
  display:grid; grid-template-columns:repeat(4,1fr); gap:20px;
  text-align:center;
}
.stat-item h3 {
  font-family:'Playfair Display',serif;
  font-size:3rem; color:var(--brown-light); font-weight:900;
}
.stat-item p { color:rgba(255,255,255,0.65); font-size:0.9rem; margin-top:4px; }

/* ── SECTION COMMON ── */
section { padding:88px 0; }

.section-label {
  display:inline-block; color:var(--brown);
  font-size:0.72rem; font-weight:800; letter-spacing:3px;
  text-transform:uppercase; margin-bottom:14px;
}

h2.section-title {
  font-family:'Playfair Display',serif;
  font-size:clamp(1.9rem,3.5vw,3rem); color:var(--green-dark);
  margin-bottom:16px; line-height:1.2;
}
h2.section-title em { color:var(--brown); font-style:normal; }

.section-desc {
  color:var(--gray); font-size:1rem; max-width:580px;
  line-height:1.75; margin-bottom:52px;
}

/* ── TOUR CARDS ── */
.tours-grid {
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(330px,1fr));
  gap:28px;
}

.tour-card {
  background:white; border-radius:var(--radius);
  overflow:hidden; box-shadow:var(--shadow);
  transition:transform .3s, box-shadow .3s;
  display:flex; flex-direction:column;
}
.tour-card:hover { transform:translateY(-7px); box-shadow:0 20px 50px rgba(0,0,0,0.15); }

.tour-thumb {
  width:100%; height:230px; position:relative; overflow:hidden;
  background:var(--green-dark);
}
.tour-thumb img { width:100%; height:100%; object-fit:cover; transition:transform .5s; }
.tour-card:hover .tour-thumb img { transform:scale(1.07); }

.tour-cat {
  position:absolute; top:14px; left:14px;
  background:var(--green-mid); color:white;
  padding:5px 13px; border-radius:20px;
  font-size:0.7rem; font-weight:800; letter-spacing:.5px;
}
.tour-featured {
  position:absolute; top:14px; right:14px;
  background:var(--brown); color:white;
  padding:5px 11px; border-radius:20px;
  font-size:0.7rem; font-weight:800;
}

.tour-body { padding:22px; flex:1; display:flex; flex-direction:column; }

.tour-meta { display:flex; gap:14px; margin-bottom:12px; }
.tour-meta span { font-size:0.78rem; color:var(--gray); display:flex; align-items:center; gap:4px; }

.tour-body h3 {
  font-family:'Playfair Display',serif;
  font-size:1.25rem; color:var(--green-dark); margin-bottom:10px;
}
.tour-body p { font-size:0.88rem; color:var(--gray); line-height:1.65; flex:1; }

.tour-footer {
  display:flex; align-items:center; justify-content:space-between;
  margin-top:20px; padding-top:16px;
  border-top:1px solid var(--gray-light);
}
.tour-price { font-size:1.3rem; font-weight:900; color:var(--brown); }
.tour-price small { font-size:0.7rem; color:var(--gray); font-weight:400; }
.tour-link {
  font-size:0.82rem; font-weight:800; color:var(--green-mid);
  display:flex; align-items:center; gap:4px; transition:gap .2s;
}
.tour-card:hover .tour-link { gap:8px; }

/* ── WHY GRID ── */
.why-section { background:white; }

.why-grid {
  display:grid; grid-template-columns:repeat(auto-fit,minmax(250px,1fr)); gap:28px;
}

.why-card {
  padding:32px; border-radius:var(--radius);
  border:1.5px solid var(--gray-light);
  transition:all .25s;
  position:relative; overflow:hidden;
}
.why-card::before {
  content:''; position:absolute; bottom:0; left:0; right:0; height:4px;
  background:linear-gradient(90deg,var(--green-mid),var(--green-light));
  transform:scaleX(0); transition:transform .3s;
}
.why-card:hover { border-color:var(--green-light); transform:translateY(-4px); box-shadow:var(--shadow); }
.why-card:hover::before { transform:scaleX(1); }

.why-icon { font-size:2.8rem; margin-bottom:18px; }
.why-card h3 { font-family:'Playfair Display',serif; font-size:1.15rem; color:var(--green-dark); margin-bottom:10px; }
.why-card p { font-size:0.88rem; color:var(--gray); line-height:1.7; }

/* ── DESTINATIONS GRID ── */
.dest-grid {
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(200px,1fr));
  gap:16px;
}

.dest-card {
  border-radius:12px; overflow:hidden;
  aspect-ratio:4/3; position:relative;
  cursor:pointer; transition:transform .3s;
}
.dest-card:hover { transform:scale(1.03); }
.dest-card:hover .dest-name { bottom:12px; }

.dest-card img {
  width:100%; height:100%; object-fit:cover;
  transition:transform .5s;
}
.dest-card:hover img { transform:scale(1.08); }

.dest-overlay {
  position:absolute; inset:0;
  background:linear-gradient(to top,rgba(0,0,0,.75) 0%,transparent 55%);
}
.dest-name {
  position:absolute; bottom:14px; left:14px;
  color:white; font-weight:800; font-size:1rem;
  transition:bottom .3s;
}
.dest-name small { display:block; color:rgba(255,255,255,.65); font-size:.72rem; font-weight:400; }

/* ── CONTACT SECTION ── */
.contact-section { background:var(--green-dark); }
.contact-section .section-label { color:var(--brown-light); }
.contact-section h2.section-title { color:white; }
.contact-section .section-desc { color:rgba(255,255,255,.7); }

.contact-grid { display:grid; grid-template-columns:1fr 1.2fr; gap:60px; align-items:start; }

.contact-info-item {
  display:flex; align-items:flex-start; gap:16px; margin-bottom:28px;
}
.contact-icon {
  background:rgba(255,255,255,0.1); width:50px; height:50px;
  border-radius:12px; display:flex; align-items:center; justify-content:center;
  font-size:1.4rem; flex-shrink:0;
}
.contact-info-item h4 { color:white; font-weight:700; margin-bottom:4px; }
.contact-info-item p { color:rgba(255,255,255,.65); font-size:.9rem; }

.contact-form { display:flex; flex-direction:column; gap:14px; }
.contact-form input,
.contact-form textarea,
.contact-form select {
  width:100%; padding:13px 16px;
  background:rgba(255,255,255,.1);
  border:1.5px solid rgba(255,255,255,.2);
  border-radius:9px; color:white;
  font-family:'Nunito',sans-serif; font-size:.95rem;
  outline:none; transition:border-color .2s;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color:rgba(255,255,255,.4); }
.contact-form input:focus,
.contact-form textarea:focus { border-color:var(--brown-light); }
.contact-form textarea { height:120px; resize:none; }
.contact-form select option { background:var(--green-dark); }

.form-row { display:grid; grid-template-columns:1fr 1fr; gap:14px; }

/* ── FOOTER ── */
.footer-wave svg { display:block; width:100%; }
.footer-body { background:#0a1f11; padding:60px 0 30px; }

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

.footer-logo {
  font-family:'Playfair Display',serif;
  font-size:1.4rem; color:white; font-weight:700; margin-bottom:14px;
}
.footer-brand p { color:rgba(255,255,255,.5); font-size:.87rem; line-height:1.7; }

.footer-social { display:flex; gap:8px; margin-top:20px; flex-wrap:wrap; }
.social-btn {
  background:rgba(255,255,255,.1); color:rgba(255,255,255,.7);
  padding:6px 14px; border-radius:6px; font-size:.75rem; font-weight:700;
  transition:all .2s;
}
.social-btn:hover { background:var(--brown); color:white; }

.footer-col h4 { color:white; font-weight:700; margin-bottom:16px; font-size:.9rem; letter-spacing:.5px; }
.footer-col ul { list-style:none; }
.footer-col ul li { margin-bottom:10px; }
.footer-col ul li a { color:rgba(255,255,255,.48); font-size:.85rem; transition:color .2s; }
.footer-col ul li a:hover { color:var(--brown-light); }
.footer-col ul li:not(:has(a)) { color:rgba(255,255,255,.48); font-size:.85rem; }

.footer-bottom {
  border-top:1px solid rgba(255,255,255,.1); padding-top:24px;
  display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px;
  color:rgba(255,255,255,.35); font-size:.78rem;
}
.footer-bottom a { color:rgba(255,255,255,.45); transition:color .2s; }
.footer-bottom a:hover { color:var(--brown-light); }

/* ── INNER PAGES ── */
.page-hero {
  height:420px; position:relative;
  display:flex; align-items:flex-end;
  padding-bottom:50px;
  background:var(--green-dark);
}
.page-hero img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; opacity:.55; }
.page-hero-overlay { position:absolute; inset:0; background:linear-gradient(to top, rgba(10,31,17,0.9) 0%, transparent 60%); }
.page-hero-content { position:relative; z-index:2; }
.page-hero h1 { font-family:'Playfair Display',serif; font-size:clamp(2rem,4vw,3.5rem); color:white; margin-bottom:12px; }
.page-hero .breadcrumb { color:rgba(255,255,255,.55); font-size:.82rem; }
.page-hero .breadcrumb a { color:var(--brown-light); }

/* ── TOUR DETAIL ── */
.tour-detail-grid { display:grid; grid-template-columns:1fr 360px; gap:50px; align-items:start; }
.tour-sidebar { background:white; border-radius:var(--radius); padding:28px; box-shadow:var(--shadow); position:sticky; top:90px; }
.tour-sidebar .price-big { font-family:'Playfair Display',serif; font-size:2.5rem; color:var(--brown); font-weight:900; }
.tour-sidebar .price-big small { font-size:.8rem; color:var(--gray); font-weight:400; }

.highlight-list { list-style:none; }
.highlight-list li { padding:9px 0; border-bottom:1px solid var(--gray-light); font-size:.9rem; display:flex; gap:10px; }
.highlight-list li::before { content:'✓'; color:var(--green-mid); font-weight:900; }

.included-list { display:flex; flex-wrap:wrap; gap:8px; margin-top:10px; }
.included-tag { background:var(--gray-light); color:var(--text); padding:5px 12px; border-radius:20px; font-size:.78rem; }

.itinerary-item { display:flex; gap:20px; padding:20px 0; border-bottom:1px solid var(--gray-light); }
.itinerary-day { font-family:'Playfair Display',serif; font-size:1.1rem; color:var(--green-mid); font-weight:700; min-width:60px; }

/* ── ALERTS & MESSAGES ── */
.alert { padding:14px 20px; border-radius:8px; margin-bottom:20px; font-size:.9rem; }
.alert-success { background:#dcfce7; color:#15803d; }
.alert-error   { background:#fee2e2; color:#dc2626; }

/* ── PAGINATION ── */
.pagination { display:flex; gap:8px; justify-content:center; margin-top:50px; }
.pagination a, .pagination span {
  padding:8px 16px; border-radius:8px; font-weight:700; font-size:.85rem;
  background:white; border:1.5px solid var(--gray-light); transition:all .2s;
}
.pagination a:hover { border-color:var(--green-mid); color:var(--green-mid); }
.pagination .current { background:var(--green-mid); color:white; border-color:var(--green-mid); }

/* ── UTILS ── */
@keyframes fadeUp {
  from { opacity:0; transform:translateY(24px); }
  to   { opacity:1; transform:translateY(0); }
}

.fade-up { animation:fadeUp .7s ease both; }

.bg-cream { background:var(--cream); }
.bg-white { background:white; }
.mt-0 { margin-top:0; }
.text-center { text-align:center; }
.text-center .section-desc { margin-left:auto; margin-right:auto; }

/* ── RESPONSIVE ── */
@media (max-width:1024px) {
  .tour-detail-grid { grid-template-columns:1fr; }
  .tour-sidebar { position:static; }
  .contact-grid { grid-template-columns:1fr; }
  .footer-grid { grid-template-columns:1fr 1fr; }
}

@media (max-width:768px) {
  .topbar { display:none; }
  .nav-links { 
    display:none; position:fixed; top:66px; left:0; right:0;
    background:var(--green-dark); flex-direction:column;
    padding:16px; gap:4px; z-index:800;
  }
  .nav-links.open { display:flex; }
  .nav-links a { padding:12px 16px; border-radius:8px; }
  .hamburger { display:block; margin-left:auto; }
  .btn-book { display:none; }
  .stats-grid { grid-template-columns:repeat(2,1fr); }
  .form-row { grid-template-columns:1fr; }
  .footer-grid { grid-template-columns:1fr; }
  section { padding:60px 0; }
  .hero h1 { font-size:2.4rem; }
}
