/*
Theme Name: ASL Luxury Theme
Theme URI: https://asl-egypt.com
Author: Antigravity
Description: Elementor-optimized luxury theme for ASL.
Version: 1.0
Text Domain: asl-theme
*/

:root {
    --color-asl-charcoal: #1A2744;
    --color-asl-ivory:    #F7F0E4;
    --color-asl-gold:     #C8913A;
    --color-asl-nile:     #1A7A7A;
    --color-asl-sand:     #C4A88A;
    --color-asl-papyrus:  #F0E2C6;
    --color-asl-brown:    #5C3A21;
    --color-asl-forest:   #3D6B4A;
    
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', system-ui, sans-serif;
}

* {
    box-sizing: border-box;
}

body {
    background-color: var(--color-asl-ivory);
    color: var(--color-asl-charcoal);
    font-family: var(--font-body);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-asl-charcoal);
    margin-top: 0;
}

::selection {
    background-color: var(--color-asl-gold);
    color: #FFFFFF;
}

.container-lux {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header Styles - Liquid Glass responsive design */
.header-lux {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 3rem;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    
    /* Liquid Glass styling by default for all pages */
    background: rgba(26, 39, 68, 0.65);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
}

/* On homepage, start transparent-to-blur liquid glass */
body.home:not(.scrolled) .header-lux {
    background: rgba(26, 39, 68, 0.25);
    backdrop-filter: blur(12px) saturate(140%);
    -webkit-backdrop-filter: blur(12px) saturate(140%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: none;
    height: 85px;
}

/* Scrolled state on any page */
.header-lux.scrolled {
    height: 70px;
    background: rgba(26, 39, 68, 0.8);
    backdrop-filter: blur(22px) saturate(190%);
    -webkit-backdrop-filter: blur(22px) saturate(190%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.logo-lux {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.logo-lux:hover {
    transform: scale(1.02);
}

.logo-img-lux {
    height: 38px;
    width: auto;
    object-fit: contain;
}

.nav-lux {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link-lux {
    color: rgba(255, 255, 255, 0.85) !important;
    text-decoration: none;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link-lux::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 1px;
    background: var(--color-asl-gold);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link-lux:hover {
    color: #FFFFFF !important;
}

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

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

.action-btn-lux {
    background: none;
    border: none;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.85) !important;
    padding: 0.5rem;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.action-btn-lux:hover {
    color: var(--color-asl-gold) !important;
    transform: translateY(-1px);
}

.cart-count-badge {
    position: absolute;
    top: -2px;
    right: -5px;
    background: var(--color-asl-gold);
    color: #FFFFFF;
    font-size: 0.7rem;
    font-weight: 700;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #1A2744;
}

.menu-toggle-lux {
    display: none;
}

/* Mobile Navigation */
.mobile-nav-lux {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: var(--color-asl-charcoal);
    z-index: 1000;
    padding: 6rem 2rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: -5px 0 25px rgba(0,0,0,0.15);
}

.mobile-nav-lux.active {
    right: 0;
}

.mobile-nav-close {
    position: absolute;
    top: 2rem;
    left: 2rem;
    background: none;
    border: none;
    color: #FFFFFF;
    font-size: 1.5rem;
    cursor: pointer;
}

.mobile-nav-link {
    color: #FFFFFF;
    text-decoration: none;
    font-size: 1.2rem;
    font-family: var(--font-heading);
    transition: color 0.3s ease;
}

.mobile-nav-link:hover {
    color: var(--color-asl-gold);
}

.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.5);
    z-index: 998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.mobile-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

/* Footer Styles */
.footer-lux {
    background: var(--color-asl-charcoal);
    color: rgba(255,255,255,0.7);
    padding: 5rem 0 2rem;
    margin-top: 0;
}

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

.footer-col-lux h4 {
    color: #FFFFFF;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.footer-col-lux ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-col-lux ul a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-col-lux ul a:hover {
    color: var(--color-asl-gold);
}

.footer-bottom-lux {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
}

.footer-social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.footer-social-icons a {
    color: #FFFFFF;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.footer-social-icons a:hover {
    color: var(--color-asl-gold);
}

.payment-methods-lux {
    display: flex;
    gap: 0.8rem;
}

.payment-badge-lux {
    background: rgba(255,255,255,0.05);
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #FFFFFF;
    border: 1px solid rgba(255,255,255,0.1);
}

/* Floating WhatsApp Button */
.whatsapp-floating {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: #25D366;
    color: #FFFFFF;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    z-index: 99;
    text-decoration: none;
    font-size: 2rem;
    transition: transform 0.3s ease;
}

.whatsapp-floating:hover {
    transform: scale(1.1);
}

/* Custom Page Layouts Padding */
.asl-page-container {
    padding-top: 120px;
    padding-bottom: 5rem;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
    .footer-grid-lux {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .menu-toggle-lux {
        display: block;
    }
    .nav-lux {
        display: none;
    }
    .footer-grid-lux {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .footer-bottom-lux {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
}
/* ============================================
   ASL WooCommerce Styling
   ============================================ */
.woocommerce .button, .woocommerce button.button,
.woocommerce input.button, .woocommerce a.button {
    background-color: #1A2744 !important;
    color: #FFF !important;
    font-family: Inter, sans-serif !important;
    font-weight: 700 !important;
    font-size: 0.85rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.1em !important;
    border-radius: 4px !important;
    border: none !important;
    padding: 0.9rem 2rem !important;
    transition: background 0.3s ease !important;
}
.woocommerce .button:hover, .woocommerce button.button:hover {
    background-color: #C8913A !important;
}
.woocommerce .button.alt, .woocommerce button.button.alt,
.woocommerce .checkout-button {
    background-color: #C8913A !important;
}
.woocommerce .button.alt:hover {
    background-color: #b07a2a !important;
}
.woocommerce form .form-row label {
    font-family: Inter, sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #1A2744;
}
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
    border: 1px solid #C4A88A;
    border-radius: 4px;
    padding: 0.7rem 1rem;
    font-family: Inter, sans-serif;
    font-size: 0.95rem;
    color: #1A2744;
    background: #FFF;
}
.woocommerce form .form-row input.input-text:focus {
    border-color: #C8913A;
    outline: none;
    box-shadow: 0 0 0 2px rgba(200,145,58,0.15);
}
.woocommerce-cart-form table {
    background: #FFF;
    border-radius: 8px;
    overflow: hidden;
    font-family: Inter, sans-serif;
}
.woocommerce-cart-form table th {
    background: #1A2744;
    color: #FFF;
    font-family: Inter, sans-serif;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 1rem 1.5rem;
}
.woocommerce-cart-form table td {
    padding: 1.2rem 1.5rem;
    border-bottom: 1px solid rgba(26,39,68,0.07);
}
.cart-collaterals .cart_totals h2,
.woocommerce #order_review_heading {
    font-family: Playfair Display, serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1A2744;
}
.woocommerce-billing-fields h3,
.woocommerce-shipping-fields h3 {
    font-family: Playfair Display, serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: #1A2744;
}
.woocommerce-page h1.page-title {
    font-family: Playfair Display, serif;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: #FFF;
    margin: 0;
}
.woocommerce-notices-wrapper .woocommerce-error,
.woocommerce-notices-wrapper .woocommerce-info,
.woocommerce-notices-wrapper .woocommerce-message {
    font-family: Inter, sans-serif;
    border-top: 3px solid #C8913A;
}


/* Dark Background Sections Text Readability Fixes */
[style*="background:#1A2744"],
[style*="background: #1A2744"],
[style*="background:#1a2744"],
[style*="background: #1a2744"],
.bg-dark,
.dark-section {
    color: #FFFFFF !important;
}

[style*="background:#1A2744"] h1, [style*="background: #1A2744"] h1,
[style*="background:#1A2744"] h2, [style*="background: #1A2744"] h2,
[style*="background:#1A2744"] h3, [style*="background: #1A2744"] h3,
[style*="background:#1A2744"] h4, [style*="background: #1A2744"] h4,
[style*="background:#1A2744"] h5, [style*="background: #1A2744"] h5,
[style*="background:#1A2744"] h6, [style*="background: #1A2744"] h6,
.bg-dark h1, .bg-dark h2, .bg-dark h3, .bg-dark h4, .bg-dark h5, .bg-dark h6,
.dark-section h1, .dark-section h2, .dark-section h3, .dark-section h4, .dark-section h5, .dark-section h6 {
    color: #FFFFFF !important;
}

[style*="background:#1A2744"] p, [style*="background: #1A2744"] p,
[style*="background:#1A2744"] span, [style*="background: #1A2744"] span,
[style*="background:#1A2744"] li, [style*="background: #1A2744"] li,
[style*="background:#1A2744"] a:not([style*="background"]), [style*="background: #1A2744"] a:not([style*="background"]),
[style*="background:#1A2744"] label, [style*="background: #1A2744"] label,
.bg-dark p, .bg-dark span, .bg-dark li, .bg-dark a, .bg-dark label,
.dark-section p, .dark-section span, .dark-section li, .dark-section a, .dark-section label {
    color: rgba(255, 255, 255, 0.85) !important;
}

[style*="background:#1A2744"] strong, [style*="background: #1A2744"] strong,
.bg-dark strong, .dark-section strong {
    color: #FFFFFF !important;
}
