/*
Theme Name: Naagai Exclusive Final Premium
Author: Hypercognito Computings
Version: 6.1
Description: Advanced Readability, Hero Slider, and Mobile-First UI.
*/

/* --- 1. MODERN CORE & VARIABLES --- */
:root {
    --primary: #2563eb;
    --primary-dark: #1e40af;
    --accent: #10b981;
    --dark: #0f172a;
    --text-main: #334155;
    --text-light: #64748b;
    --white: #ffffff;
    --glass: rgba(255, 255, 255, 0.95);
    --border: rgba(15, 23, 42, 0.08);
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    --radius: 12px;
}

* { box-sizing: border-box; -webkit-font-smoothing: antialiased; scroll-behavior: smooth; }

body { 
    margin: 0; 
    font-family: 'Inter', system-ui, -apple-system, sans-serif; 
    background-color: #f8fafc; 
    color: var(--text-main); 
    line-height: 1.75; 
    overflow-x: hidden;
}

.container { width: 90%; max-width: 1240px; margin: 0 auto; }

h1, h2, h3, h4 { color: var(--dark); font-weight: 800; line-height: 1.2; margin-bottom: 1.2rem; }

/* --- 2. ENHANCED GLASS HEADER --- */
.site-header {
    background: var(--glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 9999;
    padding: 12px 0;
}

.header-flex { display: flex; justify-content: space-between; align-items: center; }

.logo a { 
    font-size: 24px; font-weight: 900; text-decoration: none; 
    color: var(--dark); letter-spacing: -1px;
}

/* --- 3. NAVIGATION & AUTH --- */
.nav-list { list-style: none; display: flex; gap: 28px; margin: 0; padding: 0; }
.nav-list a { 
    text-decoration: none; color: var(--text-main); 
    font-weight: 600; font-size: 15px; transition: 0.2s;
}
.nav-list a:hover { color: var(--primary); }

.header-auth { display: flex; align-items: center; gap: 15px; margin-left: 20px; }
.btn-member { 
    background: var(--primary); color: white !important; 
    padding: 10px 22px; border-radius: 50px; font-weight: 700;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

/* --- 4. HYPER-HERO SLIDER (Crucial for Home Page) --- */
.hyper-hero-slider { position: relative; height: 650px; width: 100%; overflow: hidden; background: #000; }
.slider-container { height: 100%; width: 100%; }
.slide { 
    position: absolute; top:0; left:0; width:100%; height:100%; 
    opacity:0; transition: opacity 0.8s ease-in-out; 
    background-size: cover; background-position: center;
}
.slide.active { opacity: 1; z-index: 1; }
.slide-overlay { 
    background: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.7)); 
    height: 100%; display: flex; align-items: center; 
}
.slide-content { max-width: 700px; color: #fff; }
.slide-content h2 { color: #fff; font-size: 52px; margin-bottom: 20px; text-shadow: 0 2px 10px rgba(0,0,0,0.3); }

.slider-nav button {
    position: absolute; top: 50%; transform: translateY(-50%);
    background: rgba(255,255,255,0.2); border: none; color: white;
    width: 50px; height: 50px; border-radius: 50%; cursor: pointer;
    z-index: 10; backdrop-filter: blur(5px); transition: 0.3s;
}
.slider-nav button:hover { background: var(--primary); }
.slider-prev { left: 30px; }
.slider-next { right: 30px; }

/* --- 5. MOBILE NAVIGATION --- */
.menu-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 10px; }
.menu-toggle .bar { width: 25px; height: 2px; background: var(--dark); }

@media (max-width: 992px) {
    .menu-toggle { display: flex; }
    .nav-menu {
        display: none; position: absolute; top: 100%; left: 0; width: 100%;
        background: #fff; flex-direction: column; padding: 30px;
        box-shadow: var(--shadow-md); border-bottom: 3px solid var(--primary);
    }
    .nav-menu.active { display: flex !important; }
    .nav-list { flex-direction: column; gap: 15px; }
    .header-auth { margin: 20px 0 0; padding-top: 20px; border-top: 1px solid #eee; width: 100%; }
    .hyper-hero-slider { height: 450px; }
    .slide-content h2 { font-size: 32px; }
}

/* --- 6. READABILITY & CONTENT --- */
article {
    background: var(--white); padding: 40px; border-radius: var(--radius);
    border: 1px solid var(--border); margin-bottom: 40px; box-shadow: var(--shadow-sm);
}
.entry-content p { margin-bottom: 1.8em; font-size: 18px; }

/* --- 7. WOOCOMMERCE & GEODIRECTORY GRIDS --- */
.products.columns-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 25px; }
.product { background: #fff; padding: 15px; border-radius: 12px; border: 1px solid #eee; text-align: center; }
.product img { border-radius: 8px; margin-bottom: 15px; }

.button, .woocommerce-button {
    background: var(--dark); color: #fff !important; padding: 12px 25px;
    border-radius: 8px; text-decoration: none; font-weight: 600; display: inline-block;
}

/* --- 8. FOOTER REFINEMENT --- */
.site-footer { background: var(--dark); color: #cbd5e1; padding: 80px 0 40px; margin-top: 80px; }
.footer-col h4 { color: #fff; margin-bottom: 25px; }
.footer-col ul { list-style: none; padding: 0; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col a { color: inherit; text-decoration: none; }
.footer-col a:hover { color: var(--accent); }