/* ============================================================
   PK Unlimited - Public Site Stylesheet
   Mountain-themed design
   ============================================================ */

/* 1. Variables */
:root {
    --bg-dark: #151a2e;
    --bg-darker: #0e1224;
    --bg-body: #f0f2f7;
    --bg-card: #ffffff;
    --text-primary: #1e2230;
    --text-light: #f0f2f7;
    --text-muted: #6b7280;
    --accent: #3a6db5;
    --accent-hover: #2c5a9a;
    --accent-light: #e4edf8;
    --accent-deep: #1e3a6e;
    --gold: #c9a84c;
    --gold-hover: #b08a3a;
    --border: #dde0e8;
    --shadow: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-hover: 0 8px 24px rgba(0,0,0,0.14);
    --radius: 10px;
    --max-width: 1200px;
    --header-height: 70px;
    --transition: 0.3s ease;
    /* Mountain palette */
    --mountain-1: #0e1224;
    --mountain-2: #1a2744;
    --mountain-3: #253a5e;
    --mountain-4: #2f4d78;
}

/* 2. Reset */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Varela Round', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-body);
    color: var(--text-primary);
    line-height: 1.7;
}
a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-hover); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* 3. Typography */
h1, h2, h3, h4 {
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 700;
    line-height: 1.3;
}
h1 { font-size: 2.4em; }
h2 { font-size: 1.8em; }
h3 { font-size: 1.3em; }

/* 4. Layout */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}
.section { padding: 60px 0; }
.section-title {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}
.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--gold);
    margin: 12px auto 0;
    border-radius: 2px;
}
.content-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
}
.content-full { max-width: 900px; margin: 0 auto; }

/* ============================================================
   MOUNTAIN DIVIDER SVG (reusable)
   ============================================================ */
.mountain-divider {
    display: block;
    width: 100%;
    height: auto;
    margin-top: -2px;
    line-height: 0;
}
.mountain-divider-flip {
    display: block;
    width: 100%;
    height: auto;
    margin-bottom: -2px;
    line-height: 0;
    transform: scaleY(-1);
}

/* 5. Header & Navigation */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: rgba(21,26,46,0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    transition: background var(--transition), box-shadow var(--transition);
}
.site-header.scrolled {
    background: rgba(14,18,36,0.97);
    box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.header-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}
.site-logo {
    color: #fff;
    font-family: 'Josefin Sans', sans-serif;
    font-size: 1.2em;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}
.site-logo img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid var(--gold);
    transition: transform var(--transition);
}
.site-logo:hover img { transform: rotate(10deg) scale(1.05); }
.site-logo span { color: var(--gold); }

/* Nav */
.main-nav { display: flex; align-items: center; gap: 0; }
.main-nav a {
    color: rgba(255,255,255,0.8);
    padding: 0 16px;
    height: var(--header-height);
    display: flex;
    align-items: center;
    font-size: 0.9em;
    position: relative;
    transition: color var(--transition);
}
.main-nav a:hover,
.main-nav a.active {
    color: #fff;
}
.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 16px;
    right: 16px;
    height: 3px;
    background: var(--gold);
    transform: scaleX(0);
    transition: transform var(--transition);
}
.main-nav a:hover::after,
.main-nav a.active::after {
    transform: scaleX(1);
}

/* Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-dark);
    min-width: 200px;
    border-radius: 0 0 var(--radius) var(--radius);
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--transition);
}
.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.dropdown-menu a {
    padding: 10px 20px;
    height: auto;
    display: block;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.dropdown-menu a::after { display: none; }
.dropdown-menu a:hover { background: rgba(255,255,255,0.05); }

/* Hamburger */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}
.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    margin: 5px 0;
    transition: all var(--transition);
}

/* ============================================================
   6. HERO SECTION - Mountain themed
   ============================================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    margin-top: var(--header-height);
    overflow: hidden;
    background: var(--bg-dark);
}
.hero-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}
.hero-bg::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(180deg,
        rgba(26,29,35,0.4) 0%,
        rgba(26,29,35,0.3) 40%,
        rgba(26,29,35,0.8) 100%);
}

/* Default gradient hero - matches pozadina2.jpg sky */
.hero-gradient {
    background: linear-gradient(180deg,
        #3a5878 0%,
        #3e6284 25%,
        #436a8e 50%,
        #4a7498 70%,
        #4e7a9e 100%);
}

/* Animated stars in hero */
.hero-stars {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 40%;
    overflow: hidden;
    z-index: 1;
}
/* Base stars - dim, steady */
.hero-stars .star {
    position: absolute;
    border-radius: 50%;
    background: #fff;
}
/* Soft glow for brighter stars */
.hero-stars .star-bright {
    box-shadow: 0 0 4px 1px rgba(180,200,255,0.4);
}
/* Slow gentle pulse - most stars */
.hero-stars .star-pulse {
    animation: starPulse var(--dur, 4s) ease-in-out infinite;
    animation-delay: var(--delay, 0s);
}
/* Occasional strong twinkle — flares then fades */
.hero-stars .star-twinkle {
    animation: starTwinkle var(--dur, 6s) ease-in-out infinite;
    animation-delay: var(--delay, 0s);
}
/* Rare slow flicker */
.hero-stars .star-flicker {
    animation: starFlicker var(--dur, 8s) ease-in-out infinite;
    animation-delay: var(--delay, 0s);
}

@keyframes starPulse {
    0%, 100% { opacity: var(--min-o, 0.3); }
    50% { opacity: var(--max-o, 0.7); }
}
@keyframes starTwinkle {
    0%, 80%, 100% { opacity: 0.15; transform: scale(1); }
    88% { opacity: 1; transform: scale(1.6); box-shadow: 0 0 8px 2px rgba(200,220,255,0.6); }
    94% { opacity: 0.6; transform: scale(1.1); }
}
@keyframes starFlicker {
    0%, 100% { opacity: 0.2; }
    30% { opacity: 0.5; }
    32% { opacity: 0.1; }
    34% { opacity: 0.6; }
    36% { opacity: 0.15; }
    60% { opacity: 0.45; }
    90% { opacity: 0.3; }
}

/* Shooting star */
.hero-stars .shooting-star {
    position: absolute;
    width: 2px;
    height: 2px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 6px 2px rgba(200,220,255,0.6);
    animation: shootingStar var(--dur, 3s) ease-in var(--delay, 5s) infinite;
    opacity: 0;
}
.hero-stars .shooting-star::after {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 60px;
    height: 1px;
    background: linear-gradient(to left, rgba(255,255,255,0.6), transparent);
    transform-origin: right center;
    transform: rotate(var(--angle, -35deg));
}
@keyframes shootingStar {
    0% { opacity: 0; transform: translate(0,0); }
    2% { opacity: 1; }
    15% { opacity: 0.8; transform: translate(calc(var(--dx, -200px)), calc(var(--dy, 120px))); }
    20%, 100% { opacity: 0; transform: translate(calc(var(--dx, -200px) * 1.3), calc(var(--dy, 120px) * 1.3)); }
}

/* Horizon glow - faint light behind mountain ridge */
.hero-glow {
    position: absolute;
    bottom: 40%;
    left: 10%;
    right: 10%;
    height: 250px;
    background: radial-gradient(ellipse at 50% 100%, rgba(100,150,210,0.12) 0%, transparent 65%);
    z-index: 1;
    pointer-events: none;
}

/* Mountain silhouette layers at bottom of hero */
.hero-mountains {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 2;
    line-height: 0;
    font-size: 0;
    overflow: hidden;
}
.hero-mountains svg {
    display: block;
    width: 100%;
    height: 65vh;
    min-height: 350px;
    max-height: 580px;
}
.hero-mountains-img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: bottom center;
}

@media (max-width: 768px) {
    .hero-mountains-img {
        width: 300%;
        max-width: none;
        margin-left: -100%;
    }
}

/* Hero top - logo at top */
.hero-top {
    position: absolute;
    top: 30px;
    left: 0;
    right: 0;
    z-index: 10;
    text-align: center;
}

/* Hero bottom - title, subtitle, buttons above mountains */
.hero-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10;
    text-align: center;
    padding: 0 20px 20vh;
}
.hero-logo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 3px solid var(--gold);
    margin: 0 auto 24px;
    box-shadow: 0 0 40px rgba(58,109,181,0.3), 0 0 80px rgba(201,168,76,0.15);
    animation: logoGlow 3s ease-in-out infinite alternate;
}
@keyframes logoGlow {
    from { box-shadow: 0 0 20px rgba(58,109,181,0.2), 0 0 40px rgba(201,168,76,0.1); }
    to { box-shadow: 0 0 50px rgba(58,109,181,0.4), 0 0 80px rgba(201,168,76,0.2); }
}
.hero h1 {
    font-size: 3.2em;
    margin-bottom: 16px;
    text-shadow: 0 2px 30px rgba(0,0,0,0.5);
    letter-spacing: 1px;
}
.hero p {
    font-size: 1.15em;
    opacity: 0.9;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 1px 10px rgba(0,0,0,0.3);
}
.hero .btn { font-size: 1em; }
.hero-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Page hero (inner pages) */
.page-hero {
    position: relative;
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    margin-top: var(--header-height);
    background: var(--bg-dark);
    overflow: hidden;
}
.page-hero-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.3;
}
.page-hero h1 { position: relative; z-index: 2; font-size: 2.4em; text-transform: uppercase; letter-spacing: 2px; }

/* Mountain silhouette under page hero */
.page-hero-mountains {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 2;
    line-height: 0;
    font-size: 0;
}
.page-hero-mountains svg {
    display: block;
    width: 100%;
    height: 60px;
}

/* Footer mountain divider */
.footer-mountain-divider {
    line-height: 0;
    font-size: 0;
    margin-bottom: -1px;
}
.footer-mountain-divider svg {
    display: block;
    width: 100%;
    height: 80px;
}

/* 7. Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.9em;
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    font-family: inherit;
    text-decoration: none;
}
.btn-accent {
    background: var(--gold);
    color: var(--bg-dark);
}
.btn-accent:hover {
    background: var(--gold-hover);
    color: var(--bg-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(201,168,76,0.4);
}
.btn-outline {
    background: transparent;
    border: 2px solid rgba(255,255,255,0.5);
    color: #fff;
}
.btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: #fff;
    color: #fff;
}
.btn-green {
    background: var(--accent);
    color: #fff;
}
.btn-green:hover {
    background: var(--accent-hover);
    color: #fff;
    transform: translateY(-2px);
}

/* ============================================================
   FEATURED ARTICLES - Homepage
   ============================================================ */
/* Main featured - big card with image background */
.featured-main {
    display: block;
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    height: 420px;
    margin-bottom: 20px;
    text-decoration: none;
    color: #fff;
    box-shadow: 0 6px 24px rgba(0,0,0,0.25);
    transition: box-shadow var(--transition), transform var(--transition);
}
.featured-main:hover {
    box-shadow: 0 12px 40px rgba(0,0,0,0.35);
}
.featured-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.featured-main:hover img {
    transform: scale(1.03);
}
.featured-main-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px 30px 30px;
    background: linear-gradient(transparent, rgba(0,0,0,0.85));
}
.featured-main-overlay h2 {
    font-size: 1.8em;
    margin-bottom: 8px;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
.featured-main-overlay p {
    font-size: 0.95em;
    opacity: 0.85;
    margin-bottom: 8px;
    line-height: 1.5;
}
.featured-main-cats { margin-bottom: 10px; display: flex; gap: 6px; flex-wrap: wrap; }
.featured-date {
    font-size: 0.8em;
    opacity: 0.6;
}

/* Secondary featured - two smaller cards side by side */
.featured-secondary {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.featured-small {
    display: block;
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    height: 240px;
    text-decoration: none;
    color: #fff;
    box-shadow: 0 6px 24px rgba(0,0,0,0.25);
    transition: box-shadow var(--transition), transform var(--transition);
}
.featured-small:hover {
    box-shadow: 0 12px 40px rgba(0,0,0,0.35);
}
.featured-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.featured-small:hover img {
    transform: scale(1.03);
}
.featured-small-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px 20px 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.85));
}
.featured-small-overlay h3 {
    font-size: 1.15em;
    color: #fff;
    margin-bottom: 6px;
    text-shadow: 0 1px 6px rgba(0,0,0,0.4);
}

/* ============================================================
   LATEST ARTICLES LIST - Homepage
   ============================================================ */
.latest-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.latest-item {
    display: flex;
    flex-direction: column;
    background: var(--bg-body);
    border-radius: var(--radius);
    overflow: hidden;
    text-decoration: none;
    color: var(--text-primary);
    transition: box-shadow var(--transition), transform var(--transition);
    box-shadow: 0 6px 24px rgba(0,0,0,0.2);
}
.latest-item:hover {
    box-shadow: 0 12px 40px rgba(0,0,0,0.3);
    transform: translateY(-5px);
}
.latest-thumb {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.latest-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.latest-cats { margin-bottom: 8px; display: flex; gap: 6px; flex-wrap: wrap; }
.latest-info h3 {
    font-size: 1.1em;
    margin-bottom: 8px;
    color: var(--text-primary);
    line-height: 1.4;
}
.latest-info p {
    font-size: 0.88em;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 10px;
    flex: 1;
}
.latest-date {
    font-size: 0.78em;
    color: var(--text-muted);
}

/* Responsive featured/latest */
@media (max-width: 992px) {
    .latest-list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .featured-main { height: 300px; }
    .featured-main-overlay h2 { font-size: 1.3em; }
    .featured-secondary { grid-template-columns: 1fr; }
    .featured-small { height: 200px; }
    .latest-list { grid-template-columns: 1fr; }
}

/* Blog filter bar */
.blog-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 36px;
}
.filter-tag {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.85em;
    font-weight: 600;
    background: var(--bg-card);
    color: var(--text-muted);
    text-decoration: none;
    border: 2px solid var(--border);
    transition: all var(--transition);
}
.filter-tag:hover {
    border-color: var(--accent);
    color: var(--accent);
}
.filter-tag.active {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

/* 8. Article Cards */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 30px;
}
.card {
    background: var(--bg-card);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform var(--transition), box-shadow var(--transition);
    position: relative;
}
.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}
.card-image {
    height: 220px;
    overflow: hidden;
    position: relative;
}
.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.card:hover .card-image img {
    transform: scale(1.05);
}
/* Mountain silhouette at bottom of card image */
.card-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 24px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 24'%3E%3Cpath d='M0,24 L0,16 Q30,12 50,14 Q70,8 100,11 Q125,4 150,9 Q175,2 200,7 Q225,3 250,10 Q280,5 310,12 Q340,8 370,14 Q385,11 400,16 L400,24 Z' fill='%23ffffff'/%3E%3C/svg%3E") no-repeat bottom center;
    background-size: 100% 100%;
}
.card-body { padding: 20px 24px 24px; }
.card-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 10px;
}
.category-badge {
    display: inline-block;
    padding: 3px 12px;
    border-radius: 20px;
    font-size: 0.75em;
    font-weight: 600;
    background: var(--accent-light);
    color: var(--accent);
    transition: background var(--transition);
}
.category-badge:hover {
    background: var(--accent);
    color: #fff;
}
.card-title {
    font-size: 1.15em;
    margin-bottom: 10px;
    line-height: 1.4;
}
.card-title a { color: var(--text-primary); }
.card-title a:hover { color: var(--accent); }
.card-excerpt {
    color: var(--text-muted);
    font-size: 0.9em;
    margin-bottom: 16px;
    line-height: 1.6;
}
.card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8em;
    color: var(--text-muted);
    padding-top: 12px;
    border-top: 1px solid var(--border);
}
.card-meta .read-more {
    color: var(--accent);
    font-weight: 600;
}

/* 9. Single Article */
.article-header {
    margin-bottom: 30px;
}
.article-header .category-badge { margin-bottom: 12px; }
.article-header h1 { margin-bottom: 12px; font-size: 2em; }
.article-meta {
    color: var(--text-muted);
    font-size: 0.9em;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}
.article-featured-image {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: var(--radius);
    margin-bottom: 30px;
}
.article-content {
    font-size: 1.05em;
    line-height: 1.8;
}
.article-content p { margin-bottom: 1.2em; }
.article-content h2 { margin: 1.5em 0 0.8em; font-size: 1.5em; }
.article-content h3 { margin: 1.3em 0 0.6em; }
.article-content img {
    border-radius: var(--radius);
    margin: 1.5em 0;
}
.article-content ul,
.article-content ol {
    margin: 0.8em 0 1.2em 1.5em;
    list-style: disc;
}
.article-content li { margin-bottom: 0.4em; }
.article-content blockquote {
    border-left: 4px solid var(--gold);
    padding: 16px 24px;
    margin: 1.5em 0;
    background: var(--accent-light);
    border-radius: 0 var(--radius) var(--radius) 0;
    font-style: italic;
    position: relative;
}
.article-content blockquote::before {
    content: '\201C';
    font-size: 3em;
    color: var(--gold);
    position: absolute;
    top: -10px;
    left: 10px;
    font-family: Georgia, serif;
    line-height: 1;
    opacity: 0.5;
}

/* Share */
.article-share {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 12px;
}
.article-share span { font-weight: 600; font-size: 0.9em; }
.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.8em;
    background: var(--bg-body);
    color: var(--text-primary);
    transition: background var(--transition);
}
.share-btn:hover { background: var(--accent-light); color: var(--accent); }

/* Related */
.related-articles { margin-top: 50px; }
.related-articles h2 { margin-bottom: 24px; }
.related-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.related-item {
    display: flex;
    gap: 20px;
    background: var(--bg-body);
    border-radius: var(--radius);
    overflow: hidden;
    text-decoration: none;
    color: var(--text-primary);
    transition: box-shadow var(--transition), transform var(--transition);
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.related-item:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-3px);
}
.related-thumb {
    width: 160px;
    min-height: 120px;
    object-fit: cover;
    flex-shrink: 0;
}
.related-info {
    padding: 16px 16px 16px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.related-info h3 {
    font-size: 1.05em;
    margin-bottom: 6px;
    color: var(--text-primary);
    line-height: 1.4;
}
@media (max-width: 768px) {
    .related-item { flex-direction: column; gap: 0; }
    .related-thumb { width: 100%; min-height: 150px; }
    .related-info { padding: 14px; }
}

/* 10. Sidebar */
.sidebar { position: sticky; top: calc(var(--header-height) + 20px); }
.sidebar-widget {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}
.sidebar-widget::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-deep), var(--accent), var(--gold));
}
.sidebar-widget h3 {
    font-size: 1em;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border);
}
.sidebar-categories li { margin-bottom: 8px; }
.sidebar-categories a {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    color: var(--text-primary);
    font-size: 0.9em;
}
.sidebar-categories a:hover { color: var(--accent); }
.sidebar-categories .count {
    background: var(--bg-body);
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 0.8em;
    color: var(--text-muted);
}
.sidebar-recent li {
    display: flex;
    gap: 12px;
    margin-bottom: 14px;
    align-items: center;
}
.sidebar-recent .thumb {
    width: 60px;
    height: 60px;
    border-radius: 6px;
    object-fit: cover;
    flex-shrink: 0;
}
.sidebar-recent .info { flex: 1; }
.sidebar-recent .info a {
    color: var(--text-primary);
    font-size: 0.85em;
    font-weight: 600;
    line-height: 1.4;
    display: block;
}
.sidebar-recent .info a:hover { color: var(--accent); }
.sidebar-recent .info .date {
    font-size: 0.75em;
    color: var(--text-muted);
}

/* 11. Video Page */
.video-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}
.video-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 6px 24px rgba(0,0,0,0.2);
    transition: transform var(--transition), box-shadow var(--transition);
}
.video-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.3);
    box-shadow: var(--shadow-hover);
}
.video-card .video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
}
.video-card .video-wrapper iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    border: none;
}
.video-card .video-info { padding: 20px; }
.video-card .video-info h3 { font-size: 1.05em; margin-bottom: 8px; }
.video-card .video-info p { font-size: 0.85em; color: var(--text-muted); }

/* 12. Gallery */
.gallery-grid {
    column-count: 3;
    column-gap: 16px;
}
.gallery-item {
    break-inside: avoid;
    margin-bottom: 16px;
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    cursor: pointer;
}
.gallery-item img {
    width: 100%;
    display: block;
    transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item .gallery-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: #fff;
    padding: 20px 16px 16px;
    font-size: 0.9em;
    opacity: 0;
    transition: opacity var(--transition);
}
.gallery-item:hover .gallery-overlay { opacity: 1; }

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.92);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 40px;
}
.lightbox:target { display: flex; }
.lightbox img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: var(--radius);
}
.lightbox .close-lightbox {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 2em;
    text-decoration: none;
    line-height: 1;
}

/* 13. About Page */
.about-content {
    font-size: 1.05em;
    line-height: 1.8;
}
.about-content p { margin-bottom: 1.2em; }
.about-content h2 { margin: 1.5em 0 0.8em; }
.about-content h3 { margin: 1.3em 0 0.6em; }
.about-content img {
    border-radius: var(--radius);
    margin: 1.5em 0;
}
.about-content ul {
    margin: 0.8em 0 1.2em 1.5em;
    list-style: disc;
}
.about-content li { margin-bottom: 0.4em; }

/* 14. Contact Page */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}
.contact-info-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    align-items: flex-start;
}
.contact-info-item .icon {
    width: 48px;
    height: 48px;
    background: var(--accent-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.2em;
    color: var(--accent);
}
.contact-info-item h3 { font-size: 1em; margin-bottom: 4px; }
.contact-info-item p { color: var(--text-muted); font-size: 0.9em; }
.social-links {
    display: flex;
    gap: 12px;
    margin-top: 30px;
}
.social-link {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bg-dark);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85em;
    font-weight: 700;
    transition: background var(--transition), transform var(--transition);
}
.social-link:hover {
    background: var(--accent);
    color: #fff;
    transform: translateY(-3px);
}
.contact-map {
    border-radius: var(--radius);
    overflow: hidden;
    height: 100%;
    min-height: 300px;
}
.contact-map iframe {
    width: 100%;
    height: 100%;
    border: none;
    min-height: 300px;
}

/* ============================================================
   15. FOOTER - Mountain themed
   ============================================================ */
.site-footer {
    background: var(--bg-dark);
    color: rgba(255,255,255,0.7);
    padding: 50px 0 0;
    position: relative;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}
.footer-about h3,
.footer-links h3,
.footer-social h3 {
    color: #fff;
    font-size: 1.1em;
    margin-bottom: 16px;
}
.footer-about p {
    font-size: 0.9em;
    line-height: 1.7;
}
.footer-about .footer-logo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--gold);
    margin-bottom: 14px;
}
.footer-links li { margin-bottom: 8px; }
.footer-links a {
    color: rgba(255,255,255,0.7);
    font-size: 0.9em;
}
.footer-links a:hover { color: var(--gold); }
.footer-social .social-links { margin-top: 0; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
    text-align: center;
    font-size: 0.85em;
}

/* 16. Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 40px;
}
.page-link {
    padding: 10px 16px;
    border-radius: var(--radius);
    background: var(--bg-card);
    color: var(--text-primary);
    font-size: 0.9em;
    box-shadow: var(--shadow);
    transition: all var(--transition);
}
.page-link:hover {
    background: var(--accent);
    color: #fff;
}
.page-link.active {
    background: var(--accent);
    color: #fff;
}

/* ============================================================
   17. SECTION SEPARATORS - Mountain themed
   ============================================================ */
.section-mountains {
    position: relative;
    overflow: hidden;
}
.section-mountains::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    height: 60px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60'%3E%3Cpath d='M0,0 L0,20 L120,40 L240,15 L360,35 L480,10 L600,45 L720,5 L840,38 L960,12 L1080,42 L1200,8 L1320,35 L1440,18 L1440,0 Z' fill='%23f4f3ef'/%3E%3C/svg%3E") no-repeat top center;
    background-size: 100% 100%;
    z-index: 1;
}
.section-dark {
    background: var(--bg-dark);
    color: #fff;
}

/* 18. Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
.animate-in {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/* 19. 404 */
.not-found {
    text-align: center;
    padding: 100px 20px;
}
.not-found h1 { font-size: 6em; color: var(--accent); }
.not-found p { font-size: 1.2em; color: var(--text-muted); margin: 16px 0 30px; }

/* 20. Responsive - Tablet */
@media (max-width: 992px) {
    .content-layout {
        grid-template-columns: 1fr;
    }
    .sidebar { position: static; }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .gallery-grid { column-count: 2; }
    .hero h1 { font-size: 2.4em; }
    .hero-logo { width: 90px; height: 90px; }
    .contact-grid { grid-template-columns: 1fr; }
}

/* 21. Responsive - Mobile */
@media (max-width: 768px) {
    .hamburger { display: block; }
    .main-nav {
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        background: var(--bg-darker);
        flex-direction: column;
        padding: 20px 0;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition);
        max-height: calc(100vh - var(--header-height));
        overflow-y: auto;
    }
    .main-nav.open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    .main-nav a {
        height: auto;
        padding: 14px 24px;
        font-size: 1.2em;
        justify-content: center;
        text-align: center;
    }
    .nav-dropdown .dropdown-menu {
        position: static;
        opacity: 0;
        visibility: hidden;
        max-height: 0;
        overflow: hidden;
        transform: none;
        box-shadow: none;
        background: rgba(255,255,255,0.03);
        transition: all 0.3s ease;
    }
    .nav-dropdown.open .dropdown-menu {
        opacity: 1;
        visibility: visible;
        max-height: 500px;
    }
    .dropdown-menu a {
        padding: 12px 24px;
        font-size: 1em;
        text-align: center;
    }
    .cards-grid { grid-template-columns: 1fr; }
    .video-grid { grid-template-columns: 1fr; }
    .hero { min-height: 80vh; }
    .hero h1 { font-size: 1.8em; }
    .hero p { font-size: 1em; }
    .hero-bottom { padding-bottom: 15vh; }
    .hero-logo { width: 80px; height: 80px; }
    .page-hero { min-height: 200px; }
    .page-hero { min-height: 250px; align-items: center; justify-content: center; display: flex; }
    .page-hero h1 { font-size: 2.2em; }
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-about, .footer-links, .footer-social { text-align: center; }
    .footer-about .footer-logo { margin: 0 auto 14px; }
    .footer-social .social-links { justify-content: center; }
    .site-footer { font-size: 1.4em; }
    .footer-about h3, .footer-links h3, .footer-social h3 { font-size: 1.1em; }
    .footer-bottom { font-size: 0.5em; }
    .gallery-grid { column-count: 1; }
    .section { padding: 40px 0; }
    h1 { font-size: 1.8em; }
    h2 { font-size: 1.4em; }
}
