/* Base Variables */
:root {
    --color-green: #144a2a; /* Approximate from logo */
    --color-orange: #d74e09; /* Approximate from logo */
    --color-white: #ffffff;
    --color-black: #000000;
    --color-gray: #1e1e1e;
    
    --font-main: 'Inter', sans-serif;
}

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

html, body {
    width: 100%;
    height: 100%;
    font-family: var(--font-main);
    background-color: var(--color-black);
    color: var(--color-white);
    overflow: hidden; /* We will scroll the container instead */
}

a {
    text-decoration: none;
    color: inherit;
}

/* Scroll Container */
.scroll-container {
    width: 100%;
    height: 100vh;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
}

/* Header / Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: background-color 0.3s ease, padding 0.3s ease;
}

.navbar.scrolled {
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    padding: 15px 40px;
}

.logo img {
    height: 40px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--color-orange);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--color-orange);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-actions .btn {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    padding: 10px 20px;
    border-radius: 4px;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.btn-outline {
    border: 1px solid var(--color-white);
    color: var(--color-white);
}

.btn-outline:hover {
    background-color: var(--color-white);
    color: var(--color-black);
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 2px;
    background-color: var(--color-white);
    transition: all 0.3s ease;
}

.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: var(--color-black);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    z-index: 999;
    transition: right 0.4s ease;
}

.mobile-nav.open {
    right: 0;
}

.mobile-link {
    font-size: 20px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.btn-outline-mobile {
    border: 1px solid var(--color-white);
    padding: 15px 30px;
}

/* Fullscreen Sections */
.fullscreen-section {
    width: 100%;
    height: 100vh;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

/* Background Images */
.bg-benefits {
    background-image: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.7)), url('../assets/bg-benefits.jpg');
}

.bg-dc60kw {
    background-image: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.6)), url('../assets/bg-60kw.jpg');
}

.bg-dc40kw {
    background-image: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.6)), url('../assets/bg-40kw.jpg');
}

.bg-ac7kw {
    background-image: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.6)), url('../assets/bg-7kw.jpg');
}

/* Content */
.section-content {
    text-align: center;
    z-index: 2;
    padding: 0 20px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 2s ease, transform 2s ease;
}

.section-content.visible {
    opacity: 1;
    transform: translateY(0);
}

.model-name {
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 10px;
    letter-spacing: 2px;
    color: var(--color-orange);
}

.main-title {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -1px;
    text-transform: uppercase;
}

.subtitle {
    font-size: 18px;
    font-weight: 300;
    margin-bottom: 40px;
    color: #e0e0e0;
}

/* Buttons */
.action-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn {
    padding: 15px 40px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--color-green);
    color: var(--color-white);
}

.btn-primary:hover {
    background-color: #0e351d;
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--color-white);
    color: var(--color-white);
}

.btn-secondary:hover {
    background-color: var(--color-white);
    color: var(--color-black);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    animation: bounce 2s infinite;
    z-index: 2;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-15px);
    }
    60% {
        transform: translateY(-7px);
    }
}

/* Footer */
.footer-section {
    width: 100%;
    min-height: 150px;
    scroll-snap-align: start;
    background-color: var(--color-black);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
}

.footer-content {
    text-align: center;
}

.footer-content p {
    font-size: 12px;
    color: var(--color-orange);
    letter-spacing: 2px;
    margin-bottom: 15px;
    font-weight: 600;
}

.footer-links {
    list-style: none;
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.footer-links li a {
    font-size: 12px;
    color: #888;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.footer-links li a:hover {
    color: var(--color-white);
}

.bg-dark {
    background-color: #050505;
}

.bg-certifications {
    background-color: #050505;
    background-image: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.8)), url('../assets/bg-certifications.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.bg-gradient {
    background: radial-gradient(circle at center, #144a2a 0%, #000000 70%);
}

/* Certifications Grid */
.cert-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.cert-card {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px 40px;
    border-radius: 8px;
    min-width: 200px;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.cert-card:hover {
    transform: translateY(-10px);
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--color-orange);
}

.cert-card h3 {
    font-size: 32px;
    color: var(--color-white);
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.cert-card p {
    font-size: 14px;
    color: #aaa;
}

/* Stats Grid */
.stats-grid {
    display: flex;
    justify-content: center;
    gap: 80px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-size: 80px;
    font-weight: 700;
    color: var(--color-orange);
    line-height: 1;
    margin-bottom: 15px;
    text-shadow: 0 0 20px rgba(215, 78, 9, 0.3);
}

.stat-label {
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-white);
}

@media (max-width: 768px) {
    .stats-grid {
        gap: 40px;
        flex-direction: column;
    }
    .stat-number {
        font-size: 60px;
    }
    .cert-grid {
        flex-direction: column;
        gap: 15px;
    }
}

/* Modals */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background-color: #111;
    border: 1px solid #333;
    padding: 50px;
    border-radius: 8px;
    width: 90%;
    max-width: 600px;
    position: relative;
    transform: translateY(30px);
    transition: transform 0.4s ease;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 25px;
    background: none;
    border: none;
    color: var(--color-white);
    font-size: 30px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: var(--color-orange);
}

.modal-content h2 {
    font-size: 28px;
    margin-bottom: 30px;
    color: var(--color-orange);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.specs-list {
    list-style: none;
}

.specs-list li {
    padding: 15px 0;
    border-bottom: 1px solid #333;
    font-size: 16px;
    display: flex;
    justify-content: space-between;
}

.specs-list li:last-child {
    border-bottom: none;
}

.specs-list li strong {
    color: #aaa;
}

@media (max-width: 768px) {
    .modal-content {
        padding: 30px 20px;
    }
    
    .modal-content h2 {
        font-size: 22px;
    }
    
    .specs-list li {
        flex-direction: column;
        gap: 5px;
    }
}

/* Benefits Modal Styles */
.modal-large {
    max-width: 900px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}

.benefits-list-container {
    overflow-y: auto;
    padding-right: 15px;
    margin-top: 10px;
}

.benefits-list-container::-webkit-scrollbar {
    width: 8px;
}

.benefits-list-container::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

.benefits-list-container::-webkit-scrollbar-thumb {
    background: var(--color-orange);
    border-radius: 4px;
}

.benefit-item {
    margin-bottom: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 20px;
}

.benefit-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.benefit-item h3 {
    color: var(--color-white);
    font-size: 20px;
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.benefit-item p {
    color: #bbb;
    font-size: 15px;
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 900px) {
    .nav-links {
        display: none;
    }
    .nav-actions {
        display: none;
    }
    .mobile-menu-toggle {
        display: flex;
    }
    
    .main-title {
        font-size: 40px;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
}
