/* ==========================================================
 * Nestrohub - Categories Page Stylesheet
 * File: /public/assets/css/categories.css
 * Core Theme: Dark Luxury Architecture
 * ========================================================== */

.nh-categories-page {
    background-color: var(--nh-bg, #020617);
    color: var(--nh-text, #f8fafc);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Base Container */
.nh-container {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Scroll Reveal Animations */
.animate-fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-fade-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================
 * 1. Page Hero Section
 * ========================================================== */
.nh-page-hero {
    position: relative;
    padding: 120px 0 80px;
    text-align: center;
    background: radial-gradient(ellipse at top, rgba(37, 99, 235, 0.12) 0%, transparent 70%), var(--nh-bg, #020617);
    border-bottom: 1px solid var(--nh-border, rgba(255, 255, 255, 0.08));
}

.nh-hero-grid-overlay {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 0;
    pointer-events: none;
}

.nh-hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.nh-hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 56px;
    font-weight: 800;
    margin: 20px auto;
    line-height: 1.15;
    color: #ffffff;
}

.nh-hero-desc {
    font-size: 18px;
    color: var(--nh-muted, #94a3b8);
    line-height: 1.7;
    max-width: 760px;
    margin: 0 auto;
}

/* ==========================================================
 * 2. Categories List Section
 * ========================================================== */
.nh-categories-list-section {
    padding: 80px 0;
    position: relative;
    z-index: 2;
}

/* ==========================================================
 * 3. CTA Section
 * ========================================================== */
.nh-cta-section {
    padding: 40px 0 100px;
}

.nh-cta-box {
    text-align: center;
    padding: 80px 40px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(2, 6, 23, 0.95) 100%), var(--nh-card, #1e293b);
    border-radius: 24px;
    border: 1px solid rgba(37, 99, 235, 0.3);
    box-shadow: 0 20px 50px rgba(37, 99, 235, 0.15);
}

.nh-cta-box .nh-section-title {
    font-family: 'Playfair Display', serif;
    font-size: 38px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 16px;
}

.nh-cta-box .nh-section-subtitle {
    color: var(--nh-muted, #94a3b8);
    font-size: 18px;
    margin: 0 auto 40px;
    max-width: 600px;
    line-height: 1.6;
}

.nh-cta-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 30px;
}

.nh-cta-trust {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-top: 24px;
}

.nh-cta-trust .nh-stars {
    color: var(--nh-gold, #fbbf24);
    font-size: 18px;
    letter-spacing: 2px;
}

/* ==========================================================
 * 4. Responsive Breakpoints
 * ========================================================== */
@media (max-width: 992px) {
    .nh-hero-title { font-size: 46px; }
    .nh-cta-box .nh-section-title { font-size: 32px; }
}

@media (max-width: 768px) {
    .nh-container { padding: 0 18px; }
    .nh-page-hero { padding: 100px 0 60px; }
    .nh-hero-title { font-size: 36px; }
    .nh-hero-desc { font-size: 16px; }
    
    .nh-cta-box { padding: 50px 20px; }
    .nh-cta-actions { flex-direction: column; width: 100%; max-width: 320px; margin-left: auto; margin-right: auto; }
    .nh-cta-actions .nh-btn-primary, 
    .nh-cta-actions .nh-btn-outline { width: 100%; justify-content: center; }
}
