/**
 * Editorial Video Platform - Additional Styles
 * 
 * Complementary styles for enhanced visual effects
 */

/* ===========================
   Header Enhancements
   =========================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    background-color: rgba(10, 10, 10, 0.8);
    transition: all 0.3s ease;
}

.site-header.is-scrolled {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

/* ===========================
   Portrait Cards
   =========================== */
.portrait-card {
    position: relative;
    overflow: hidden;
}

.portrait-image-wrapper {
    position: relative;
    overflow: hidden;
}

.portrait-featured-image img {
    filter: grayscale(100%);
    transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.portrait-card:hover .portrait-featured-image img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

/* ===========================
   Grayscale Effects
   =========================== */
.grayscale-image img,
.grayscale-hover img {
    filter: grayscale(100%);
    transition: filter 0.5s ease, transform 0.7s ease;
}

.grayscale-image:hover img,
.grayscale-hover:hover img {
    filter: grayscale(0%);
}

/* ===========================
   Hero Section
   =========================== */
.hero-section {
    position: relative;
}

.hero-section .wp-block-cover__image-background,
.hero-section .wp-block-cover__video-background {
    transition: transform 0.1s ease-out;
}

/* ===========================
   Buttons
   =========================== */
.wp-block-button__link {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.wp-block-button__link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.wp-block-button__link:hover::before {
    left: 100%;
}

.wp-block-button__link:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.3);
}

/* ===========================
   Navigation
   =========================== */
.wp-block-navigation-item a {
    position: relative;
    transition: color 0.3s ease;
}

.wp-block-navigation-item a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--wp--preset--color--accent);
    transition: width 0.3s ease;
}

.wp-block-navigation-item a:hover::after,
.wp-block-navigation-item.current-menu-item a::after {
    width: 100%;
}

/* ===========================
   Typography
   =========================== */
h1, h2, h3, h4, h5, h6 {
    text-wrap: balance;
}

p {
    text-wrap: pretty;
}

/* ===========================
   Separators
   =========================== */
.wp-block-separator {
    opacity: 0.3;
}

/* ===========================
   Responsive Adjustments
   =========================== */
@media (max-width: 768px) {
    .site-header {
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
    }
    
    .wp-block-columns {
        gap: 2rem !important;
    }
}

/* ===========================
   Loading States
   =========================== */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

.is-loading {
    background: linear-gradient(90deg, #141414 25%, #1a1a1a 50%, #141414 75%);
    background-size: 1000px 100%;
    animation: shimmer 2s infinite;
}

/* ===========================
   Focus States (Accessibility)
   =========================== */
a:focus-visible,
button:focus-visible,
.wp-block-button__link:focus-visible {
    outline: 2px solid var(--wp--preset--color--accent);
    outline-offset: 4px;
}

/* ===========================
   Print Styles
   =========================== */
@media print {
    .site-header,
    .site-footer,
    .wp-block-button {
        display: none !important;
    }
    
    body {
        background: white;
        color: black;
    }
}
