/**
 * Nuvarexion - Home Page Styles
 * Magazine Cover Layout (L7) - Asymmetric Editorial Style
 */

/* ============================================
   HERO SECTION - Magazine Cover
   ============================================ */
.nx-hero-magazine {
    min-height: 100vh;
    padding: calc(var(--nx-header-height) + var(--nx-space-2xl)) 0 var(--nx-space-4xl);
    background-color: var(--nx-bg);
    position: relative;
    overflow: hidden;
}

.nx-hero-asymmetric {
    max-width: var(--nx-container);
    margin: 0 auto;
    padding: 0 var(--nx-space-xl);
    display: grid;
    grid-template-columns: 45% 55%;
    gap: var(--nx-space-2xl);
    align-items: center;
    min-height: calc(100vh - var(--nx-header-height) - var(--nx-space-4xl));
}

.nx-hero-text-block {
    position: relative;
    z-index: 2;
}

.nx-hero-eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--nx-secondary);
    margin-bottom: var(--nx-space-lg);
}

.nx-hero-headline {
    font-family: var(--nx-font-heading);
    font-size: 72px;
    font-weight: 500;
    line-height: 1;
    color: var(--nx-primary);
    margin-bottom: var(--nx-space-xl);
}

.nx-hero-headline em {
    font-style: italic;
    color: var(--nx-secondary);
}

.nx-hero-lead {
    font-size: 18px;
    line-height: 1.7;
    color: var(--nx-gray-600);
    margin-bottom: var(--nx-space-2xl);
    max-width: 400px;
}

.nx-hero-cta-group {
    display: flex;
    align-items: center;
    gap: var(--nx-space-xl);
    margin-bottom: var(--nx-space-3xl);
}

.nx-cta-primary {
    display: inline-flex;
    align-items: center;
    gap: var(--nx-space-sm);
    padding: var(--nx-space-md) var(--nx-space-xl);
    background-color: var(--nx-primary);
    color: var(--nx-white);
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    transition: background-color var(--nx-transition-fast);
}

.nx-cta-primary:hover {
    background-color: var(--nx-primary-dark);
}

.nx-cta-text {
    font-size: 14px;
    font-weight: 500;
    color: var(--nx-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nx-cta-text:hover {
    color: var(--nx-secondary);
}

.nx-hero-stats-row {
    display: flex;
    gap: var(--nx-space-3xl);
    padding-top: var(--nx-space-xl);
    border-top: 1px solid var(--nx-gray-200);
}

.nx-stat-item {
    display: flex;
    flex-direction: column;
}

.nx-stat-num {
    font-family: var(--nx-font-heading);
    font-size: 36px;
    font-weight: 600;
    color: var(--nx-primary);
}

.nx-stat-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--nx-gray-500);
}

.nx-hero-image-block {
    position: relative;
    height: 100%;
    min-height: 600px;
}

.nx-hero-main-img {
    position: absolute;
    top: 0;
    right: 0;
    width: 85%;
    height: 80%;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: var(--nx-shadow-xl);
}

.nx-hero-float-img {
    position: absolute;
    bottom: 10%;
    left: 0;
    width: 45%;
    height: 40%;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: var(--nx-shadow-lg);
    border: 8px solid var(--nx-white);
}

.nx-hero-caption {
    position: absolute;
    bottom: 5%;
    right: 5%;
    background-color: var(--nx-white);
    padding: var(--nx-space-md) var(--nx-space-lg);
    border-radius: 4px;
    box-shadow: var(--nx-shadow-md);
}

.nx-hero-caption span {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--nx-secondary);
    margin-bottom: var(--nx-space-xs);
}

.nx-hero-caption p {
    font-family: var(--nx-font-heading);
    font-size: 14px;
    font-weight: 500;
    color: var(--nx-primary);
    margin: 0;
}

/* ============================================
   MOSAIC GRID SECTION
   ============================================ */
.nx-mosaic-section {
    padding: var(--nx-space-4xl) 0;
    background-color: var(--nx-white);
}

.nx-section-header-asymmetric {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: var(--nx-space-3xl);
}

.nx-section-title-large {
    font-family: var(--nx-font-heading);
    font-size: 48px;
    font-weight: 500;
    color: var(--nx-primary);
    line-height: 1.1;
}

.nx-view-link {
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--nx-secondary);
}

.nx-view-link:hover {
    color: var(--nx-secondary-dark);
}

.nx-mosaic-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 300px;
    gap: var(--nx-space-lg);
}

.nx-mosaic-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
}

.nx-mosaic-item:hover .nx-mosaic-image img {
    transform: scale(1.05);
}

.nx-mosaic-item:hover .nx-mosaic-overlay {
    opacity: 1;
}

.nx-mosaic-large {
    grid-column: span 2;
    grid-row: span 2;
}

.nx-mosaic-wide {
    grid-column: span 2;
}

.nx-mosaic-tall {
    grid-row: span 2;
}

.nx-mosaic-image {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.nx-mosaic-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--nx-transition-slow);
}

.nx-mosaic-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--nx-space-xl);
    background: linear-gradient(to top, rgba(30, 58, 95, 0.9) 0%, transparent 100%);
    opacity: 0;
    transition: opacity var(--nx-transition-base);
}

.nx-mosaic-overlay h3 {
    font-family: var(--nx-font-heading);
    font-size: 16px;
    font-weight: 500;
    color: var(--nx-white);
    margin-bottom: var(--nx-space-xs);
}

.nx-mosaic-overlay p {
    font-size: 14px;
    font-weight: 600;
    color: var(--nx-secondary);
    margin: 0;
}

/* ============================================
   EDITORIAL SPLIT SECTION
   ============================================ */
.nx-editorial-section {
    padding: var(--nx-space-4xl) 0;
    background-color: var(--nx-bg);
}

.nx-editorial-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--nx-space-4xl);
    align-items: center;
}

.nx-editorial-text {
    padding-right: var(--nx-space-2xl);
}

.nx-editorial-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--nx-secondary);
    margin-bottom: var(--nx-space-lg);
}

.nx-editorial-headline {
    font-family: var(--nx-font-heading);
    font-size: 48px;
    font-weight: 500;
    color: var(--nx-primary);
    line-height: 1.2;
    margin-bottom: var(--nx-space-xl);
}

.nx-editorial-body {
    margin-bottom: var(--nx-space-xl);
}

.nx-editorial-body p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--nx-gray-600);
    margin-bottom: var(--nx-space-md);
}

.nx-editorial-link {
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--nx-primary);
    border-bottom: 2px solid var(--nx-secondary);
    padding-bottom: var(--nx-space-xs);
}

.nx-editorial-link:hover {
    color: var(--nx-secondary);
}

.nx-editorial-visual {
    position: relative;
    height: 600px;
}

.nx-editorial-img-main {
    position: absolute;
    top: 0;
    right: 0;
    width: 80%;
    height: 80%;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: var(--nx-shadow-lg);
}

.nx-editorial-img-accent {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50%;
    height: 50%;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: var(--nx-shadow-md);
    border: 8px solid var(--nx-white);
}

/* ============================================
   HORIZONTAL SCROLL CATEGORIES
   ============================================ */
.nx-categories-section {
    padding: var(--nx-space-4xl) 0;
    background-color: var(--nx-white);
    overflow: hidden;
}

.nx-section-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--nx-space-2xl);
}

.nx-section-title {
    font-family: var(--nx-font-heading);
    font-size: 36px;
    font-weight: 500;
    color: var(--nx-primary);
}

.nx-scroll-hint {
    display: flex;
    align-items: center;
    gap: var(--nx-space-sm);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--nx-gray-500);
}

.nx-categories-scroll {
    display: flex;
    gap: var(--nx-space-xl);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: var(--nx-space-lg);
    -webkit-overflow-scrolling: touch;
}

.nx-categories-scroll::-webkit-scrollbar {
    height: 4px;
}

.nx-categories-scroll::-webkit-scrollbar-track {
    background: var(--nx-gray-200);
    border-radius: 2px;
}

.nx-categories-scroll::-webkit-scrollbar-thumb {
    background: var(--nx-secondary);
    border-radius: 2px;
}

.nx-category-card {
    flex: 0 0 300px;
    scroll-snap-align: start;
}

.nx-category-image {
    aspect-ratio: 4/5;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: var(--nx-space-md);
}

.nx-category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--nx-transition-slow);
}

.nx-category-card:hover .nx-category-image img {
    transform: scale(1.05);
}

.nx-category-info h3 {
    font-family: var(--nx-font-heading);
    font-size: 20px;
    font-weight: 500;
    color: var(--nx-primary);
    margin-bottom: var(--nx-space-xs);
}

.nx-category-info span {
    font-size: 13px;
    color: var(--nx-gray-500);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============================================
   SPOTLIGHT SECTION
   ============================================ */
.nx-spotlight-section {
    padding: var(--nx-space-4xl) 0;
    background-color: var(--nx-bg);
}

.nx-spotlight-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: var(--nx-space-4xl);
    align-items: center;
}

.nx-spotlight-image {
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: var(--nx-shadow-xl);
}

.nx-spotlight-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nx-spotlight-content {
    padding: var(--nx-space-xl);
}

.nx-spotlight-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--nx-secondary);
    margin-bottom: var(--nx-space-lg);
}

.nx-spotlight-title {
    font-family: var(--nx-font-heading);
    font-size: 36px;
    font-weight: 500;
    color: var(--nx-primary);
    line-height: 1.2;
    margin-bottom: var(--nx-space-md);
}

.nx-spotlight-price {
    font-family: var(--nx-font-heading);
    font-size: 28px;
    font-weight: 600;
    color: var(--nx-secondary);
    margin-bottom: var(--nx-space-lg);
}

.nx-spotlight-desc {
    font-size: 16px;
    line-height: 1.7;
    color: var(--nx-gray-600);
    margin-bottom: var(--nx-space-xl);
}

.nx-spotlight-actions {
    display: flex;
    gap: var(--nx-space-md);
}

.nx-cta-secondary {
    display: inline-flex;
    align-items: center;
    padding: var(--nx-space-md) var(--nx-space-xl);
    background-color: transparent;
    color: var(--nx-primary);
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid var(--nx-primary);
    border-radius: 4px;
    cursor: pointer;
    transition: all var(--nx-transition-fast);
}

.nx-cta-secondary:hover {
    background-color: var(--nx-primary);
    color: var(--nx-white);
}

/* ============================================
   TESTIMONIAL SECTION
   ============================================ */
.nx-testimonial-section {
    padding: var(--nx-space-4xl) 0;
    background-color: var(--nx-white);
}

.nx-testimonial-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: var(--nx-space-4xl);
    align-items: center;
}

.nx-testimonial-quote {
    padding: var(--nx-space-3xl);
    background-color: var(--nx-bg);
    border-radius: 8px;
}

.nx-quote-icon {
    color: var(--nx-secondary);
    margin-bottom: var(--nx-space-lg);
    opacity: 0.5;
}

.nx-testimonial-quote blockquote p {
    font-family: var(--nx-font-heading);
    font-size: 28px;
    font-weight: 400;
    font-style: italic;
    color: var(--nx-primary);
    line-height: 1.4;
    margin-bottom: var(--nx-space-xl);
}

.nx-testimonial-quote footer {
    font-size: 14px;
    font-weight: 500;
    color: var(--nx-gray-600);
}

.nx-testimonial-visual {
    aspect-ratio: 3/4;
    overflow: hidden;
    border-radius: 8px;
}

.nx-testimonial-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ============================================
   NEWSLETTER SECTION
   ============================================ */
.nx-newsletter-section {
    padding: var(--nx-space-4xl) 0;
    background-color: var(--nx-primary);
}

.nx-newsletter-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--nx-space-3xl);
    padding: var(--nx-space-3xl);
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.nx-newsletter-text h2 {
    font-family: var(--nx-font-heading);
    font-size: 32px;
    font-weight: 500;
    color: var(--nx-white);
    margin-bottom: var(--nx-space-sm);
}

.nx-newsletter-text p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.nx-newsletter-form {
    display: flex;
    gap: var(--nx-space-md);
    min-width: 400px;
}

.nx-newsletter-form input {
    flex: 1;
    padding: var(--nx-space-md) var(--nx-space-lg);
    font-size: 15px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    color: var(--nx-white);
    outline: none;
}

.nx-newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.nx-newsletter-form button {
    padding: var(--nx-space-md) var(--nx-space-xl);
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    background-color: var(--nx-secondary);
    color: var(--nx-white);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color var(--nx-transition-fast);
}

.nx-newsletter-form button:hover {
    background-color: var(--nx-secondary-dark);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .nx-hero-asymmetric {
        grid-template-columns: 1fr;
        gap: var(--nx-space-3xl);
    }
    
    .nx-hero-headline {
        font-size: 56px;
    }
    
    .nx-hero-image-block {
        min-height: 400px;
        order: -1;
    }
    
    .nx-mosaic-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .nx-editorial-grid,
    .nx-spotlight-grid,
    .nx-testimonial-grid {
        grid-template-columns: 1fr;
    }
    
    .nx-newsletter-box {
        flex-direction: column;
        text-align: center;
    }
    
    .nx-newsletter-form {
        min-width: auto;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .nx-hero-headline {
        font-size: 42px;
    }
    
    .nx-section-title-large {
        font-size: 36px;
    }
    
    .nx-mosaic-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 250px;
    }
    
    .nx-mosaic-large,
    .nx-mosaic-wide,
    .nx-mosaic-tall {
        grid-column: span 1;
        grid-row: span 1;
    }
    
    .nx-hero-cta-group {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .nx-newsletter-form {
        flex-direction: column;
    }
}
