/*
Theme Name: Trekking Albania
Theme URI: https://www.trekkingalbania.com/
Author: Çesku - Trekking Albania
Author URI: https://www.trekkingalbania.com/
Version: 1.2.0
Description: Fast, lightweight, mobile-first WordPress theme dedicated to customized trekking, nature adventures, and specialist guiding with Çesku. Features a video background hero, dedicated destinations & activities grids, client testimonials, and WhatsApp integration.
Text Domain: trekking-albania
*/

:root {
  --green-deep: #1b4324;
  --green-light: #2d6a36;
  --blue-coast: #0284c7;
  --blue-hover: #0369a1;
  --earth-warm: #8c6d46;
  --earth-bg: #f9f8f4;
  --text-dark: #1e293b;
  --text-muted: #4b5563;
  --border-light: #e5e7eb;
  --white: #ffffff;
  --whatsapp-green: #25d366;
  --whatsapp-dark: #128c7e;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.08), 0 2px 4px -1px rgba(0,0,0,0.04);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1);
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", sans-serif;
  color: var(--text-dark);
  background-color: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  background: var(--white);
  border-bottom: 2px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}

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

.site-logo a {
  display: flex;
  flex-direction: column;
}

.site-logo-text {
  font-size: 1.55rem;
  font-weight: 900;
  color: var(--green-deep);
  letter-spacing: -0.5px;
  text-transform: uppercase;
}

.site-logo-text span {
  color: var(--blue-coast);
}

.site-motto {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--earth-warm);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.main-navigation ul {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 22px;
}

.main-navigation a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
}

.main-navigation a:hover {
  color: var(--green-deep);
}

.btn-nav-wa {
  background: var(--whatsapp-green) !important;
  color: #ffffff !important;
  padding: 9px 18px;
  border-radius: 25px;
  font-weight: 700 !important;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 2px 4px rgba(37, 211, 102, 0.3);
}

.btn-nav-wa:hover {
  background: var(--whatsapp-dark) !important;
  transform: translateY(-1px);
}

/* 1. Video Banner Hero */
.video-hero-wrapper {
  position: relative;
  height: 70vh;
  min-height: 480px;
  max-height: 720px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #0f2415;
}

.video-hero-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 1;
}

.video-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(15, 36, 21, 0.65), rgba(3, 75, 117, 0.55));
  z-index: 2;
}

.video-hero-content {
  position: relative;
  z-index: 3;
  color: #ffffff;
  text-align: center;
  max-width: 860px;
  padding: 0 20px;
}

.video-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  padding: 8px 18px;
  border-radius: 30px;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.video-hero-title {
  font-size: 3.4rem;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 18px;
  letter-spacing: -0.5px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.4);
}

.video-hero-desc {
  font-size: 1.25rem;
  margin-bottom: 30px;
  opacity: 0.95;
  line-height: 1.6;
  text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}

.btn-hero-wa {
  background: var(--whatsapp-green);
  color: #ffffff;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 1.05rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-md);
}

.btn-hero-wa:hover {
  background: var(--whatsapp-dark);
  transform: translateY(-2px);
}

/* 2. Motto Bar (Directly below video banner) */
.motto-bar {
  background: var(--earth-bg);
  border-top: 3px solid var(--earth-warm);
  border-bottom: 1px solid var(--border-light);
  padding: 35px 0;
  text-align: center;
}

.motto-bar-inner {
  max-width: 900px;
  margin: 0 auto;
}

.motto-tag {
  color: var(--earth-warm);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: block;
  margin-bottom: 8px;
}

.motto-text {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--green-deep);
  line-height: 1.35;
}

.motto-subtext {
  font-size: 1rem;
  color: var(--text-muted);
  margin-top: 8px;
}

/* Section Common Titles */
.section-block-title {
  text-align: center;
  margin-bottom: 45px;
}

.section-block-title span {
  color: var(--blue-coast);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1px;
}

.section-block-title h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--green-deep);
  margin-top: 6px;
}

.section-block-title p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 650px;
  margin: 8px auto 0 auto;
}

/* 3 Kuti Grid (Destinations & Activities) */
.three-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.box-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.box-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.box-card-thumb {
  height: 230px;
  position: relative;
  background-size: cover;
  background-position: center;
}

.box-card-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(27, 67, 36, 0.9);
  color: #ffffff;
  padding: 5px 12px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
}

.box-card-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.box-card-cat {
  color: var(--blue-coast);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.box-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--green-deep);
  margin-bottom: 10px;
  line-height: 1.35;
}

.box-card-desc {
  font-size: 0.93rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 22px;
  flex-grow: 1;
}

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

.btn-card-wa {
  background: var(--whatsapp-green);
  color: #ffffff;
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 0.88rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-card-wa:hover {
  background: var(--whatsapp-dark);
}

.btn-card-more {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--green-deep);
}

.btn-card-more:hover {
  color: var(--blue-coast);
}

/* 4. Testimonials (Dëshmi) Section */
.testimonials-section {
  background: var(--earth-bg);
  padding: 80px 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.testimonial-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 30px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.testimonial-stars {
  color: #f59e0b;
  font-size: 1.15rem;
  margin-bottom: 14px;
}

.testimonial-quote {
  font-size: 0.96rem;
  font-style: italic;
  color: var(--text-dark);
  line-height: 1.7;
  margin-bottom: 22px;
  flex-grow: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  border-top: 1px solid var(--border-light);
  padding-top: 16px;
}

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

.author-info h5 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--green-deep);
}

.author-info span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Sub-banner for inner pages */
.page-sub-banner {
  background: linear-gradient(135deg, var(--green-deep) 0%, #15311b 50%, #034b75 100%);
  color: #ffffff;
  padding: 45px 0;
  border-bottom: 3px solid var(--earth-warm);
}

.page-sub-banner h1 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.page-sub-banner p {
  font-size: 1.05rem;
  opacity: 0.9;
  max-width: 750px;
}

/* 2-Column Main Layout for single posts/pages with Sidebar */
.layout-wrapper {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  padding: 60px 0 80px 0;
}

.split-post-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 30px;
  margin-bottom: 35px;
  background: #ffffff;
}

.split-post-image {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  max-height: 460px;
}

.split-post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split-post-text h2 {
  font-size: 1.8rem;
  color: var(--green-deep);
  margin-bottom: 14px;
  line-height: 1.3;
}

.split-post-text p {
  color: var(--text-dark);
  font-size: 1.02rem;
  line-height: 1.75;
  margin-bottom: 16px;
}

.highlights-list {
  background: var(--earth-bg);
  border-left: 4px solid var(--green-deep);
  padding: 18px 20px;
  border-radius: 0 8px 8px 0;
  margin: 18px 0 24px 0;
}

.highlights-list h4 {
  color: var(--green-deep);
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.highlights-list ul {
  list-style: none;
}

.highlights-list ul li {
  padding: 4px 0;
  font-size: 0.95rem;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-whatsapp-action {
  background: var(--whatsapp-green);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 1rem;
  padding: 13px 24px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: flex-start;
  box-shadow: var(--shadow-sm);
}

.btn-whatsapp-action:hover {
  background: var(--whatsapp-dark);
  transform: translateY(-2px);
}

/* Sidebar */
.sidebar-wrapper {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.widget-box {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 10px;
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.widget-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--green-deep);
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--earth-warm);
}

.widget-cesku-card {
  text-align: center;
  background: var(--earth-bg);
  border: 1px solid #ebdccb;
}

.widget-cesku-img {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 12px auto;
  border: 3px solid var(--green-deep);
}

.widget-cesku-name {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--green-deep);
}

.widget-cesku-role {
  font-size: 0.82rem;
  color: var(--earth-warm);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 10px;
  display: block;
}

.widget-cesku-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 16px;
}

.btn-sidebar-wa {
  background: var(--whatsapp-green);
  color: #ffffff;
  width: 100%;
  padding: 12px;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-sidebar-wa:hover {
  background: var(--whatsapp-dark);
}

.widget-popular-list { list-style: none; }
.widget-popular-item { display: flex; gap: 12px; margin-bottom: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--border-light); }
.widget-popular-item:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
.widget-pop-thumb { width: 65px; height: 65px; border-radius: 6px; object-fit: cover; flex-shrink: 0; }
.widget-pop-info h5 { font-size: 0.92rem; font-weight: 700; line-height: 1.35; margin-bottom: 4px; }
.widget-pop-info h5 a:hover { color: var(--green-deep); }
.widget-pop-meta { font-size: 0.78rem; color: var(--blue-coast); font-weight: 600; }

/* Footer */
.site-footer {
  background: #0f2415;
  color: #cbd5e1;
  border-top: 4px solid var(--earth-warm);
  padding: 60px 0 25px 0;
}

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

.footer-col h4 {
  color: #ffffff;
  font-size: 1.15rem;
  margin-bottom: 16px;
}

.footer-col p {
  font-size: 0.92rem;
  line-height: 1.65;
  margin-bottom: 12px;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a { font-size: 0.92rem; color: #cbd5e1; }
.footer-col ul a:hover { color: #ffffff; }

.footer-bottom {
  border-top: 1px solid #1f3d27;
  padding-top: 25px;
  text-align: center;
  font-size: 0.88rem;
  color: #94a3b8;
}

.footer-bottom a { color: #cbd5e1; }

/* Responsive adjustments */
@media (max-width: 960px) {
  .three-cards-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .header-inner { height: auto; padding: 15px 0; flex-direction: column; gap: 12px; }
  .main-navigation ul { flex-wrap: wrap; justify-content: center; gap: 14px; }
  .video-hero-title { font-size: 2.2rem; }
  .video-hero-wrapper { height: 60vh; min-height: 420px; }
  .motto-text { font-size: 1.25rem; }
  .three-cards-grid { grid-template-columns: 1fr; }
  .layout-wrapper { grid-template-columns: 1fr; }
  .split-post-layout { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 30px; }
}
