/* ===== VARIJABLE I OSNOVE ===== */
@charset "UTF-8";

:root {
    --primary: #FF6B9D;
    --secondary: #FEC84D;
    --accent: #4ECDC4;
    --success: #95E1D3;
    --purple: #C44569;
    --blue: #4A90E2;
    --cyan: #4CC9F0;
    --pink: #F72585;
    --violet: #7209B7;
    --orange: #FF9F1C;
    --dark: #2C3E50;
    --gray: #7F8C8D;
    --light-gray: #ECF0F1;
    --white: #FFFFFF;
    
    /* Unified Shadow System */
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-md: 0 8px 20px rgba(0,0,0,0.12);
    --shadow-lg: 0 12px 35px rgba(0,0,0,0.15);
    --shadow-xl: 0 20px 50px rgba(0,0,0,0.2);
    
    /* Border Radius */
    --radius-sm: 10px;
    --radius: 15px;
    --radius-lg: 20px;
    --radius-xl: 30px;
    --radius-full: 50px;
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s ease;
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

/* Custom cursor - pčelica koja leti */
body, a, button {
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32"><text y="24" font-size="24">🐝</text></svg>') 16 16, auto;
}

a:hover, button:hover, .clickable:hover {
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32"><text y="24" font-size="24">🌼</text></svg>') 16 16, pointer;
}

input, textarea {
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32"><text y="24" font-size="24">✏️</text></svg>') 16 16, text;
}

/* Šareni scrollbar u bojama vrtića sa emoji dekoracijom */
::-webkit-scrollbar {
    width: 14px;
}

::-webkit-scrollbar-track {
    background: 
        linear-gradient(180deg, 
            #FEC84D 0%, 
            #FF6B9D 25%, 
            #7209B7 50%, 
            #4CC9F0 75%, 
            #FF9F1C 100%),
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 40px,
            rgba(255,255,255,0.1) 40px,
            rgba(255,255,255,0.1) 80px
        );
    position: relative;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #FF6B9D, #F72585, #7209B7);
    border-radius: 10px;
    border: 2px solid rgba(255,255,255,0.4);
    box-shadow: inset 0 0 6px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #FF9F1C, #FEC84D, #4CC9F0);
    border-color: rgba(255,255,255,0.6);
    box-shadow: inset 0 0 8px rgba(0,0,0,0.2), 0 0 10px rgba(255,255,255,0.5);
}

/* Firefox scrollbar */
* {
    scrollbar-width: thin;
    scrollbar-color: #FF6B9D #FEC84D;
}

body {
    font-family: 'Quicksand', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    color: var(--dark);
    line-height: 1.6;
    background: var(--white);
    overflow-x: hidden;
    width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

*, *::before, *::after {
    box-sizing: border-box;
}

.container {
    max-width: 1400px !important;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* ===== HEADER & NAVIGATION ===== */
/* Pill navigation stilovi su sada u header.php */

/* ===== HERO SECTION - NEW DESIGN ===== */
#hero-scope {
    width: 100%;
    overflow: hidden;
}

.hero-container {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(180deg, #4CC9F0 0%, #B8E6F0 40%, #FDFCDC 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Canvas za mjehuriće */
#bubble-canvas-scoped {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

/* Oblaci */
.cloud {
    position: absolute;
    width: 150px;
    height: 80px;
    color: rgba(255, 255, 255, 0.15);
    z-index: 2;
    animation: cloudFloat 25s ease-in-out infinite;
}

.cloud-left {
    top: 15%;
    left: -80px;
}

.cloud-right {
    top: 60%;
    right: -80px;
    animation-delay: -10s;
    animation-duration: 30s;
}

@keyframes cloudFloat {
    0%, 100% { transform: translateX(0) translateY(0); }
    50% { transform: translateX(120px) translateY(-20px); }
}

/* Sunce */
.sun-wrap {
    position: absolute;
    top: 80px;
    right: 80px;
    width: 120px;
    height: 120px;
    z-index: 3;
    animation: sunBounce 3s ease-in-out infinite;
}

@keyframes sunBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.sun-glow-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 160px;
    height: 160px;
    background: radial-gradient(circle, rgba(254, 228, 64, 0.4) 0%, rgba(254, 228, 64, 0) 70%);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.6; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
}

.sun-vector {
    position: relative;
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 20px rgba(254, 228, 64, 0.6));
}

/* Glavni sadržaj */
.hero-inner-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: white;
    max-width: none;
    width: 100%;
    padding: 0 40px;
    animation: heroFadeIn 1s ease-out;
}

@keyframes heroFadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Badge */
.hero-welcome-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 30px;
    animation: badgeBounce 2s ease-in-out infinite;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

@keyframes badgeBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.emoji-spark {
    font-size: 1.3rem;
    animation: spin 3s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Naslov */
.main-hero-title {
    font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    font-size: 5.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 30px;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.4), 0 2px 10px rgba(0, 0, 0, 0.3);
}

.text-accent {
    position: relative;
    display: inline-block;
    color: #FEE440;
    text-shadow: 0 3px 20px rgba(0, 0, 0, 0.5), 0 1px 5px rgba(0, 0, 0, 0.4);
}

.hero-underline-svg {
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 30px;
    opacity: 0.9;
}

/* Podnaslov */
.hero-subtext {
    font-size: 1.5rem;
    line-height: 1.6;
    margin-bottom: 40px;
    opacity: 1;
    font-weight: 500;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.3), 0 1px 5px rgba(0, 0, 0, 0.2);
}

.hero-subtext strong {
    font-weight: 700;
    color: #FEE440;
}

.hide-mobile {
    display: inline;
}

/* Gumbi */
.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
}

.btn-color-pink {
    background: #F72585;
    color: white;
}

.btn-color-pink:hover {
    background: #d11a6e;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(247, 37, 133, 0.4);
}

.btn-color-white {
    background: white;
    color: #4CC9F0;
}

.btn-color-white:hover {
    background: #f0f0f0;
    color: #F72585;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}



/* Responzivno */
@media (max-width: 768px) {
    .hero-container {
        min-height: 90vh;
    }
    
    .sun-wrap {
        width: 80px;
        height: 80px;
        top: 60px;
        right: 20px;
    }
    
    .sun-glow-effect {
        width: 110px;
        height: 110px;
    }
    
    .cloud {
        width: 100px;
        height: 60px;
    }
    
    .main-hero-title {
        font-size: 2.8rem;
    }
    
    .hero-subtext {
        font-size: 1.1rem;
    }
    
    .hide-mobile {
        display: none;
    }
    
    .hero-btn {
        padding: 14px 26px;
        font-size: 1rem;
    }
    
    .hero-welcome-badge {
        font-size: 0.85rem;
        padding: 8px 16px;
    }
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: var(--radius-full);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    background: var(--purple);
    border-color: var(--purple);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--gray);
    color: var(--white);
}

.btn-secondary:hover {
    background: var(--dark);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary);
    transform: scale(1.05);
}

.btn-lg {
    padding: 15px 40px;
    font-size: 1.1rem;
}

/* ===== FEATURES SECTION ===== */
.features {
    padding: 80px 0;
    background: var(--light-gray);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--cyan), var(--pink), var(--violet));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: var(--shadow-xl);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    transition: var(--transition);
    display: inline-block;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.feature-card h3 {
    color: var(--primary);
    margin-bottom: 0.5rem;
}

/* ===== SECTIONS ===== */
.posts-section,
.gallery-section,
.cta-section,
.content-section {
    padding: 100px 0;
    position: relative;
}

.content-section {
    background: #fafafa;
    position: relative;
    overflow: hidden;
    padding: 50px 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-header::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--cyan), var(--pink));
    border-radius: 2px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--dark);
    position: relative;
    padding-bottom: 1rem;
}

.section-header h2::first-letter {
    color: var(--pink);
    font-size: 1.2em;
}

/* ===== POST CARDS ===== */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    padding: 30px 0;
}

.post-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border-top: 3px solid var(--cyan);
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.post-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.post-card:hover .post-image img {
    transform: scale(1.05);
}

.post-content {
    padding: 1.5rem;
}

.post-date {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.post-content h3 {
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.read-more {
    color: var(--pink);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    transition: var(--transition);
    position: relative;
}

.read-more::after {
    content: '\2192';
    transition: var(--transition);
}

.read-more:hover {
    color: var(--violet);
    gap: 0.8rem;
}

.read-more:hover::after {
    transform: translateX(5px);
}

/* ===== GALLERY ===== */
.gallery-preview,
.gallery-masonry {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    padding: 20px 0;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.gallery-item {
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.gallery-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(76, 201, 240, 0.3), rgba(247, 37, 133, 0.3));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.gallery-item:hover::before {
    opacity: 1;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover img {
    transform: scale(1.15);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: var(--white);
    padding: 1.5rem;
    transform: translateY(100%);
    transition: transform 0.3s;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: linear-gradient(135deg, var(--cyan) 0%, var(--pink) 50%, var(--violet) 100%);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="40" fill="white" opacity="0.05"/></svg>');
    background-size: 100px 100px;
    animation: float 20s linear infinite;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

/* ===== PAGE HERO ===== */
.page-hero {
    background: var(--cyan);
    color: var(--white);
    padding: 140px 0 60px;
    text-align: center;
    position: relative;
    margin-top: 0;
    overflow: visible;
    min-height: auto;
}

/* Moderan wave prijelaz na dnu hero-a */
.page-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: url('data:image/svg+xml,<svg viewBox="0 0 1200 60" xmlns="http://www.w3.org/2000/svg"><path d="M0,30 Q300,0 600,30 T1200,30 L1200,60 L0,60 Z" fill="%23fafafa"/></svg>') no-repeat bottom;
    background-size: cover;
    z-index: 1;
}

/* Subtilne geometrijske dekoracije */
.page-hero::before {
    content: '';
    position: absolute;
    top: 50%;
    right: 5%;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 70%);
    border-radius: 50%;
    transform: translateY(-50%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: translateY(-50%) scale(1); opacity: 0.5; }
    50% { transform: translateY(-50%) scale(1.1); opacity: 0.7; }
}

.page-hero-content {
    position: relative;
    z-index: 2;
}

.page-hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: 15px;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.page-hero h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 0 2px 20px rgba(0,0,0,0.2);
}

.page-hero-subtitle {
    font-size: 1.15rem;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto;
    font-weight: 500;
    line-height: 1.6;
}

/* Moderni gradijenti - profesionalno ali razigrano */
.page-hero-about {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.page-hero-program {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.page-hero-gallery {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.page-hero-posts {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.page-hero-documents {
    background: linear-gradient(135deg, #30cfd0 0%, #330867 100%);
}

.page-hero-contact {
    background: linear-gradient(135deg, #ee0979 0%, #ff6a00 100%);
}

/* ===== FOOTER ===== */
.main-footer {
    background: var(--dark);
    color: var(--white);
    padding: 50px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    color: var(--secondary);
    margin-bottom: 1rem;
}

.footer-links,
.footer-contact {
    list-style: none;
}

.footer-links li,
.footer-contact li {
    margin-bottom: 0.5rem;
}

.footer-links a,
.footer-contact a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.footer-links a:hover,
.footer-contact a:hover {
    opacity: 1;
    color: var(--secondary);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    opacity: 0.7;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Scroll Animation Classes */
.fade-in-up {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

.fade-in {
    opacity: 0;
    animation: fadeIn 0.6s ease-out forwards;
}

.slide-in-left {
    opacity: 0;
    animation: slideInLeft 0.8s ease-out forwards;
}

.slide-in-right {
    opacity: 0;
    animation: slideInRight 0.8s ease-out forwards;
}

.scale-in {
    opacity: 0;
    animation: scaleIn 0.6s ease-out forwards;
}

/* Stagger delays for multiple items */
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }
.delay-6 { animation-delay: 0.6s; }

/* ===== LOADING STATES ===== */
.loading-shimmer {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* ===== FOCUS VISIBLE FOR ACCESSIBILITY ===== */
*:focus-visible {
    outline: 3px solid var(--cyan);
    outline-offset: 3px;
    border-radius: 4px;
}

/* ===== UTILITY CLASSES ===== */
.gradient-text {
    background: linear-gradient(135deg, var(--cyan), var(--pink), var(--violet));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.floating {
    animation: float 3s ease-in-out infinite;
}

.pulse {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { 
        opacity: 1; 
        transform: scale(1); 
    }
    50% { 
        opacity: 0.8; 
        transform: scale(1.05); 
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-buttons .btn,
    .hero-buttons .hero-btn {
        width: 100%;
        justify-content: center;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .posts-grid,
    .features-grid,
    .gallery-preview {
        grid-template-columns: 1fr;
    }
    
    /* Page Hero Responsive */
    .page-hero {
        padding: 140px 0 80px;
        min-height: 300px;
    }
    
    .page-hero h1 {
        font-size: 2.2rem;
    }
    
    .page-hero-subtitle {
        font-size: 1.1rem;
    }
    
    .page-hero-badge {
        font-size: 0.8rem;
        padding: 8px 20px;
    }
    
    /* Disable hover effects on mobile */
    .post-card:hover,
    .feature-card:hover,
    .gallery-item:hover {
        transform: none;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .section-header h2 {
        font-size: 1.6rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .feature-card,
    .post-card,
    .value-card {
        padding: 1.5rem;
    }
}

/* Tablet breakpoint */
@media (min-width: 769px) and (max-width: 1024px) {
    .posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
