/*
Theme Name: LUMIVISTA Doors & Windows
Theme URI: https://lumivista.com
Author: LUMIVISTA Team
Description: Premium B2B theme for LUMIVISTA doors and windows manufacturing
Version: 2.1
Text Domain: fason
*/

:root {
    --primary: #0d1b30;
    --primary-light: #16304f;
    --primary-dark: #050a14;
    --secondary: #d4a857;
    --secondary-dark: #c0903f;
    --secondary-light: #ecd9ab;
    --dark: #050a14;
    --light: #fafbfc;
    --gray: #64748b;
    --gray-light: #e2e8f0;
    --white: #ffffff;
    --shadow: 0 4px 24px rgba(13, 27, 48, 0.08);
    --shadow-lg: 0 20px 60px rgba(13, 27, 48, 0.15);
    --shadow-gold: 0 4px 20px rgba(212, 168, 87, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #1e293b;
    line-height: 1.7;
    font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Sora', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--primary);
    font-weight: 700;
    line-height: 1.2;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Header */
.site-header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 0 rgba(13, 27, 48, 0.05);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.header-top {
    background: var(--primary);
    color: rgba(255, 255, 255, 0.7);
    padding: 10px 0;
    font-size: 12px;
    letter-spacing: 0.5px;
}

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

.header-top-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-top-right {
    font-weight: 500;
    letter-spacing: 1.5px;
    font-size: 11px;
}

.header-top a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.9;
}

.header-main {
    padding: 24px 0;
    border-bottom: 1px solid rgba(13, 27, 48, 0.05);
}

.site-logo a {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.site-logo-img {
    height: 100px;
    width: auto;
    max-width: 380px;
    object-fit: contain;
}

@media (max-width: 768px) {
    .site-logo-img {
        height: 72px;
        max-width: 280px;
    }
}

.site-logo h2 {
    margin: 0;
    color: var(--primary);
    font-size: 36px;
    font-weight: 300;
    letter-spacing: 4px;
    line-height: 1;
}

.site-logo span {
    font-size: 11px;
    color: var(--gray);
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 500;
    margin-top: 6px;
}

.main-navigation ul {
    display: flex;
    list-style: none;
    gap: 48px;
    align-items: center;
}

.main-navigation a {
    text-decoration: none;
    color: var(--primary);
    font-weight: 500;
    font-size: 17px;
    transition: color 0.3s;
    position: relative;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.main-navigation a:hover {
    color: var(--secondary-dark);
}

.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--secondary);
    transition: width 0.3s;
}

.main-navigation a:hover::after {
    width: 100%;
}

/* Hero */
.hero {
    margin-top: 110px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
    color: var(--white);
    padding: 180px 0 200px;
    position: relative;
    overflow: hidden;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 80% 20%, rgba(212, 168, 87, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 20% 80%, rgba(26, 54, 93, 0.3) 0%, transparent 50%);
    pointer-events: none;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background: radial-gradient(circle at 70% 50%, rgba(212, 168, 87, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.hero-badge {
    display: inline-block;
    background: transparent;
    border: 1px solid var(--secondary);
    color: var(--secondary);
    padding: 10px 24px;
    border-radius: 2px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 32px;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.hero h1 {
    color: var(--white);
    font-size: 80px;
    line-height: 1.05;
    margin-bottom: 40px;
    font-weight: 200;
    letter-spacing: -2px;
}

.hero .highlight {
    color: var(--secondary);
    font-weight: 400;
}

.hero p {
    font-size: 20px;
    opacity: 0.75;
    max-width: 600px;
    margin-bottom: 56px;
    line-height: 1.8;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-bottom-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent 0%, var(--secondary) 50%, transparent 100%);
}

.hero .container {
    position: relative;
    z-index: 1;
}

.btn {
    display: inline-block;
    padding: 18px 56px;
    border-radius: 2px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 14px;
    border: none;
    cursor: pointer;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.btn-primary {
    background: var(--secondary);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(212, 168, 87, 0.25);
}

.btn-primary:hover {
    background: var(--secondary-dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(212, 168, 87, 0.35);
}

.btn-outline {
    border: 1px solid rgba(255,255,255,0.3);
    color: var(--white);
    background: transparent;
}

.btn-outline:hover {
    background: rgba(255,255,255,0.05);
    border-color: var(--secondary);
    color: var(--secondary);
}

/* Stats Section */
.stats-section {
    background: var(--primary);
    color: var(--white);
    padding: 0;
    margin-top: -80px;
    position: relative;
    z-index: 2;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: var(--white);
    border-radius: 2px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(13, 27, 48, 0.15);
    border: 1px solid rgba(13, 27, 48, 0.05);
}

.stat-item {
    padding: 64px 24px;
    text-align: center;
    border-right: 1px solid var(--gray-light);
    transition: all 0.4s;
}

.stat-item:hover {
    background: var(--light);
}

.stat-item:last-child {
    border-right: none;
}

.stat-number {
    font-size: 56px;
    font-weight: 200;
    font-family: 'Sora', sans-serif;
    color: var(--secondary);
    margin-bottom: 12px;
    line-height: 1;
    letter-spacing: -2px;
}

.stat-label {
    font-size: 13px;
    color: var(--gray);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Sections */
.section {
    padding: 140px 0;
}

.section-alt {
    background: var(--light);
}

.section-title {
    text-align: left;
    margin-bottom: 80px;
    max-width: 800px;
}

.section-subtitle {
    display: inline-block;
    color: var(--secondary-dark);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 24px;
    position: relative;
    padding-left: 48px;
}

.section-subtitle::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 1px;
    background: var(--secondary);
}

.section-title h2 {
    font-size: 56px;
    margin-bottom: 20px;
    font-weight: 300;
    letter-spacing: -1px;
    color: var(--primary);
    line-height: 1.15;
}

.section-title p {
    color: var(--gray);
    font-size: 18px;
    max-width: 600px;
    line-height: 1.8;
    font-weight: 300;
}

/* Products */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.product-card {
    background: var(--white);
    border-radius: 2px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(13, 27, 48, 0.06);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(13, 27, 48, 0.05);
}

.product-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 60px rgba(13, 27, 48, 0.15);
    border-color: rgba(212, 168, 87, 0.3);
}

.product-image {
    height: 320px;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 64px;
    color: var(--secondary);
    position: relative;
    overflow: hidden;
}

.product-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 0%, rgba(13, 27, 48, 0.05) 100%);
    transition: all 0.5s;
}

.product-card:hover .product-image-overlay {
    background: linear-gradient(180deg, transparent 0%, rgba(13, 27, 48, 0.15) 100%);
}

.product-content {
    padding: 36px;
}

.product-category {
    display: inline-block;
    background: rgba(212, 168, 87, 0.08);
    color: var(--secondary-dark);
    padding: 6px 14px;
    border-radius: 2px;
    font-size: 11px;
    font-weight: 600;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.product-content h3 {
    font-size: 22px;
    margin-bottom: 16px;
    line-height: 1.3;
    font-weight: 600;
    letter-spacing: -0.3px;
}

.product-content p {
    color: var(--gray);
    font-size: 15px;
    margin-bottom: 24px;
    line-height: 1.7;
}

.product-link {
    color: var(--secondary-dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: gap 0.4s;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.product-link:hover {
    gap: 16px;
}

/* Product Sidebar */
aside ul a:hover {
    background: var(--light) !important;
    color: var(--primary) !important;
}

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.feature-item {
    background: var(--white);
    padding: 56px 40px;
    border-radius: 2px;
    text-align: left;
    box-shadow: 0 2px 12px rgba(13, 27, 48, 0.06);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(13, 27, 48, 0.05);
    position: relative;
    overflow: hidden;
}

.feature-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(13, 27, 48, 0.12);
    border-color: rgba(212, 168, 87, 0.3);
}

.feature-number {
    font-size: 56px;
    font-weight: 200;
    color: var(--secondary);
    margin-bottom: 32px;
    line-height: 1;
    opacity: 0.9;
    letter-spacing: -2px;
}

.feature-item h3 {
    font-size: 22px;
    margin-bottom: 16px;
    font-weight: 600;
    color: var(--primary);
    letter-spacing: -0.3px;
}

.feature-item p {
    color: var(--gray);
    font-size: 15px;
    line-height: 1.8;
}

/* Certifications */
.cert-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 24px;
}

.cert-item {
    background: var(--white);
    border: 1px solid var(--gray-light);
    border-radius: 2px;
    padding: 48px 20px;
    text-align: center;
    font-weight: 600;
    color: var(--primary);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.cert-item:hover {
    border-color: var(--secondary);
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(13, 27, 48, 0.1);
    color: var(--secondary-dark);
}

/* CTA */
.cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
    color: var(--white);
    padding: 160px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(212, 168, 87, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.cta::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--secondary), transparent);
}

.cta .container {
    position: relative;
    z-index: 1;
}

.cta h2 {
    color: var(--white);
    font-size: 56px;
    margin-bottom: 24px;
    font-weight: 300;
    letter-spacing: -1px;
}

.cta p {
    font-size: 19px;
    opacity: 0.7;
    margin-bottom: 48px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
    font-weight: 300;
}

/* Footer */
.site-footer {
    background: var(--dark);
    color: rgba(255,255,255,0.5);
    padding: 100px 0 32px;
    border-top: 1px solid rgba(212, 168, 87, 0.15);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-col h3 {
    color: var(--white);
    font-size: 14px;
    margin-bottom: 32px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.footer-col p {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 24px;
    color: rgba(255,255,255,0.5);
}

.footer-col ul {
    list-style: none;
}

.footer-col a {
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    font-size: 14px;
    line-height: 2.5;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: var(--secondary);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 32px;
    text-align: center;
    font-size: 13px;
    color: rgba(255,255,255,0.4);
}

/* Responsive */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 42px;
    }
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .cert-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .stat-item {
        border-right: none;
        border-bottom: 1px solid var(--gray-light);
    }
}

@media (max-width: 576px) {
    .hero {
        padding: 80px 0;
    }
    .hero h1 {
        font-size: 32px;
    }
    .section {
        padding: 60px 0;
    }
    .section-title h2 {
        font-size: 32px;
    }
    .products-grid {
        grid-template-columns: 1fr;
    }
    .features-grid {
        grid-template-columns: 1fr;
    }
    .cert-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .main-navigation {
        display: none;
    }
    .header-top .container {
        flex-direction: column;
        gap: 8px;
    }
}
