/* =========================================================
   Tours with Daša — Main Stylesheet
   Colours:
     Primary orange  : #FAB51F
     Dark green/text : #424E17
     Secondary gold  : #F39D12
     Olive           : #977B1B
     Sandy light     : #F7D38B
   Fonts: Poppins (headings) · Open Sans (body)
   ========================================================= */

/* ---- Reset & base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: 'Open Sans', sans-serif;
  color: #424E17;
  background: #fffdf5;
  line-height: 1.7;
  overflow-x: hidden;
  max-width: 100%;
}

img, video { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

/* ---- CSS custom properties ---- */
:root {
  --orange:      #FAB51F;
  --orange-dark: #F39D12;
  --green:       #424E17;
  --olive:       #977B1B;
  --sandy:       #F7D38B;
  --sandy-light: #FFF8E7;
  --white:       #ffffff;
  --radius:      12px;
  --shadow:      0 4px 24px rgba(66, 78, 23, 0.10);
  --transition:  0.25s ease;
}

/* ---- Typography ---- */
h1, h2, h3, h4 {
  font-family: 'Poppins', sans-serif;
  color: var(--green);
  line-height: 1.2;
}

/* ---- Layout helpers ---- */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 96px 0;
}

/* =========================================================
   NAVIGATION
   ========================================================= */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255, 253, 245, 0.95);
  backdrop-filter: blur(8px);
  transition: box-shadow var(--transition);
}

.site-header.scrolled {
  box-shadow: 0 2px 16px rgba(66, 78, 23, 0.12);
}

.navbar {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo-main {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--green);
  letter-spacing: -0.5px;
}

.logo-main span {
  color: var(--orange-dark);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 8px;
  align-items: center;
}

.nav-links a {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--green);
  padding: 6px 14px;
  border-radius: 20px;
  transition: background var(--transition), color var(--transition);
}

.nav-links a:hover {
  background: var(--sandy);
  color: var(--green);
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--green);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(250, 181, 31, 0.18) 0%, transparent 70%),
    var(--sandy-light);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  bottom: -60px; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(250, 181, 31, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  display: none;
}

.hero-footprints-right {
    position: absolute;
    right: -3%;
    top: 8%;
    width: 650px;
    transform: rotate(-11deg) scaleX(-1);
    opacity: 0.5;
    pointer-events: none;
    z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.hero-eyebrow {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--olive);
  margin-bottom: 12px;
}

.hero-title {
  font-size: clamp(2.8rem, 7vw, 5rem);
  font-weight: 800;
  color: var(--green);
  margin-bottom: 20px;
  letter-spacing: -1.5px;
}

.hero-title span {
  color: var(--orange-dark);
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  font-weight: 500;
  color: var(--olive);
  margin-bottom: 24px;
  font-style: italic;
}

.hero-tags {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.hero-tags span {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--green);
}

.hero-tags .sep {
  color: var(--orange);
  font-size: 1.1rem;
  font-weight: 700;
}

.hero-languages {
  font-size: 0.9rem;
  color: var(--olive);
  margin-bottom: 40px;
  letter-spacing: 0.3px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Scroll hint */
.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--olive);
  font-size: 0.78rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-family: 'Poppins', sans-serif;
  animation: fadeIn 1.5s 0.8s both;
}

.scroll-arrow {
  width: 20px; height: 20px;
  border-right: 2px solid var(--orange);
  border-bottom: 2px solid var(--orange);
  transform: rotate(45deg);
  animation: bounce 1.6s infinite;
}

@keyframes bounce {
  0%, 100% { transform: rotate(45deg) translateY(0); }
  50%       { transform: rotate(45deg) translateY(5px); }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateX(-50%) translateY(10px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 13px 28px;
  border-radius: 30px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background var(--transition), color var(--transition),
              border-color var(--transition), transform var(--transition),
              box-shadow var(--transition);
  text-align: center;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--orange);
  color: var(--green);
  border-color: var(--orange);
}

.btn-primary:hover {
  background: var(--orange-dark);
  border-color: var(--orange-dark);
  box-shadow: 0 6px 20px rgba(250, 181, 31, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--green);
  border-color: var(--green);
}

.btn-outline:hover {
  background: var(--green);
  color: var(--white);
}

.btn-card {
  background: transparent;
  color: var(--green);
  border-color: var(--green);
  font-size: 0.82rem;
  padding: 10px 22px;
  margin-top: auto;
}

.btn-card:hover {
  background: var(--green);
  color: var(--white);
}

.btn-full { width: 100%; }

/* =========================================================
   SECTION LABELS & TITLES
   ========================================================= */
.section-label {
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--orange-dark);
  background: rgba(250, 181, 31, 0.15);
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 18px;
  color: var(--green);
}

.section-intro {
  font-size: 1rem;
  color: #6a7a3a;
  max-width: 600px;
  margin-bottom: 48px;
  line-height: 1.8;
}

/* =========================================================
   ABOUT ME
   ========================================================= */
.section-about {
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 64px;
  align-items: start;
}

/* Photo */
.photo-frame {
  position: sticky;
  top: 96px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 3/4;
  background: var(--sandy-light);
  border: 4px solid var(--sandy);
}

.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.photo-placeholder, .video-placeholder {
  width: 100%; height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--sandy-light);
  color: var(--olive);
  font-family: 'Poppins', sans-serif;
  text-align: center;
  padding: 24px;
}

.photo-placeholder p, .video-placeholder p {
  font-weight: 600;
  font-size: 1rem;
}

.photo-placeholder span, .video-placeholder span {
  font-size: 0.8rem;
  opacity: 0.7;
  font-style: italic;
}

.photo-placeholder::before {
  content: '📷';
  font-size: 2.5rem;
  margin-bottom: 8px;
}

/* About text */
.about-body p {
  margin-bottom: 16px;
  font-size: 1rem;
  color: #3a4412;
}

.about-welcome {
  font-size: 1.2rem !important;
  color: var(--green) !important;
  font-family: 'Poppins', sans-serif;
}

/* Video toggle button */
.video-toggle-wrap {
  margin-top: 28px;
  text-align: right;
}

.video-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.play-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  display: block;
}

/* Video lightbox */
.video-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.video-lightbox[hidden] { display: none; }

.video-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(66, 78, 23, 0.75);
  backdrop-filter: blur(4px);
}

.video-lightbox-content {
  position: relative;
  width: 100%;
  max-width: 820px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(66, 78, 23, 0.35);
  border: 3px solid var(--sandy);
  background: #000;
}

.video-lightbox-content video {
  width: 100%;
  display: block;
  max-height: 80vh;
}

.video-lightbox-close {
  position: absolute;
  top: 12px;
  right: 14px;
  z-index: 10;
  background: var(--orange);
  border: none;
  color: var(--green);
  font-size: 1.5rem;
  line-height: 1;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  transition: background var(--transition);
}

.video-lightbox-close:hover {
  background: var(--orange-dark);
}

/* Video */
.video-wrapper {
  margin-top: 20px;
  max-width: 720px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 3px solid var(--sandy);
  background: var(--sandy-light);
}

.video-placeholder {
  min-height: 200px;
}

.video-placeholder::before {
  content: '🎬';
  font-size: 2.5rem;
  margin-bottom: 8px;
}

.video-wrapper video {
  width: 100%;
  display: block;
}

/* =========================================================
   TOURS
   ========================================================= */
.section-tours {
  background: var(--sandy-light);
}

.tours-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 40px;
}

.tour-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 28px 28px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 14px;
  border: 2px solid transparent;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.tour-card:hover {
  transform: translateY(-6px);
  border-color: var(--sandy);
  box-shadow: 0 12px 36px rgba(66, 78, 23, 0.14);
}

.tour-card-featured {
  border-color: var(--orange);
  background: linear-gradient(160deg, #fff 60%, rgba(250, 181, 31, 0.06));
}

.tour-card-featured:hover {
  border-color: var(--orange-dark);
}

.tour-card-icon {
  font-size: 2rem;
  line-height: 1;
}

.tour-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--green);
}

.tour-card p {
  font-size: 0.94rem;
  color: #5a6a25;
  flex: 1;
  line-height: 1.75;
}

.tours-note {
  text-align: center;
  font-style: italic;
  color: var(--olive);
  font-family: 'Poppins', sans-serif;
  font-size: 1.05rem;
}

/* =========================================================
   CONTACT
   ========================================================= */
.section-contact {
  background: var(--white);
}

.section-contact .section-label,
.section-contact .section-title,
.section-contact .section-intro {
  text-align: center;
}

.section-contact .section-intro {
  margin-left: auto;
  margin-right: auto;
}

.contact-email-block {
  text-align: center;
  margin-bottom: 48px;
}

.contact-email {
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--green);
  background: var(--sandy-light);
  padding: 14px 32px;
  border-radius: 30px;
  border: 2px solid var(--sandy);
  transition: background var(--transition), border-color var(--transition);
}

.contact-email:hover {
  background: var(--sandy);
  border-color: var(--orange);
}

/* Forms */
.contact-form, .review-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--green);
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: 12px 16px;
  border: 2px solid var(--sandy);
  border-radius: 8px;
  font-family: 'Open Sans', sans-serif;
  font-size: 0.95rem;
  color: var(--green);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(250, 181, 31, 0.2);
}

.form-group textarea {
  resize: vertical;
  min-height: 130px;
}

.form-error {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  color: #8b1a1a;
  background: rgba(220, 80, 80, 0.1);
  padding: 16px 24px;
  border-radius: var(--radius);
  text-align: center;
  font-size: 1rem;
  border: 2px solid rgba(220, 80, 80, 0.3);
  margin-bottom: 20px;
}

.form-success {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  color: var(--green);
  background: rgba(250, 181, 31, 0.15);
  padding: 20px 24px;
  border-radius: var(--radius);
  text-align: center;
  font-size: 1.05rem;
  border: 2px solid var(--sandy);
}

/* =========================================================
   REVIEWS
   ========================================================= */
.section-reviews {
  background: var(--sandy-light);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 56px;
}

.review-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--orange);
}

.review-placeholder {
  opacity: 0.55;
  border-left-color: var(--sandy);
}

.review-quote {
  font-style: italic;
  font-size: 0.97rem;
  color: #3a4412;
  margin-bottom: 14px;
  line-height: 1.75;
}

.review-quote::before { content: '\201C'; }
.review-quote::after  { content: '\201D'; }

.review-author {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--olive);
}

.review-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
}

.review-form h3 {
  font-size: 1.2rem;
  margin-bottom: 24px;
  color: var(--green);
}

/* =========================================================
   GALLERY
   ========================================================= */
.section-gallery {
  background: var(--white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.gallery-item {
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  overflow: hidden;
}

.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}

.gallery-item:hover img { transform: scale(1.05); }

.gallery-placeholder {
  background: var(--sandy-light);
  border: 2px dashed var(--sandy);
  display: none;
  color: var(--olive);
  font-family: 'Poppins', sans-serif;
  font-size: 0.85rem;
  font-style: italic;
}

/* ---- Lightbox ---- */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.lightbox.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  font-size: 2rem;
  padding: 12px;
  line-height: 1;
  transition: opacity 0.2s;
  opacity: 0.7;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  opacity: 1;
}

.lightbox-close {
  top: 20px;
  right: 24px;
  font-size: 2.5rem;
}

.lightbox-prev {
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-next {
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-counter {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  opacity: 0.7;
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  background: var(--green);
  color: var(--sandy-light);
  padding: 56px 0 40px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  text-align: center;
}

.footer-inner .logo-main {
  color: var(--orange);
  font-size: 1.4rem;
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--sandy);
  margin-top: 6px;
  font-style: italic;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 20px;
}

.footer-links a {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--sandy);
  transition: color var(--transition);
}

.footer-links a:hover { color: var(--orange); }

.footer-copy {
  font-size: 0.85rem;
  color: rgba(247, 211, 139, 0.7);
  line-height: 1.8;
  text-align: center;
}

.footer-copy small {
  display: block;
  margin-top: 4px;
  font-size: 0.78rem;
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(247, 211, 139, 0.15);
  border: 2px solid rgba(247, 211, 139, 0.3);
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}

.footer-social a:hover {
  background: rgba(250, 181, 31, 0.25);
  border-color: var(--orange);
  transform: translateY(-3px);
}

.footer-social img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .photo-frame {
    position: static;
    max-width: 320px;
    margin: 0 auto;
  }

  .tours-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .section { padding: 72px 0; }

  /* Mobile nav */
  .nav-toggle { display: flex; }

  .nav-links {
    display: none;
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    width: 100%;
    background: rgba(255, 253, 245, 0.95);
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 4px;
    padding: 16px 0 20px;
    z-index: 101;
    border-top: 1px solid var(--sandy);
    box-shadow: 0 6px 20px rgba(66, 78, 23, 0.10);
  }

  .nav-links.open { display: flex; }

  .nav-links a {
    font-size: 1.1rem;
    padding: 10px 28px;
  }

  .hero { padding: 100px 24px 120px; }

  .hero::before { width: 100%; }

  .hero-scroll-hint { bottom: 24px; }

  .form-row { grid-template-columns: 1fr; }

  .review-form { padding: 28px 20px; }

  .gallery-grid { grid-template-columns: 1fr; }

  .container,
  .container-narrow {
    padding: 0 16px;
    width: 100%;
  }

  .about-grid { width: 100%; }

  .contact-email {
    font-size: 0.95rem;
    padding: 12px 18px;
    word-break: break-all;
  }

  .contact-form,
  .review-form {
    width: 100%;
    overflow: hidden;
  }

  .form-group input,
  .form-group textarea,
  .form-group select {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }
}

@media (max-width: 400px) {
  .hero-title { letter-spacing: -1px; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .btn { text-align: center; }
}

/* =========================================================
   INTRO VIDEO SECTION
   ========================================================= */
.section-video {
  padding: 72px 0;
  background: #fffdf5;
}

.video-wrapper {
  margin: 0 auto;
  width: min(360px, 92vw);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(66, 78, 23, 0.15);
  /* 9:16 for YouTube Shorts */
  position: relative;
  padding-top: min(640px, calc(92vw * 1.7778));
}

.video-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}
