/*
Theme Name: Spool Child
Template: spool
Version: 1.0.0
*/
/* Mobile Performance Optimizations */
@media (max-width: 768px) {
    /* Touch-friendly targets */
    a, button, input[type="submit"] {
        min-height: 44px;
        min-width: 44px;
        -webkit-tap-highlight-color: rgba(212,175,55,0.3);
    }
    
    /* Prevent zoom on input focus (iOS) */
    input, textarea, select {
        font-size: 16px;
    }
    
    /* Faster scrolling */
    body {
        -webkit-overflow-scrolling: touch;
        overflow-x: hidden;
    }
    
    /* Optimize video rendering */
    video {
        width: 100%;
        height: auto;
        max-width: 100%;
    }
    
    /* Reduce animations on mobile */
    * {
        animation-duration: 0.3s !important;
        transition-duration: 0.3s !important;
    }
}

/* Font display optimization */
@font-face {
    font-family: "Playfair Display";
    font-display: swap;
}
@font-face {
    font-family: "Lato";
    font-display: swap;
}

/* Prevent text size adjustment */
html {
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

/* ============================================
   FOOTER DESIGN IMPROVEMENTS - Elegant styling
   ============================================ */

.site-footer-minified {
    background: linear-gradient(180deg, #1a1a2e 0%, #0f0f1e 100%);
    padding: 4rem 0 2rem;
    margin-top: 0;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    position: relative;
}

.site-footer-minified::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.5), transparent);
}

.site-footer-minified .copyright {
    color: #e0e0e0;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    line-height: 1.8;
    margin-bottom: 2rem;
    opacity: 0.9;
    font-weight: 300;
}

.site-footer-minified a[href*="vimeo"],
.site-footer-minified a[href*="instagram"],
.site-footer-minified a[href*="facebook"] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #e0e0e0;
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    padding: 0.75rem 1.25rem;
    margin: 0.5rem 0.5rem 0.5rem 0;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-weight: 400;
}

.site-footer-minified a[href*="vimeo"]:hover,
.site-footer-minified a[href*="instagram"]:hover,
.site-footer-minified a[href*="facebook"]:hover {
    color: #d4af37;
    background: rgba(212, 175, 55, 0.15);
    transform: translateY(-2px);
}

.site-footer-minified .button,
.site-footer-minified a.button {
    background: transparent;
    border: 2px solid #d4af37;
    color: #d4af37;
    padding: 1rem 2.5rem;
    font-size: 0.9rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 600;
    border-radius: 0;
    transition: all 0.3s ease;
    display: inline-block;
    margin: 1.5rem 0;
    text-decoration: none;
}

.site-footer-minified .button:hover,
.site-footer-minified a.button:hover {
    background: #d4af37;
    color: #1a1a2e;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

.site-footer-minified p,
.site-footer-minified div:not(.copyright) {
    color: #b0b0b0;
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    max-width: 900px;
}

@media (max-width: 768px) {
    .site-footer-minified {
        padding: 3rem 0 1.5rem;
    }
    .site-footer-minified a[href*="vimeo"],
    .site-footer-minified a[href*="instagram"],
    .site-footer-minified a[href*="facebook"] {
        display: block;
        margin: 0.75rem 0;
    }
}

/* ============================================
   FOOTER DESIGN IMPROVEMENTS - Elegant styling
   ============================================ */

.site-footer-minified {
    background: linear-gradient(180deg, #1a1a2e 0%, #0f0f1e 100%);
    padding: 4rem 0 2rem;
    margin-top: 0;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    position: relative;
}

.site-footer-minified::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.5), transparent);
}

.site-footer-minified .copyright {
    color: #e0e0e0;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    line-height: 1.8;
    margin-bottom: 2rem;
    opacity: 0.9;
    font-weight: 300;
}

.site-footer-minified a[href*="vimeo"],
.site-footer-minified a[href*="instagram"],
.site-footer-minified a[href*="facebook"] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #e0e0e0;
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    padding: 0.75rem 1.25rem;
    margin: 0.5rem 0.5rem 0.5rem 0;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-weight: 400;
}

.site-footer-minified a[href*="vimeo"]:hover,
.site-footer-minified a[href*="instagram"]:hover,
.site-footer-minified a[href*="facebook"]:hover {
    color: #d4af37;
    background: rgba(212, 175, 55, 0.15);
    transform: translateY(-2px);
}

.site-footer-minified .button,
.site-footer-minified a.button {
    background: transparent;
    border: 2px solid #d4af37;
    color: #d4af37;
    padding: 1rem 2.5rem;
    font-size: 0.9rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 600;
    border-radius: 0;
    transition: all 0.3s ease;
    display: inline-block;
    margin: 1.5rem 0;
    text-decoration: none;
}

.site-footer-minified .button:hover,
.site-footer-minified a.button:hover {
    background: #d4af37;
    color: #1a1a2e;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

.site-footer-minified p,
.site-footer-minified div:not(.copyright) {
    color: #b0b0b0;
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    max-width: 900px;
}

@media (max-width: 768px) {
    .site-footer-minified {
        padding: 3rem 0 1.5rem;
    }
    .site-footer-minified a[href*="vimeo"],
    .site-footer-minified a[href*="instagram"],
    .site-footer-minified a[href*="facebook"] {
        display: block;
        margin: 0.75rem 0;
    }
}
/* Nitropack Banner - Less Intrusive */
.site-footer-minified img[alt*="NitroPack"],
.site-footer-minified img[alt*="Optimized"] {
    opacity: 0.4;
    max-width: 100px;
    height: auto;
}

/* Hide Nitropack banner text if present, keep attribution subtle */
.site-footer-minified > div:last-child:has(img[alt*="NitroPack"]) {
    padding: 1rem 0;
    text-align: center;
    opacity: 0.5;
}

/* Footer text improvements */
.site-footer-minified strong {
    color: #d4af37;
    font-weight: 600;
}
/* Override Footer - Make it Slim */
.site-footer-minified {
    padding: 1.5rem 0 !important;
    background: #1a1a2e !important;
}

.site-footer-minified p,
.site-footer-minified div:not(.footer-top):not(.footer-expandable):not(.footer-social) {
    margin-bottom: 0.5rem !important;
}

.site-footer-minified .button,
.site-footer-minified a.button {
    display: none !important;
}
/* Force Single Row Slim Footer */
.site-footer-minified {
    padding: 1rem 0 !important;
    min-height: auto !important;
    max-height: 60px !important;
}

.site-footer-minified .container > *:not(.footer-row):not(.footer-expandable) {
    display: none !important;
}

.site-footer-minified .row {
    display: none !important;
}

.site-footer-minified .col-xs-12,
.site-footer-minified .col-sm-6,
.site-footer-minified .col-md-3,
.site-footer-minified .col-md-4 {
    display: none !important;
}
/* Better Learn More Button Design */
.site-footer-minified .footer-toggle-btn {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15) 0%, rgba(212, 175, 55, 0.05) 100%);
    border: 1.5px solid #d4af37;
    color: #d4af37;
    padding: 0.65rem 1.75rem;
    font-size: 0.8rem;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 600;
    border-radius: 3px;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.site-footer-minified .footer-toggle-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.2), transparent);
    transition: left 0.5s ease;
}

.site-footer-minified .footer-toggle-btn:hover::before {
    left: 100%;
}

.site-footer-minified .footer-toggle-btn:hover {
    background: #d4af37;
    color: #1a1a2e;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.4);
    border-color: #d4af37;
}

.site-footer-minified .footer-toggle-btn:active {
    transform: translateY(0);
}

/* Better Social Links */
.site-footer-minified .footer-social a {
    position: relative;
    padding: 0.5rem 0.75rem;
}

.site-footer-minified .footer-social a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: #d4af37;
    transition: width 0.3s ease;
}

.site-footer-minified .footer-social a:hover::after {
    width: 80%;
}
/* Smaller copyright text */
.site-footer-minified .footer-copyright {
    font-size: 0.65rem !important;
    letter-spacing: 0.3px !important;
}
/* Force footer elements to be visible */
.site-footer-minified .footer-row {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.site-footer-minified .footer-learn-more {
    display: block !important;
    visibility: visible !important;
}

.site-footer-minified .footer-toggle-btn {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.site-footer-minified .footer-social {
    display: flex !important;
    visibility: visible !important;
}

.site-footer-minified .footer-social a {
    display: inline-block !important;
    visibility: visible !important;
}

.site-footer-minified .footer-copyright {
    display: block !important;
    visibility: visible !important;
}

/* Ensure expandable content is visible when active */
.site-footer-minified .footer-expandable.active {
    display: block !important;
    visibility: visible !important;
}

.site-footer-minified .footer-expandable-content {
    visibility: visible !important;
}

/* Mobile - stack vertically */
@media (max-width: 768px) {
    .site-footer-minified .footer-row {
        flex-direction: column !important;
        gap: 0.75rem !important;
    }
    
    .site-footer-minified .footer-learn-more,
    .site-footer-minified .footer-social,
    .site-footer-minified .footer-copyright {
        width: 100% !important;
        text-align: center !important;
    }
}
/* PC Layout Tuning */
@media (min-width: 769px) {
    .site-footer-minified .footer-row {
        gap: 3rem !important;
        padding: 1.2rem 0 !important;
    }
    
    .site-footer-minified .footer-learn-more {
        min-width: 250px;
    }
    
    .site-footer-minified .footer-social {
        min-width: 300px;
        justify-content: center;
    }
    
    .site-footer-minified .footer-copyright {
        min-width: 300px;
        text-align: right;
    }
    
    .site-footer-minified .footer-toggle-btn {
        padding: 0.7rem 2rem;
        font-size: 0.85rem;
    }
    
    .site-footer-minified .footer-dropdown-row {
        padding: 2.5rem !important;
    }
}
/* Ensure SEO content is always in DOM and accessible to search engines */
.ea-footer-seo-wrap {
    /* Use max-height instead of display:none so search engines can read it */
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    max-height: 0;
}

/* When visible to users */
.ea-footer-seo-wrap.ea-show {
    position: relative !important;
    left: auto !important;
    width: 100% !important;
    height: auto !important;
    overflow: visible !important;
    opacity: 1 !important;
    max-height: 800px !important;
    padding: 2.5rem !important;
    display: block !important;
}

/* Alternative: Keep it in normal flow but visually hidden when collapsed */
.ea-footer-seo-wrap:not(.ea-show) {
    position: absolute;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    width: 1px;
    height: 1px;
    overflow: hidden;
    white-space: nowrap;
}
