/*
Theme Name: GeneratePress Child
Theme URI: https://generatepress.com
Description: Tema hijo para KidzTalent con header personalizado.
Author: Antigravity
Author URI: https://google.com
Template: generatepress
Version: 0.1.5
*/

:root {
    --color-primary: #17181C;
    --color-secondary: #F2C94C;
    --color-accent: #8E35FF;
    --color-accent-deep: #6C2BD9;
    --color-accent-glow: #B94DFF;
    --color-bg: #F7F7FA;
    --color-bg-soft: #F1EEF8;
    --color-surface: #FFFFFF;
    --color-surface-dim: #E9EAF0;
    --color-text: #17181C;
    --color-text-muted: #5B5F6B;
    --color-on-accent: #FFFFFF;
    --gradient-brand: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-deep) 100%);
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, .02);
    --shadow-app: 0 10px 30px -10px rgba(108, 43, 217, .1);
    --shadow-premium: 0 20px 40px -15px rgba(108, 43, 217, .15);
    --shadow-glow: 0 0 20px rgba(142, 53, 255, .2);
    --border-modern: 1px solid rgba(23, 24, 28, .05);
    --transition-smooth: all .6s cubic-bezier(.16, 1, .3, 1);
    --border-radius: 16px;
    --border-radius-sm: 8px;
}

/* Base adjustments for the header */
body {
    padding-top: 100px; /* Adjusted back to 100px */
}

/* Fix for WordPress Admin Bar */
.admin-bar .nav-platform {
    top: 32px;
}

@media (max-width: 782px) {
    .admin-bar .nav-platform {
        top: 46px;
    }
}

.nav-platform {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 100px; /* Increased back to 100px for larger logo */
    z-index: 1000;
    display: flex;
    align-items: center;
    transition: var(--transition-smooth);
}

.glass-ui {
    background: #ffffffd9; /* Slightly more opaque */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, .3);
    box-shadow: var(--shadow-sm);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 70px !important; /* Increased another 15% to 70px */
    width: auto !important;
    display: block;
}

.nav-links-wrap {
    display: flex;
    align-items: center; /* Center links vertically */
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    margin: 0 !important; /* Force remove WP margins */
    padding: 0 !important;
}

.nav-link {
    text-decoration: none;
    color: var(--color-text);
    font-weight: 600;
    font-size: .95rem;
    transition: var(--transition-smooth);
    position: relative;
    padding: 1rem 0; /* More clickable area and vertical stability */
    display: inline-block;
}

.nav-link:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: var(--transition-smooth);
}

.nav-link:hover {
    color: var(--color-accent);
}

.nav-link:hover:after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.cart-link {
    position: relative;
    color: var(--color-text);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    padding: 8px;
}

.cart-link:hover {
    color: var(--color-accent);
    transform: scale(1.1);
}

.cart-icon {
    width: 24px;
    height: 24px;
}

.cart-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--color-accent);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
}

.btn-platform {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 2rem;
    background: var(--color-primary);
    color: #fff !important;
    border-radius: var(--border-radius-sm);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-smooth);
    border: none;
    cursor: pointer;
}

.btn-platform:hover {
    background: var(--color-accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1002;
}

.menu-toggle .bar {
    width: 24px;
    height: 2px;
    background: var(--color-primary);
    transition: var(--transition-smooth);
}

.menu-toggle.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(23, 24, 28, 0.4);
    backdrop-filter: blur(4px);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-overlay.active {
    display: block;
    opacity: 1;
}

@media (max-width: 1024px) {
    .nav-links-wrap {
        display: none;
    }
    .menu-toggle {
        display: flex;
    }
    .nav-links-wrap.active {
        display: flex;
        position: fixed;
        top: 0;
        right: 0;
        width: 300px;
        height: 100vh;
        background: #fff;
        flex-direction: column;
        padding: 100px 2rem;
        z-index: 1001;
        box-shadow: -10px 0 30px #0000001a;
        animation: slideIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .nav-links-wrap.active .nav-links {
        flex-direction: column;
        gap: 2rem;
    }
}

/* Footer Styles */
.footer-premium {
    background-color: var(--color-primary);
    color: #fff;
    padding: 5rem 0 3rem;
    border-top: 1px solid rgba(255,255,255,.05);
    margin-top: 5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand .logo {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    text-decoration: none;
}

.footer-brand .logo-img {
    height: 100px;
    width: auto;
}

.footer-brand p {
    font-size: 1.1rem;
    color: #ffffffb3;
    max-width: 300px;
    line-height: 1.6;
}

.footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.footer-links h3 {
    color: #fff !important;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 2rem;
}

.footer-links ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.footer-links ul li {
    margin-bottom: 1rem !important;
}

.footer-links a {
    font-size: 1rem;
    color: #ffffff99;
    text-decoration: none;
    transition: var(--transition-smooth);
    display: inline-block;
}

.footer-links a:hover {
    color: var(--color-accent);
    transform: translateX(5px);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.05);
    padding-top: 3rem;
    text-align: center;
    font-size: .85rem;
    color: #ffffff66;
}

@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
}
/* WooCommerce Premium Grid */
.woocommerce ul.products {
    margin: 4rem 0 !important;
}

.woocommerce ul.products li.product {
    background: var(--color-surface);
    border-radius: var(--border-radius) !important;
    overflow: hidden;
    border: var(--border-modern);
    box-shadow: var(--shadow-app);
    transition: var(--transition-smooth);
    padding: 0 !important;
}

.woocommerce ul.products li.product:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-premium);
    border-color: var(--color-accent);
}

.woocommerce ul.products li.product a {
    text-decoration: none;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    padding: 2rem 1.5rem !important;
    font-family: 'Outfit', sans-serif !important;
    font-size: 1.5rem !important;
    color: var(--color-primary) !important;
    text-align: center;
    margin: 0 !important;
    line-height: 1.2 !important;
}

.woocommerce ul.products li.product img {
    margin: 0 !important;
    transition: var(--transition-smooth);
}

.woocommerce ul.products li.product:hover img {
    transform: scale(1.05);
}

.woocommerce-loop-product__link {
    display: flex;
    flex-direction: column;
}

/* Centering H1 on Home */
.home h1.page-title,
.home .woocommerce-products-header__title {
    text-align: center !important;
    font-family: 'Outfit', sans-serif !important;
    font-size: clamp(2rem, 5vw, 3.5rem) !important;
    font-weight: 700 !important;
    margin: 5rem 0 3rem !important;
    color: var(--color-primary) !important;
    letter-spacing: -1px !important;
}

/* Hide breadcrumbs and other distractions if desired on home */
.home .woocommerce-breadcrumb, 
.home .woocommerce-result-count, 
.home .woocommerce-ordering {
    display: none !important;
}

/* Force 3 columns on home with Flexbox for better compatibility */
.home.woocommerce ul.products {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 2.5rem !important;
    justify-content: center !important;
    margin: 4rem 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.home.woocommerce ul.products:before,
.home.woocommerce ul.products:after {
    display: none !important;
}

.home.woocommerce ul.products li.product {
    flex: 0 1 calc(33.333% - 2rem) !important;
    width: calc(33.333% - 2rem) !important;
    margin: 0 !important;
    float: none !important;
}

@media (max-width: 1024px) {
    .home.woocommerce ul.products li.product {
        flex: 0 1 calc(50% - 2rem) !important;
        width: calc(50% - 2rem) !important;
    }
}

@media (max-width: 600px) {
    .home.woocommerce ul.products li.product {
        flex: 0 1 100% !important;
        width: 100% !important;
    }
}
/* Theatre Plan Styles */
.theatre-plan-container {
    margin: 2rem 0;
    padding: 1.5rem;
    background: var(--color-surface);
    border-radius: var(--border-radius);
    border: var(--border-modern);
    box-shadow: var(--shadow-sm);
}

.theatre-plan-title {
    font-family: 'Outfit', sans-serif !important;
    font-size: 1.1rem !important;
    color: var(--color-primary) !important;
    margin-bottom: 1rem !important;
    font-weight: 700 !important;
}

.theatre-plan-wrapper {
    position: relative;
    cursor: zoom-in;
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    max-width: 300px;
}

.theatre-plan-img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition-smooth);
}

.theatre-plan-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(142, 53, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-smooth);
}

.theatre-plan-overlay span {
    background: var(--color-primary);
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.theatre-plan-wrapper:hover .theatre-plan-overlay {
    opacity: 1;
}

.theatre-plan-wrapper:hover .theatre-plan-img {
    transform: scale(1.05);
}

/* Modal for expansion */
.theatre-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(23, 24, 28, 0.95);
    backdrop-filter: blur(10px);
    justify-content: center;
    align-items: center;
}

.theatre-modal-content {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: var(--border-radius);
    box-shadow: 0 0 50px rgba(0,0,0,0.5);
    animation: zoomIn 0.3s ease;
}

.theatre-modal-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.theatre-modal-close:hover {
    color: var(--color-accent);
}

@keyframes zoomIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}


