/*
Theme Name: Aventuro v5 – Fixed Layout
Description: Travel blog with non-sticky header, mint accent, and balanced layout.
Author: Igor Kotlyar
Template: blossom-travel
Version: 5.2
*/

/* Цветовая палитра */
:root {
  --av-primary: #58aaff;
  --av-accent: #00bfa6;
  --av-dark: #1b263b;
  --av-muted: #64748b;
  --av-bg: #f8fafc;
  --av-white: #fff;
  --av-radius: 16px;
  --av-shadow: 0 12px 28px rgba(27, 38, 59, .10);
}

/* Базовые стили */
html { scroll-behavior: smooth; }
body {
  background: var(--av-bg);
  color: var(--av-dark);
  font-family: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
  margin: 0;
  padding: 0;
}
h1,h2,h3,h4,.logo-text { font-family: 'Playfair Display', serif; }
a { color: var(--av-primary); text-decoration: none; }
a:hover { opacity: .9; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ==================== HEADER ==================== */
.site-top {
  position: relative; /* теперь потолок статичный */
  width: 100%;
  background: linear-gradient(180deg,#e9f8f6,#dff5ee); /* цвет как у футера */
  box-shadow: 0 1px 0 rgba(27,38,59,.05);
  z-index: 10;
}
.site-top .inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
}
.logo-text {
  font-weight: 700;
  font-size: 1.6rem;
  letter-spacing: .3px;
  position: relative;
  color: var(--av-dark);
}
.logo-text::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: var(--av-accent);
  opacity: .9;
  border-radius: 2px;
}

/* Меню */
.nav ul {
  display: flex;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav a {
  font-weight: 600;
  color: var(--av-dark);
  position: relative;
  transition: color .2s ease;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  height: 2px;
  width: 0;
  background: var(--av-accent);
  transition: width .2s ease;
}
.nav a:hover::after { width: 100%; }

/* Бургер для мобилы */
.burger {
  display: none;
  cursor: pointer;
  color: var(--av-dark);
  font-size: 24px;
}
@media (max-width:860px) {
  .nav { display: none; }
  .burger { display: block; }
}

/* ==================== HERO ==================== */
.hero-wrap { padding-top: 0; }
.av-hero {
  position: relative;
  min-height: 75vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  overflow: hidden;
}
.av-hero .fade-layer {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity .8s ease;
}
.av-hero .fade-layer.active { opacity: 1; }
.av-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.36), rgba(0,0,0,.25) 40%, rgba(0,0,0,.25));
  z-index: 0;
}
.av-hero .inner {
  position: relative;
  z-index: 1;
  max-width: 920px;
  padding: 42px 20px;
  text-align: center;
}
.av-hero h1 {
  font-size: clamp(36px,5.2vw,60px);
  line-height: 1.05;
  margin: 0 0 12px;
  color: #fff;
}
.av-hero p {
  font-size: 1.18rem;
  margin: 0;
  color: rgba(255,255,255,.95);
}
.av-cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
  justify-content: center;
}
.btn {
  display: inline-block;
  padding: 12px 18px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.3);
  background: rgba(255,255,255,.15);
  color: #fff;
  font-weight: 700;
  backdrop-filter: blur(2px);
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(0,0,0,.12); }
.btn.light { background: #fff; color: var(--av-dark); border-color: transparent; }
.btn.light:hover { background: #eef5ff; }
.btn.primary { background: var(--av-accent); border-color: transparent; color: #fff; }
.btn.primary:hover { filter: brightness(.95); }

/* ==================== СЕКЦИИ ==================== */
.section { padding: 62px 0; }
.section h2 {
  font-size: clamp(26px,3.6vw,36px);
  margin: 0 0 14px;
  text-align: center;
}
.section p.lead {
  color: var(--av-muted);
  max-width: 780px;
  margin: 0 auto 28px auto;
  text-align: center;
}

/* ==================== МОЗАИКА ==================== */
.mosaic {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 240px 240px;
  gap: 14px;
}
.mosaic a {
  position: relative;
  display: block;
  border-radius: 16px;
  overflow: hidden;
  background: #e5eefb;
  box-shadow: 0 1px 0 rgba(27,38,59,.05);
}
.mosaic a img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
.mosaic a:hover img { transform: scale(1.06); }
.mosaic a .label {
  position: absolute;
  left: 14px;
  bottom: 14px;
  background: rgba(0,0,0,.45);
  color: #fff;
  padding: 8px 12px;
  border-radius: 12px;
  font-weight: 700;
}
.mosaic a.big { grid-row: 1/3; grid-column: 1/2; }

/* ==================== FOOTER ==================== */
.site-footer {
  background: linear-gradient(180deg,#e9f8f6,#dff5ee);
  color: #334155;
  margin-top: 32px;
  border-top: 1px solid rgba(51,65,85,.1);
}
.footer-top { padding: 36px 0; }
.footer-cols {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 24px;
  align-items: start;
}
.footer-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.footer-links ul { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin: 8px 0; }
.footer-links a { color: #334155; }
.social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(51,65,85,.2);
  margin-right: 8px;
  transition: box-shadow .15s ease, transform .15s ease;
}
.social a:hover {
  box-shadow: 0 8px 18px rgba(0,191,166,.25);
  transform: translateY(-1px);
}
.site-info {
  border-top: 1px solid rgba(51,65,85,.15);
  padding: 14px 0;
  color: #64748b;
  font-size: .95rem;
  text-align: center;
}

/* ==================== АНИМАЦИИ ==================== */
.reveal { opacity: 0; transform: translateY(10px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
