/* ============================================
   РУСЛАН — РЫБАК | ОСЕННЯЯ ТЕМАТИКА
   ============================================ */

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

:root {
  /* Осенняя палитра */
  --amber: #D4890A;
  --amber-light: #E8A020;
  --amber-dark: #B8860B;
  --brown: #8B6914;
  --brown-dark: #5a3e00;
  --cream: #F4E8D1;
  --cream-dark: #E8D5B8;
  --forest: #4A6D3A;
  --forest-dark: #2D4A22;
  --river: #4A6D7C;
  --river-dark: #3D5B6A;
  --mist: rgba(255, 255, 255, 0.15);
  --bg-dark: #2A1F14;
  --bg-section: #1E1610;
  --text-primary: #F4E8D1;
  --text-secondary: #C4A87A;
  --text-muted: #9A8468;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Nunito', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Canvas for falling leaves */
#leaves-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1000;
}

/* ====== CONTAINER ====== */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ====== SECTION TITLES ====== */
.section-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--amber);
  margin-bottom: 12px;
  position: relative;
}

.section-title--center {
  text-align: center;
}

.section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 48px;
}

/* ====== HERO ====== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(180deg, 
    #3D2B1A 0%, 
    #5C3D1E 30%, 
    #8B5E3C 60%, 
    #4A6D7C 85%, 
    #3D5B6A 100%
  );
  overflow: hidden;
}

.hero__fog {
  position: absolute;
  bottom: 15%;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(transparent, rgba(255,255,255,0.08), transparent);
  animation: fog-drift 8s ease-in-out infinite alternate;
}

@keyframes fog-drift {
  0% { transform: translateX(-30px); opacity: 0.5; }
  100% { transform: translateX(30px); opacity: 0.8; }
}

.hero__content {
  position: relative;
  z-index: 2;
  padding: 2rem;
}

.hero__rod {
  margin-bottom: 1.5rem;
  opacity: 0.5;
  animation: rod-sway 4s ease-in-out infinite;
}

@keyframes rod-sway {
  0%, 100% { transform: rotate(-2deg); }
  50% { transform: rotate(2deg); }
}

.hero__tag {
  font-size: 0.95rem;
  color: var(--cream-dark);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
  opacity: 0.8;
}

.hero__title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 700;
  color: var(--cream);
  text-shadow: 0 4px 30px rgba(0,0,0,0.4);
  margin-bottom: 8px;
  line-height: 1.1;
}

.hero__subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  color: var(--amber-light);
  font-weight: 600;
  margin-bottom: 20px;
}

.hero__desc {
  font-size: 1.05rem;
  color: var(--cream-dark);
  max-width: 500px;
  margin: 0 auto 32px;
  line-height: 1.7;
  opacity: 0.85;
}

.hero__cta {
  display: inline-block;
  padding: 14px 36px;
  background: linear-gradient(135deg, var(--amber), var(--amber-dark));
  color: #fff;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(212, 137, 10, 0.3);
}

.hero__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(212, 137, 10, 0.5);
}

.hero__scroll-hint {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.85rem;
  animation: bounce 2s infinite;
}

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

/* ====== ABOUT ====== */
.about {
  padding: 100px 0;
  background: var(--bg-section);
  position: relative;
}

.about::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(var(--bg-section), transparent);
  pointer-events: none;
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

@media (max-width: 768px) {
  .about__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.about__bio {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.8;
}

.about__bio strong {
  color: var(--amber);
}

.about__stats {
  display: flex;
  gap: 32px;
  margin-top: 32px;
}

.stat {
  text-align: center;
}

.stat__number {
  display: block;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--amber);
}

.stat__label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.about__card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  overflow: hidden;
}

.about__scene {
  padding: 0;
}

.about__scene svg {
  display: block;
  width: 100%;
  height: auto;
}

.about__caption {
  padding: 16px 20px;
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-muted);
  font-style: italic;
}

/* ====== TIPS ====== */
.tips {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--bg-dark), #1A120A);
  position: relative;
}

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

.tip-card {
  background: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 32px 28px;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.tip-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--amber), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.tip-card:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 137, 10, 0.3);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

.tip-card:hover::before {
  opacity: 1;
}

.tip-card__icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.tip-card__title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.25rem;
  color: var(--cream);
  margin-bottom: 12px;
}

.tip-card__text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.tip-card__text strong {
  color: var(--amber-light);
}

/* ====== SPOTS ====== */
.spots {
  padding: 100px 0;
  background: var(--bg-section);
}

.spots__list {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.spots__list::before {
  content: '';
  position: absolute;
  left: 18px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(transparent, var(--amber-dark), var(--amber), var(--amber-dark), transparent);
}

.spot {
  display: flex;
  gap: 24px;
  margin-bottom: 48px;
  position: relative;
}

.spot__marker {
  flex-shrink: 0;
  width: 38px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.spot__marker-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 20px rgba(212, 137, 10, 0.4);
  z-index: 1;
}

.spot__marker-line {
  width: 2px;
  flex: 1;
  background: var(--amber-dark);
  opacity: 0.3;
}

.spot:last-child .spot__marker-line {
  display: none;
}

.spot__content {
  flex: 1;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 28px;
}

.spot__title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.3rem;
  color: var(--cream);
  margin-bottom: 12px;
}

.spot__tags {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.tag--depth {
  background: rgba(74, 109, 124, 0.3);
  color: #8BBED0;
  border: 1px solid rgba(74, 109, 124, 0.4);
}

.tag--weed {
  background: rgba(74, 109, 58, 0.3);
  color: #8BC07A;
  border: 1px solid rgba(74, 109, 58, 0.4);
}

.spot__desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
}

.spot__catch {
  font-size: 0.9rem;
  color: var(--text-muted);
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.spot__catch strong {
  color: var(--amber-light);
}

/* ====== MOOD ====== */
.mood {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--bg-dark), #1A120A, var(--bg-dark));
}

.mood__grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: auto auto;
  gap: 24px;
}

.mood__card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  overflow: hidden;
}

.mood__card--wide {
  grid-column: 1 / -1;
}

@media (max-width: 768px) {
  .mood__grid {
    grid-template-columns: 1fr;
  }
}

.mood__scene svg {
  display: block;
  width: 100%;
  height: auto;
}

.mood__caption {
  padding: 16px 24px;
  text-align: center;
  color: var(--text-muted);
  font-style: italic;
  font-size: 0.9rem;
}

.mood__quote {
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 200px;
}

.mood__quote blockquote {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.2rem;
  color: var(--cream);
  font-style: italic;
  line-height: 1.7;
  margin-bottom: 16px;
  position: relative;
  padding-left: 20px;
  border-left: 3px solid var(--amber);
}

.mood__quote cite {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.mood__checklist {
  padding: 32px 28px;
}

.mood__checklist h4 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--cream);
  margin-bottom: 16px;
  font-size: 1.1rem;
}

.mood__checklist ul {
  list-style: none;
}

.mood__checklist li {
  padding: 8px 0;
  color: var(--text-secondary);
  font-size: 0.95rem;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.mood__checklist li:last-child {
  border-bottom: none;
}

/* ====== FOOTER ====== */
.footer {
  padding: 48px 0;
  background: #0E0A06;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer__inner {
  text-align: center;
}

.footer__text {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.1rem;
  color: var(--amber);
  margin-bottom: 8px;
}

.footer__sub {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ====== ANIMATIONS ====== */
.falling-leaf-svg {
  animation: leaf-fall 6s ease-in-out infinite;
}

@keyframes leaf-fall {
  0%, 100% { transform: translate(0, 0) rotate(0deg); opacity: 0.8; }
  50% { transform: translate(15px, 30px) rotate(180deg); opacity: 0.4; }
}

/* Scroll reveal animation */
.tip-card,
.spot,
.mood__card {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.tip-card.visible,
.spot.visible,
.mood__card.visible {
  opacity: 1;
  transform: translateY(0);
}
