/* Custom Styles for KRY Marketing */

.hero-bg {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.9)), url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?q=80&w=2072&auto=format&fit=crop') center/cover;
    background-attachment: fixed;
}

/* Card Hover Effects */
.glow-card {
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(255,255,255,0.05);
}
.glow-card:hover {
    border-color: #D4AF37;
    box-shadow: 0 10px 40px rgba(212, 175, 55, 0.15);
    transform: translateY(-10px);
}

/* Dentsu-style Animations */
.reveal-mask {
    overflow: hidden;
    display: inline-block;
    vertical-align: top;
}
.reveal-text {
    display: inline-block;
    transform: translateY(120%);
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}
.reveal-text.is-visible {
    transform: translateY(0);
}

.fade-up {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}
.fade-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.zoom-out {
    transform: scale(1.15);
    transition: transform 1.5s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}
.is-visible .zoom-out {
    transform: scale(1);
}

.line-reveal {
    width: 0;
    transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.line-reveal.is-visible {
    width: 6rem;
}

/* Stagger Delays */
.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }

/* Custom Pagination */
.navigation.pagination {
    display: flex;
    justify-content: center;
}
.navigation.pagination .nav-links {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}
.navigation.pagination .page-numbers {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,0.05);
    background: rgba(26, 26, 26, 0.5);
    color: #9ca3af;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 99px;
    transition: all 0.3s ease;
}
.navigation.pagination .page-numbers:hover {
    border-color: #D4AF37;
    color: #D4AF37;
}
.navigation.pagination .page-numbers.current {
    background: #D4AF37;
    color: #000;
    border-color: #D4AF37;
}
.navigation.pagination .page-numbers.dots {
    border: none;
    background: transparent;
}
.navigation.pagination .prev,
.navigation.pagination .next {
    background: rgba(255, 255, 255, 0.03);
}

/* Post Content Utility */
.post-content p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}
.post-content h2, .post-content h3 {
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    margin: 2.5rem 0 1rem;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}
.post-content h2 { font-size: 1.875rem; }
.post-content h3 { font-size: 1.5rem; }
