/**
 * R1 Studio - Custom CSS
 * 
 * Styles additionnels et overrides
 *
 * @package R1_Studio
 */

/* ============================================
   Animation Classes Visibility
============================================ */
.animate-fade-in-up,
.animate-fade-in,
.animate-slide-in {
    opacity: 0;
}

.animate-fade-in-up.is-visible,
.animate-fade-in.is-visible,
.animate-slide-in.is-visible {
    opacity: 1;
}

/* ============================================
   WordPress Specific Overrides
============================================ */

/* Navigation pagination */
.navigation.pagination {
    margin-top: 4rem;
    display: flex;
    justify-content: center;
}

.nav-links {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 1rem;
    border: 1px solid var(--r1-color-border);
    border-radius: var(--r1-radius-md);
    font-family: var(--r1-font-mono);
    font-size: 12px;
    transition: all var(--r1-transition-base);
}

.page-numbers:hover,
.page-numbers.current {
    background: var(--r1-color-accent);
    border-color: var(--r1-color-accent);
    color: #fff;
}

.page-numbers.prev,
.page-numbers.next {
    gap: 0.5rem;
}

/* ============================================
   Project Card Link Wrapper
============================================ */
.project-card > a {
    display: block;
    text-decoration: none;
    color: inherit;
}

/* ============================================
   Expertise Card Interactions
============================================ */
.expertise-card {
    cursor: pointer;
}

/* ============================================
   Footer Accent Color
============================================ */
.site-footer {
    background: var(--r1-color-accent);
}

/* ============================================
   Admin Bar Fixes
============================================ */
@media screen and (max-width: 600px) {
    #wpadminbar {
        position: fixed;
    }
}

/* ============================================
   Video Background
============================================ */
.hero-background video {
    filter: grayscale(100%);
}

/* ============================================
   Gallery Half Items Layout
============================================ */
.project-gallery-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem;
}

.gallery-item.full {
    width: 100%;
}

.gallery-item.half {
    width: calc(50% - 1.25rem);
}

@media (max-width: 768px) {
    .gallery-item.half {
        width: 100%;
    }
}

/* ============================================
   Light Mode Adjustments
============================================ */
.skills-page .site-header {
    color: #000;
}

.skills-page .site-logo {
    color: var(--r1-color-accent);
}

.skills-page .main-navigation a {
    color: rgba(0, 0, 0, 0.4);
}

.skills-page .main-navigation a:hover {
    color: #000;
}

.skills-page .menu-toggle span {
    background: #000;
}

.skills-page .site-footer {
    color: #fff;
}

/* ============================================
   Contact Page
============================================ */
.contact-section {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
}

/* ============================================
   Mobile Navigation
============================================ */
.mobile-navigation {
    background: var(--r1-color-bg);
}

.skills-page .mobile-navigation {
    background: #fcfcfc;
    color: #000;
}

/* ============================================
   Responsive Typography
============================================ */
@media (max-width: 768px) {
    .hero-title {
        font-size: clamp(2.5rem, 12vw, 4rem);
    }
    
    .project-card-title {
        font-size: 2rem;
    }
    
    .skill-title {
        font-size: 2.5rem;
    }
    
    .contact-title {
        font-size: 3rem;
    }
    
    .footer-title {
        font-size: 2.5rem;
    }
}

/* ============================================
   Print Styles
============================================ */
@media print {
    .site-header,
    .site-footer,
    .cursor-dot,
    .cursor-circle,
    .noise-overlay,
    .mobile-navigation {
        display: none !important;
    }
    
    body {
        background: #fff !important;
        color: #000 !important;
    }
}
