/* ============================================
   ALE JURA! - Modern Website Styles
   ============================================ */

:root {
    --primary: #2ebaae;
    --primary-light: #3ecfc2;
    --primary-dark: #239e94;
    --secondary: #1a8a7f;
    --accent: #f5a623;
    --success: #10b981;
    --danger: #ef4444;

    --gradient-1: linear-gradient(135deg, #2ebaae 0%, #1a8a7f 100%);
    --gradient-2: linear-gradient(135deg, #2ebaae 0%, #3ecfc2 50%, #1a8a7f 100%);
    --gradient-3: linear-gradient(135deg, #f5a623 0%, #ef4444 100%);
    --gradient-hero: linear-gradient(135deg, #0a2e2b 0%, #0f3d38 30%, #164e47 60%, #1a5c54 100%);

    --text: #1e293b;
    --text-light: #64748b;
    --text-lighter: #94a3b8;
    --bg: #ffffff;
    --bg-soft: #f8fafc;
    --bg-muted: #f1f5f9;
    --border: #e2e8f0;
    --border-light: #f1f5f9;

    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
    --shadow-lg: 0 10px 25px -3px rgba(0,0,0,0.08), 0 4px 10px -4px rgba(0,0,0,0.04);
    --shadow-xl: 0 20px 50px -10px rgba(0,0,0,0.15);

    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;

    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font);
    color: var(--text);
    background: var(--bg);
    line-height: 1.7;
    font-size: 16px;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { border: none; background: none; cursor: pointer; font: inherit; }

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

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all 0.4s var(--ease);
    background: transparent;
}
.navbar.scrolled {
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 10px 0;
    box-shadow: 0 1px 20px rgba(0,0,0,0.06);
}
.navbar.nav-hidden {
    transform: translateY(-100%);
}
.navbar.scrolled .nav-link { color: var(--text); }
.navbar.scrolled .nav-link:hover,
.navbar.scrolled .nav-link.active { color: var(--primary); }
.navbar.scrolled .logo-text { color: var(--text); }

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 1001;
}
.logo-icon { font-size: 28px; }
.logo-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}
.logo-text {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 800;
    color: #fff;
    transition: color 0.3s var(--ease);
}
.logo-excl { color: var(--accent); }

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}
.nav-link {
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-weight: 500;
    font-size: 15px;
    color: rgba(255,255,255,0.85);
    transition: all 0.3s var(--ease);
}
.nav-link:hover { color: #fff; background: rgba(255,255,255,0.1); }
.nav-link.active { color: #fff; background: rgba(255,255,255,0.15); }
.navbar.scrolled .nav-link:hover { background: var(--bg-muted); }
.navbar.scrolled .nav-link.active { background: rgba(46,186,174,0.1); color: var(--primary); }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    z-index: 1001;
    padding: 4px;
}
.nav-toggle span {
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s var(--ease);
}
.navbar.scrolled .nav-toggle span { background: var(--text); }

/* Page-specific navbar (non-home pages) */
.page-nav .nav-link { color: var(--text-light); }
.page-nav .nav-link:hover,
.page-nav .nav-link.active { color: var(--primary); }
.page-nav .logo-text { color: var(--text); }
.page-nav .nav-toggle span { background: var(--text); }

@media (max-width: 768px) {
    .nav-toggle { display: flex; }
    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(15,23,42,0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        gap: 8px;
        padding: 80px 40px;
        transform: translateX(100%);
        transition: transform 0.4s var(--ease);
    }
    .nav-menu.open { transform: translateX(0); }
    .nav-menu .nav-link {
        font-size: 22px;
        color: #fff;
        padding: 12px 20px;
    }
    .nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); background: #fff; }
    .nav-toggle.open span:nth-child(2) { opacity: 0; }
    .nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); background: #fff; }
}

/* ============================================
   HERO
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 120px 0 80px;
}
.hero-bg {
    position: absolute;
    inset: 0;
    background: var(--gradient-hero);
}
.hero-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: float 20s ease-in-out infinite;
}
.hero-shape-1 {
    width: 600px;
    height: 600px;
    background: #2ebaae;
    top: -20%;
    right: -10%;
    animation-delay: 0s;
}
.hero-shape-2 {
    width: 500px;
    height: 500px;
    background: #1a8a7f;
    bottom: -15%;
    left: -10%;
    animation-delay: -7s;
}
.hero-shape-3 {
    width: 300px;
    height: 300px;
    background: #3ecfc2;
    top: 40%;
    left: 30%;
    animation-delay: -14s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -30px) scale(1.05); }
    50% { transform: translate(-20px, 20px) scale(0.95); }
    75% { transform: translate(15px, 10px) scale(1.02); }
}

/* Canvas Particle System */
.hero-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Cursor Glow */
.cursor-glow {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(46,186,174,0.15) 0%, transparent 70%);
    pointer-events: none;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.4s var(--ease);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
}
.hero-badge {
    display: inline-block;
    padding: 8px 24px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
    margin-bottom: 32px;
}
.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3.5rem, 10vw, 7rem);
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 24px;
    padding-bottom: 4px;
}
.hero-title-line { display: block; }
.hero-title-accent {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #fcd34d 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.35rem);
    color: rgba(255,255,255,0.8);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.6;
    min-height: 2em;
}
.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
}
.hero-stats {
    display: flex;
    gap: 40px;
    justify-content: center;
    flex-wrap: wrap;
}
.hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s var(--ease) forwards;
}
.hero-stat-icon { font-size: 24px; }
.hero-stat-number {
    font-size: 28px;
    font-weight: 800;
    font-family: var(--font-display);
    color: var(--accent);
    line-height: 1;
}
.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.5);
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.hero-scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
    animation: scroll-line 2s ease-in-out infinite;
}
@keyframes scroll-line {
    0%, 100% { transform: scaleY(1); opacity: 0.5; }
    50% { transform: scaleY(0.5); opacity: 1; }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s var(--ease);
    cursor: pointer;
    border: 2px solid transparent;
    white-space: nowrap;
}
.btn-lg { padding: 16px 36px; font-size: 16px; }
.btn-sm { padding: 8px 20px; font-size: 13px; }

.btn-primary {
    background: var(--gradient-1);
    color: #fff;
    box-shadow: 0 4px 15px rgba(46,186,174,0.3);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(46,186,174,0.4);
}

.btn-outline {
    border-color: var(--border);
    color: var(--text);
    background: transparent;
}
.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(46,186,174,0.06);
}

.btn-white {
    background: #fff;
    color: var(--text);
    box-shadow: var(--shadow-lg);
}
.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.btn-outline-white {
    border-color: rgba(255,255,255,0.3);
    color: #fff;
}
.btn-outline-white:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.6);
}

/* Magnetic button effect */
.btn-magnetic {
    transition: transform 0.2s var(--ease);
}

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

/* ============================================
   ABOUT SECTION – Interactive Cards
   ============================================ */
.about-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-bottom: 80px;
}
.about-text-block {}
.about-text {
    font-size: 17px;
    color: var(--text-light);
    margin-bottom: 32px;
    line-height: 1.8;
}
.about-features {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 32px;
}
.about-feature {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: rgba(46,186,174,0.08);
    border: 1px solid rgba(46,186,174,0.15);
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 500;
    color: var(--primary-dark);
    transition: all 0.3s var(--ease);
}
.about-feature:hover {
    background: rgba(46,186,174,0.15);
    transform: translateY(-2px);
}
.about-feature-icon {
    font-size: 18px;
}
.about-visual {
    position: relative;
}
.about-image-wrapper {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}
.about-image-wrapper img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}
.about-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(46,186,174,0.2) 0%, transparent 60%);
}
.about-image-badge {
    position: absolute;
    bottom: -20px;
    right: 30px;
    background: var(--accent);
    color: #0a2e2b;
    padding: 16px 24px;
    border-radius: var(--radius-lg);
    font-weight: 800;
    font-size: 14px;
    box-shadow: 0 10px 30px rgba(245,166,35,0.3);
    z-index: 2;
}
.about-image-badge strong {
    display: block;
    font-size: 28px;
    font-family: var(--font-display);
    line-height: 1;
}

/* Tilt Cards Grid */
.about-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.tilt-card {
    position: relative;
    background: var(--bg);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-light);
    transition: box-shadow 0.4s var(--ease);
    cursor: default;
    overflow: hidden;
    will-change: transform;
}
.tilt-card:hover {
    box-shadow: var(--shadow-xl);
}
.card-shine {
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: inherit;
    z-index: 1;
}
.tilt-card-icon {
    font-size: 48px;
    display: block;
    margin-bottom: 16px;
    position: relative;
    z-index: 2;
}
.tilt-card-number {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 4px;
    position: relative;
    z-index: 2;
}
.tilt-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    position: relative;
    z-index: 2;
}
.tilt-card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
    position: relative;
    z-index: 2;
}
.tilt-card-accent {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-1);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s var(--ease);
}
.tilt-card:hover .tilt-card-accent {
    transform: scaleX(1);
}

@media (max-width: 1024px) {
    .about-cards-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .about-intro { grid-template-columns: 1fr; gap: 40px; }
    .about-cards-grid { grid-template-columns: 1fr; }
}

/* Lazy Run Banner */
.section-lazyrun {
    padding: 80px 0;
    background: var(--bg-soft);
}
.lazyrun-banner {
    background: linear-gradient(135deg, #0a2e2b 0%, #164e47 50%, #1a5c54 100%);
    border-radius: var(--radius-xl);
    padding: 60px;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.lazyrun-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: rgba(46,186,174,0.15);
    border-radius: 50%;
    filter: blur(60px);
}
.lazyrun-banner::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 300px;
    height: 300px;
    background: rgba(245,166,35,0.1);
    border-radius: 50%;
    filter: blur(60px);
}
.lazyrun-content { position: relative; z-index: 2; }
.lazyrun-date {
    display: inline-block;
    padding: 6px 18px;
    background: var(--accent);
    color: #0a2e2b;
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 20px;
}
.lazyrun-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 900;
    margin-bottom: 8px;
    line-height: 1.1;
}
.lazyrun-title span {
    color: var(--accent);
    font-size: 0.6em;
    display: block;
    margin-top: 4px;
}
.lazyrun-motto {
    font-size: 20px;
    font-style: italic;
    color: rgba(255,255,255,0.8);
    margin-bottom: 16px;
}
.lazyrun-desc {
    font-size: 16px;
    color: rgba(255,255,255,0.7);
    max-width: 700px;
    line-height: 1.7;
    margin-bottom: 32px;
}
.lazyrun-stats {
    display: flex;
    gap: 40px;
    margin-bottom: 36px;
    flex-wrap: wrap;
}
.lazyrun-stat strong {
    display: block;
    font-size: 28px;
    font-family: var(--font-display);
    color: var(--accent);
    line-height: 1.1;
}
.lazyrun-stat span {
    font-size: 13px;
    color: rgba(255,255,255,0.6);
}
.lazyrun-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}
@media (max-width: 640px) {
    .lazyrun-banner { padding: 40px 24px; }
    .lazyrun-stats { gap: 24px; }
    .lazyrun-buttons { flex-direction: column; }
}

.section-posts {
    background: var(--bg);
}
.section-galleries {
    background: var(--bg);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}
.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(46,186,174,0.1);
    color: var(--primary);
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 16px;
}
.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.2;
    color: var(--text);
}
.text-gradient {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.section-footer {
    text-align: center;
    margin-top: 50px;
}

/* ============================================
   POST CARDS
   ============================================ */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 32px;
}
.posts-grid-3 {
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
}
.post-card {
    background: var(--bg);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-light);
    transition: all 0.4s var(--ease);
    animation-delay: var(--delay, 0s);
}
.post-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}
.post-card-image {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: var(--bg-muted);
}
.post-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
}
.post-card:hover .post-card-image img {
    transform: scale(1.05);
}
.post-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-2);
    color: #fff;
    font-family: var(--font-display);
    font-size: 64px;
    font-weight: 900;
    opacity: 0.9;
}
.post-card-category {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 4px 14px;
    background: var(--cat-color, var(--primary));
    color: #fff;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.3px;
}
.post-card-body {
    padding: 24px;
}
.post-card-date {
    font-size: 13px;
    color: var(--text-lighter);
    display: block;
    margin-bottom: 8px;
}
.post-card-title {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 10px;
}
.post-card-title a {
    transition: color 0.3s var(--ease);
}
.post-card-title a:hover {
    color: var(--primary);
}
.post-card-excerpt {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ============================================
   GALLERY CARDS
   ============================================ */
.galleries-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
.galleries-grid-full {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}
.gallery-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--bg);
    box-shadow: var(--shadow);
    border: 1px solid var(--border-light);
    transition: all 0.4s var(--ease);
    animation-delay: var(--delay, 0s);
    display: block;
}
.gallery-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}
.gallery-card-image {
    position: relative;
    height: 240px;
    overflow: hidden;
    background: var(--bg-muted);
}
.gallery-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
}
.gallery-card:hover .gallery-card-image img {
    transform: scale(1.08);
}
.gallery-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-2);
    font-size: 48px;
}
.gallery-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 50%);
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding: 16px;
    opacity: 0;
    transition: opacity 0.3s var(--ease);
}
.gallery-card:hover .gallery-card-overlay { opacity: 1; }
.gallery-card-count {
    padding: 6px 14px;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    color: #fff;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
}
.gallery-card-title {
    padding: 20px 24px 8px;
    font-size: 18px;
    font-weight: 700;
}
.gallery-card-desc {
    padding: 0 24px 20px;
    font-size: 14px;
    color: var(--text-light);
}

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

/* ============================================
   PHOTO GRID (inside gallery)
   ============================================ */
.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 16px;
}
.photo-item {
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    animation-delay: var(--delay, 0s);
}
.photo-item a {
    display: block;
    position: relative;
    padding-top: 75%;
    overflow: hidden;
    border-radius: var(--radius);
}
.photo-item img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s var(--ease);
}
.photo-item:hover img {
    transform: scale(1.08);
}

/* ============================================
   CTA SECTION
   ============================================ */
.section-cta {
    position: relative;
    padding: 120px 0;
    background: var(--gradient-hero);
    overflow: hidden;
}
.cta-bg { position: absolute; inset: 0; }
.cta-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.3;
}
.cta-shape-1 {
    width: 500px; height: 500px;
    background: #2ebaae;
    top: -200px; right: -100px;
}
.cta-shape-2 {
    width: 400px; height: 400px;
    background: #1a8a7f;
    bottom: -200px; left: -100px;
}
.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
}
.cta-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    margin-bottom: 16px;
}
.cta-text {
    font-size: 18px;
    color: rgba(255,255,255,0.8);
    max-width: 500px;
    margin: 0 auto 40px;
}
.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   PAGE HEADER
   ============================================ */
.page-header {
    padding: 160px 0 60px;
    background: var(--bg-soft);
    text-align: center;
    border-bottom: 1px solid var(--border-light);
}
.page-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 900;
    margin-bottom: 12px;
}
.page-subtitle {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 24px;
}
.back-link {
    display: inline-block;
    color: var(--primary);
    font-weight: 500;
    font-size: 14px;
    margin-top: 8px;
    transition: opacity 0.3s;
}
.back-link:hover { opacity: 0.7; }

/* Category Filter */
.category-filter {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 8px;
}
.filter-btn {
    padding: 8px 20px;
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-light);
    background: var(--bg);
    border: 1px solid var(--border);
    transition: all 0.3s var(--ease);
}
.filter-btn:hover { border-color: var(--primary); color: var(--primary); }
.filter-btn.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

/* ============================================
   ARTICLE PAGE
   ============================================ */
.article-header {
    padding: 160px 0 40px;
    background: var(--bg-soft);
    border-bottom: 1px solid var(--border-light);
}
.article-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    justify-content: center;
}
.article-meta time {
    font-size: 14px;
    color: var(--text-light);
}
.article-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.2;
}
.article-featured-image {
    margin-top: -20px;
    margin-bottom: 40px;
}
.article-featured-image img {
    border-radius: var(--radius-lg);
    max-height: 500px;
    width: 100%;
    object-fit: cover;
    box-shadow: var(--shadow-xl);
}
.article-content {
    max-width: 750px;
    margin: 60px auto;
    font-size: 17px;
    line-height: 1.9;
    color: var(--text);
}
.article-content h2 { font-family: var(--font-display); font-size: 28px; margin: 48px 0 16px; }
.article-content h3 { font-size: 22px; margin: 40px 0 12px; }
.article-content p { margin-bottom: 20px; }
.article-content ul, .article-content ol { margin: 20px 0; padding-left: 28px; }
.article-content li { margin-bottom: 8px; }
.article-content a { color: var(--primary); text-decoration: underline; }
.article-content img { border-radius: var(--radius); margin: 32px 0; box-shadow: var(--shadow); }
.article-content blockquote {
    border-left: 4px solid var(--primary);
    padding: 16px 24px;
    margin: 32px 0;
    background: var(--bg-soft);
    border-radius: 0 var(--radius) var(--radius) 0;
    font-style: italic;
    color: var(--text-light);
}
.article-footer {
    max-width: 750px;
    margin: 0 auto 80px;
    padding-top: 40px;
    border-top: 1px solid var(--border);
}

/* Page Content */
.page-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 17px;
    line-height: 1.9;
}
.page-content h2 { font-family: var(--font-display); font-size: 28px; margin: 48px 0 16px; }
.page-content h3 { font-size: 22px; margin: 40px 0 12px; }
.page-content p { margin-bottom: 20px; }
.page-content ul, .page-content ol { margin: 20px 0; padding-left: 28px; }
.page-content li { margin-bottom: 8px; }
.page-content a { color: var(--primary); text-decoration: underline; }

/* ============================================
   PAGINATION
   ============================================ */
.pagination {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 50px;
}
.pagination-btn {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 14px;
    color: var(--text-light);
    background: var(--bg);
    border: 1px solid var(--border);
    transition: all 0.3s var(--ease);
}
.pagination-btn:hover { border-color: var(--primary); color: var(--primary); }
.pagination-btn.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

/* ============================================
   EMPTY STATE
   ============================================ */
.empty-state {
    text-align: center;
    padding: 80px 20px;
}
.empty-icon { font-size: 64px; display: block; margin-bottom: 20px; }
.empty-state h3 { font-size: 24px; margin-bottom: 8px; }
.empty-state p { color: var(--text-light); }

/* ============================================
   404 PAGE
   ============================================ */
.section-404 { padding: 160px 0 100px; }
.error-page { text-align: center; }
.error-icon { font-size: 80px; display: block; margin-bottom: 20px; }
.error-page h1 {
    font-family: var(--font-display);
    font-size: 120px;
    font-weight: 900;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 16px;
}
.error-page p { font-size: 18px; color: var(--text-light); margin-bottom: 32px; }

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: #0f172a;
    color: rgba(255,255,255,0.7);
    padding: 80px 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 60px;
}
.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}
.footer-logo .logo-text { color: #fff; }
.footer-about p { font-size: 14px; line-height: 1.8; }

.footer-links h4,
.footer-contact h4 {
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
}
.footer-links a {
    display: block;
    padding: 6px 0;
    font-size: 14px;
    transition: color 0.3s var(--ease);
}
.footer-links a:hover { color: #fff; }

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 14px;
}
.footer-contact a { transition: color 0.3s; }
.footer-contact a:hover { color: #fff; }
.footer-social {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    padding: 8px 20px;
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s var(--ease);
}
.footer-social:hover { background: rgba(255,255,255,0.2); color: #fff; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 24px 0;
    text-align: center;
    font-size: 13px;
    color: rgba(255,255,255,0.4);
}

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

/* ============================================
   LIGHTBOX
   ============================================ */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0,0,0,0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s var(--ease);
}
.lightbox.active { opacity: 1; visibility: visible; }
.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: #fff;
    font-size: 36px;
    z-index: 10001;
    padding: 10px;
    transition: opacity 0.3s;
}
.lightbox-close:hover { opacity: 0.7; }
.lightbox-prev, .lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-size: 32px;
    padding: 20px;
    z-index: 10001;
    transition: opacity 0.3s;
}
.lightbox-prev { left: 10px; }
.lightbox-next { right: 10px; }
.lightbox-prev:hover, .lightbox-next:hover { opacity: 0.7; }
.lightbox-content {
    max-width: 90vw;
    max-height: 90vh;
    text-align: center;
}
.lightbox-content img {
    max-width: 90vw;
    max-height: 80vh;
    object-fit: contain;
    border-radius: var(--radius);
}
.lightbox-caption {
    color: rgba(255,255,255,0.7);
    margin-top: 16px;
    font-size: 14px;
}

/* ============================================
   ANIMATIONS
   ============================================ */
.animate-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s var(--ease) forwards;
}
.animate-in:nth-child(2) { animation-delay: 0.15s; }
.animate-in:nth-child(3) { animation-delay: 0.3s; }
.animate-in:nth-child(4) { animation-delay: 0.45s; }
.animate-in:nth-child(5) { animation-delay: 0.6s; }

@keyframes fadeInUp {
    to { opacity: 1; transform: translateY(0); }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
    transition-delay: var(--delay, 0s);
}
.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 640px) {
    .posts-grid, .posts-grid-3 {
        grid-template-columns: 1fr;
    }
    .hero-stats { gap: 20px; }
    .hero-stat { font-size: 12px; }
    .hero-buttons { flex-direction: column; align-items: center; }
    .section { padding: 60px 0; }
    .cta-buttons { flex-direction: column; align-items: center; }
}
