/* CSS Stylesheet for Siberian Fishing Website */

/* Reset & Variables */
:root {
    --bg-dark: #070908;
    --bg-medium: #0c120f;
    --bg-card: rgba(18, 30, 24, 0.45);
    --bg-card-hover: rgba(28, 46, 37, 0.65);
    --border-color: rgba(207, 168, 92, 0.15);
    --border-hover: rgba(207, 168, 92, 0.4);
    
    --color-text: #e2e8f0;
    --color-text-muted: #94a3b8;
    --color-primary: #15803d; /* Forest Green */
    --color-primary-light: #22c55e;
    --color-accent: #cfa85c; /* Siberia Gold */
    --color-accent-light: #dfc285;
    --color-water: #0ea5e9; /* River Blue */
    
    --glass-border: rgba(255, 255, 255, 0.05);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.4);
    
    --font-title: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;
    
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--color-text);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

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

.section-padding {
    padding: 100px 0;
}

.bg-darker {
    background-color: #040605;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-title);
    color: #ffffff;
    font-weight: 700;
}

h2 {
    font-size: 2.8rem;
    line-height: 1.2;
    margin-bottom: 16px;
    position: relative;
    display: inline-block;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--color-accent);
    border-radius: 2px;
}

.section-header {
    max-width: 700px;
    margin-bottom: 60px;
}

.section-header p {
    color: var(--color-text-muted);
    font-size: 1.1rem;
    margin-top: 15px;
}

p.hero-lead {
    font-size: 1.2rem;
    color: var(--color-text-muted);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: var(--transition-smooth);
    cursor: pointer;
}

.btn-primary {
    background-color: var(--color-primary);
    color: #ffffff;
    border: 1px solid var(--color-primary);
    box-shadow: 0 4px 14px rgba(21, 128, 61, 0.3);
}

.btn-primary:hover {
    background-color: var(--color-primary-light);
    border-color: var(--color-primary-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(34, 197, 94, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-accent);
    border: 1px solid var(--color-accent);
    margin-left: 15px;
}

.btn-secondary:hover {
    background-color: var(--color-accent);
    color: #000000;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(207, 168, 92, 0.2);
}

.btn-outline {
    background-color: transparent;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-outline:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

.btn-sm {
    padding: 8px 18px;
    font-size: 0.85rem;
}

.btn-block {
    display: flex;
    width: 100%;
}

/* Header / Navigation */
#main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(7, 9, 8, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    transition: var(--transition-smooth);
}

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

.logo {
    display: flex;
    align-items: center;
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.4rem;
}

.logo-icon {
    margin-right: 10px;
    color: var(--color-accent);
    display: flex;
    align-items: center;
}

.logo-text span {
    color: var(--color-accent);
}

#navbar {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: var(--color-text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition-smooth);
    position: relative;
    padding: 5px 0;
}

.nav-link:hover, .nav-link.active {
    color: #ffffff;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-accent);
    transition: var(--transition-smooth);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

/* Hero Section */
#hero {
    position: relative;
    min-height: 100vh;
    padding-top: 140px;
    padding-bottom: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-image: url('assets/siberian_fishing_hero.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 60% 30%, rgba(7, 9, 8, 0.2) 0%, rgba(7, 9, 8, 0.85) 75%);
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    align-items: center;
}

.hero-content {
    max-width: 700px;
}

.hero-badge {
    display: inline-block;
    background-color: rgba(207, 168, 92, 0.12);
    border: 1px solid rgba(207, 168, 92, 0.3);
    color: var(--color-accent);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
}

#hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 24px;
}

#hero p {
    margin-bottom: 40px;
}

.hero-stats {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.stat-card {
    background-color: rgba(7, 9, 8, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    padding: 24px;
    border-radius: 16px;
    transition: var(--transition-smooth);
}

.stat-card:hover {
    border-color: var(--border-hover);
    transform: translateX(5px);
}

.stat-card h3 {
    font-size: 2.2rem;
    color: var(--color-accent);
    margin-bottom: 4px;
}

.stat-card p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

/* Fish Guide (Ихтиофауна) */
.fish-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.fish-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 30px;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.fish-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    transform: translateY(-8px);
    box-shadow: var(--glass-shadow);
}

.fish-icon-wrapper {
    color: var(--color-accent);
    margin-bottom: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(207, 168, 92, 0.08);
    width: 64px;
    height: 64px;
    border-radius: 16px;
    border: 1px solid rgba(207, 168, 92, 0.2);
}

.fish-card h3 {
    font-size: 1.4rem;
    margin-bottom: 6px;
}

.fish-latin {
    color: var(--color-accent);
    font-style: italic;
    font-size: 0.85rem;
    margin-bottom: 16px;
}

.fish-desc {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    margin-bottom: 24px;
    flex-grow: 1;
}

.fish-meta {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--color-text);
}

/* Hotspots (Места лова) */
.spots-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: stretch;
}

.map-wrapper {
    background-color: #0c0f0e;
    border: 1px solid var(--border-color);
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    min-height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-bg {
    width: 100%;
    height: 100%;
    padding: 20px;
}

.vector-map {
    width: 100%;
    height: 100%;
    max-height: 420px;
}

/* SVG map styling */
.map-pin {
    cursor: pointer;
}

.pin-core {
    fill: var(--color-accent);
    transition: var(--transition-smooth);
}

.pin-pulse {
    fill: var(--color-accent);
    opacity: 0.3;
    transform-origin: center;
    animation: pulse 2s infinite ease-out;
}

.map-pin:hover .pin-core {
    fill: #ffffff;
    r: 10px;
}

.map-pin:hover .pin-pulse {
    fill: #ffffff;
}

.pin-lbl {
    font-family: var(--font-body);
    font-size: 11px;
    fill: #ffffff;
    font-weight: 600;
    opacity: 0;
    transition: var(--transition-smooth);
    pointer-events: none;
    filter: drop-shadow(0px 2px 4px rgba(0,0,0,0.8));
}

.map-pin:hover .pin-lbl, .map-pin.active .pin-lbl {
    opacity: 1;
}

.map-pin.active .pin-core {
    fill: var(--color-primary-light);
    r: 9px;
}

.map-pin.active .pin-pulse {
    fill: var(--color-primary-light);
}

@keyframes pulse {
    0% {
        transform: scale(0.6);
        opacity: 0.6;
    }
    100% {
        transform: scale(2.4);
        opacity: 0;
    }
}

/* Spot Panel */
.spot-info-panel {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: var(--transition-smooth);
    min-height: 450px;
}

.spot-info-panel:has(.hidden) {
    text-align: center;
}

.pulsate-icon {
    color: var(--color-accent);
    margin-bottom: 20px;
    animation: icon-float 3s infinite ease-in-out;
}

@keyframes icon-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

#spot-default-msg h3 {
    font-size: 1.6rem;
    margin-bottom: 12px;
}

#spot-default-msg p {
    color: var(--color-text-muted);
}

.spot-type-badge {
    align-self: flex-start;
    background: rgba(14, 165, 233, 0.15);
    color: var(--color-water);
    border: 1px solid rgba(14, 165, 233, 0.3);
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 16px;
}

#spot-name {
    font-size: 2.2rem;
    margin-bottom: 8px;
}

.spot-coords {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    font-family: monospace;
    margin-bottom: 24px;
}

.spot-description {
    color: var(--color-text-muted);
    margin-bottom: 30px;
}

.spot-features {
    display: flex;
    flex-direction: column;
    gap: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 24px;
}

.feature-item {
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
}

.feat-label {
    color: var(--color-text-muted);
}

.feat-val {
    font-weight: 600;
    color: #ffffff;
}

.hidden {
    display: none !important;
}

/* Calendar (Календарь клева) */
.calendar-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 40px;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 40px;
    box-shadow: var(--glass-shadow);
}

.months-selector {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.month-btn {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--color-text-muted);
    padding: 14px 10px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.month-btn:hover {
    background-color: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

.month-btn.active {
    background-color: var(--color-accent);
    color: #000000;
    border-color: var(--color-accent);
}

.calendar-display {
    border-left: 1px solid rgba(255, 255, 255, 0.05);
    padding-left: 40px;
}

.display-title {
    font-size: 1.8rem;
    margin-bottom: 24px;
}

.display-title span {
    color: var(--color-accent);
}

.calendar-results {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.calendar-item {
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    padding: 20px;
    border-radius: 16px;
}

.cal-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.cal-item-header h4 {
    font-size: 1.15rem;
}

.cal-chance {
    font-size: 0.85rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 8px;
}

.chance-high {
    background: rgba(34, 197, 94, 0.15);
    color: var(--color-primary-light);
}

.chance-medium {
    background: rgba(234, 179, 8, 0.15);
    color: #eab308;
}

.chance-low {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
}

.cal-bar-bg {
    width: 100%;
    height: 6px;
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 3px;
    margin-bottom: 12px;
    overflow: hidden;
}

.cal-bar-fill {
    height: 100%;
    border-radius: 3px;
    transition: width 1s ease-in-out;
}

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

/* Mid Banner: Nature Showcase */
.nature-banner {
    position: relative;
    padding: 140px 0;
    background-image: url('assets/siberian_river_sunset.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    text-align: center;
}

.nature-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(7, 9, 8, 0.65);
    z-index: 1;
}

.nature-container {
    position: relative;
    z-index: 2;
}

.nature-content {
    max-width: 800px;
    margin: 0 auto;
}

.nature-content h2 {
    font-size: 3.2rem;
    margin-bottom: 24px;
}

.nature-content h2::after {
    display: none;
}

.nature-content p {
    font-size: 1.2rem;
    color: #f1f5f9;
    font-weight: 300;
}

/* Tips and Equipment */
.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.tip-box {
    background-color: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    padding: 40px;
    transition: var(--transition-smooth);
}

.tip-box:hover {
    border-color: var(--border-hover);
    transform: translateY(-5px);
}

.tip-num {
    display: block;
    font-family: var(--font-title);
    font-size: 3rem;
    color: var(--color-accent);
    line-height: 1;
    margin-bottom: 20px;
    opacity: 0.5;
}

.tip-box h4 {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.tip-box p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

/* Resources & Info */
.resources-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 30px;
    padding: 60px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px;
    align-items: stretch;
    box-shadow: var(--glass-shadow);
}

.resources-info h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.resources-info h2::after {
    display: none;
}

.resources-info p {
    color: var(--color-text-muted);
    margin-bottom: 30px;
    font-size: 1.05rem;
}

.emergency-contacts {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    gap: 15px;
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    padding: 15px 20px;
    border-radius: 14px;
    align-items: flex-start;
}

.contact-icon {
    font-size: 1.5rem;
    line-height: 1;
}

.contact-item strong {
    display: block;
    color: #ffffff;
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.contact-item p {
    margin-bottom: 0;
    font-size: 0.9rem;
    color: var(--color-accent);
}

.resources-links-wrapper {
    background-color: rgba(7, 9, 8, 0.5);
    border: 1px solid var(--glass-border);
    padding: 40px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.resources-links-wrapper h3 {
    font-size: 1.4rem;
    margin-bottom: 24px;
}

.resources-links-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.resources-links-list li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 15px;
}

.resources-links-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.resources-links-list a {
    color: var(--color-accent);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition-smooth);
    margin-bottom: 6px;
}

.resources-links-list a:hover {
    color: var(--color-accent-light);
}

.link-arrow {
    font-size: 0.85rem;
    transition: var(--transition-smooth);
}

.resources-links-list a:hover .link-arrow {
    transform: translate(2px, -2px);
}

.resources-links-list p {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

/* Water Temp Header Badge */
.water-temp-badge {
    display: inline-flex;
    align-items: center;
    background-color: rgba(14, 165, 233, 0.12);
    border: 1px solid rgba(14, 165, 233, 0.25);
    color: #ffffff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background-color: var(--color-water);
    border-radius: 50%;
    margin-right: 8px;
    display: inline-block;
    box-shadow: 0 0 8px var(--color-water);
    animation: badge-pulse 2.5s infinite;
}

@keyframes badge-pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* Footer */
footer {
    background-color: #040605;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 40px 0;
    text-align: center;
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: var(--color-text-muted);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer-links a:hover {
    color: var(--color-accent);
}

/* Responsive Styles */
@media (max-width: 992px) {
    h2 { font-size: 2.2rem; }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-content {
        margin: 0 auto;
    }
    
    .hero-stats {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .stat-card {
        flex: 1 1 200px;
    }
    
    #hero h1 { font-size: 3rem; }
    
    .spots-layout {
        grid-template-columns: 1fr;
    }
    
    .calendar-card {
        grid-template-columns: 1fr;
    }
    
    .calendar-display {
        border-left: none;
        padding-left: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
        padding-top: 30px;
    }
    
    .resources-card {
        grid-template-columns: 1fr;
        padding: 40px 24px;
    }
}

@media (max-width: 768px) {
    #navbar {
        display: none; /* In production a mobile menu would be toggled */
    }
    
    .footer-container {
        flex-direction: column;
        gap: 20px;
    }
    
    .months-selector {
        grid-template-columns: repeat(2, 1fr);
    }
}
