﻿/*:root {
    --solar-gold: #FDB022;
    --solar-orange: #FF8C42;
    --solar-dark: #1a1a1a;
    --solar-green: #2D5F3E;
    --solar-light: #FFF8E7;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--solar-dark);
    overflow-x: hidden;
    background: #fff;
}*/

/* Navigation */
/*nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.logo {
    font-weight: 800;
    font-size: 1.5rem;
}

.logo-sunrise {
    color: var(--solar-green);
    font-size: 0.8rem;
    letter-spacing: 3px;
}

.logo-energy {
    color: var(--solar-gold);
    font-size: 1.8rem;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

    .nav-links a {
        text-decoration: none;
        color: var(--solar-dark);
        font-weight: 500;
        transition: color 0.3s;
    }

        .nav-links a:hover {
            color: var(--solar-gold);
        }*/

/*.cta-btn {
    background: var(--solar-gold);
    color: white;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
    border: none;
}

    .cta-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 30px rgba(253, 176, 34, 0.3);
    }*/

/* Hero Slider Section */
.hero-slider { 
    height: 90vh;
    position: relative;
    overflow: hidden;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

    .slide.active {
        opacity: 1;
    }

.slide-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.3), rgba(22, 101, 52, 0.2));
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 5%;
    transform: translateY(-50%);
    z-index: 10;
    color: white;
    max-width: 700px;
}

/* Savings Card */
.savings-card {
    position: absolute;
    top: 33%;
    right: 5%;
    transform: translateY(-50%);
    z-index: 10;
    background: white;
    border-radius: 24px; 
    width: 420px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideInRight 1s ease-out 0.5s both;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateY(-50%) translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateY(-50%) translateX(0);
    }
}

.savings-card-header {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1.5rem;
}

.savings-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.savings-card-header h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--solar-dark);
    margin-bottom: 0.3rem;
}

.savings-card-header p {
    font-size: 0.85rem;
    color: #666;
}

.co2-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

.savings-breakdown {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.savings-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: #f9fafb;
    border-radius: 12px;
}

.savings-solar {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
}

.savings-annual {
    background: linear-gradient(135deg, #fff8e7, #fef3c7);
    border: 2px solid var(--solar-gold);
}

.savings-label {
    font-size: 0.9rem;
    color: #4b5563;
    font-weight: 500;
}

.savings-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--solar-dark);
}

.savings-solar .savings-value {
    color: #059669;
}

.savings-value-big {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--solar-gold);
    font-family: 'Space Mono', monospace;
}

.savings-btn {
    display: block;
    width: 100%;
    background: linear-gradient(135deg, var(--solar-gold), var(--solar-orange));
    color: white;
    padding: 1rem;
    border-radius: 12px;
    text-align: center;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    margin-bottom: 1rem;
}

    .savings-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(253, 176, 34, 0.4);
    }

.savings-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
}

.mini-stat {
    text-align: center;
}

.mini-stat-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--solar-gold);
    font-family: 'Space Mono', monospace;
}

.mini-stat-label {
    font-size: 0.7rem;
    color: #6b7280;
    margin-top: 0.2rem;
}

.hero-content h1 {
    font-size: 5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 20px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out;
}

.hero-highlight {
    color: var(--solar-gold);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    animation: fadeInUp 1s ease-out 0.4s both;
}

 .stats-bar
 { 
    position: absolute;
    bottom: 0;
    width: 100%; 
 
 }

/* Slider Controls */
.slider-dots {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 20;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s;
}

    .dot.active {
        background: white;
        width: 40px;
        border-radius: 6px;
        box-shadow: 0 0 10px rgba(245, 158, 11, 0.5);
    }

.slider-arrows {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 2rem;
    z-index: 20;
}

.arrow {
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    color: white;
    font-size: 1.5rem;
}

    .arrow:hover {
        background: #16a34a;
        transform: scale(1.1);
    }

/* Stats Bar */
.stats-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #166534, #15803d);
    color:white;
    backdrop-filter: blur(10px);
    padding: 2rem 5%;
   /* display: flex;*/
    justify-content: space-around;
    z-index: 15;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--solar-gold);
    font-family: 'Space Mono', monospace;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--solar-dark);
    margin-top: 0.3rem;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Visual Process Section */
.process {
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.process-step {
    position: relative; 
    overflow: hidden;
    transition: all 0.5s ease;
}

    .process-step:hover {
        transform: scale(1.02);
    }

.process-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s;
    filter: brightness(0.6);
}

.process-step:hover .process-bg {
    transform: scale(1.1);
    filter: brightness(0.8);
}

.process-content {
    position: relative;
    z-index: 10;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 3rem; 
    color: white;
    text-align: center;
}

.step-number {
    font-size: 5rem;
    font-weight: 800;
    line-height: 1;
    color: rgba(255, 255, 255, 0.3);
    font-family: 'Space Mono', monospace;
    margin-bottom: 1rem;
}

.step-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.step-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.step-desc {
    font-size: 1rem;
    opacity: 0.9;
}

/* Benefits Section */
.benefits {
    padding: 8rem 5%;
    background: var(--solar-light);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #666;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

.benefit-card {
    text-align: center;
    padding: 3rem 2rem;
    background: white;
    border-radius: 20px;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

    .benefit-card:hover {
        transform: translateY(-15px);
        box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
    }

.benefit-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 2rem;
    background: linear-gradient(135deg, var(--solar-gold), var(--solar-orange));
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    transform: rotate(-5deg);
    transition: transform 0.3s;
}

.benefit-card:hover .benefit-icon {
    transform: rotate(0deg) scale(1.1);
}

.benefit-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.benefit-value {
    font-size: 3rem;
    font-weight: 800;
    color: var(--solar-gold);
    font-family: 'Space Mono', monospace;
}

/* Gallery Section */
.gallery {
    padding: 8rem 5%;
    background: #fff;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1400px;
    margin: 3rem auto 0;
}

.gallery-item {
    position: relative;
    height: 400px;
    overflow: hidden;
    border-radius: 20px;
    cursor: pointer;
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.gallery-item:hover .gallery-img {
    transform: scale(1.15);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    color: white;
    transform: translateY(0);
    transition: transform 0.4s;
}

.gallery-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.gallery-location {
    font-size: 0.9rem;
    opacity: 0.8;
}

.gallery-stats {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
    font-size: 0.85rem;
}

/* Split CTA Section */
.split-cta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 70vh;
}

.split-left, .split-right {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5rem;
    overflow: hidden;
}

.split-left {
    background: linear-gradient(135deg, rgba(45, 95, 62, 0.95), rgba(26, 26, 26, 0.9));
    color: white;
}

.split-right {
    background: linear-gradient(135deg, rgba(253, 176, 34, 0.95), rgba(255, 140, 66, 0.9));
    color: white;
}

.split-content {
    z-index: 10;
    text-align: center;
    max-width: 500px;
}

.split-icon {
    font-size: 5rem;
    margin-bottom: 2rem;
}

.split-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.split-desc {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.split-btn {
    background: white;
    color: var(--solar-dark);
    padding: 1.2rem 3rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    display: inline-block;
    transition: transform 0.3s, box-shadow 0.3s;
}

    .split-btn:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    }

/* Responsive */
@media (max-width: 968px) {
    .hero-content h1 {
        font-size: 3rem;
    }

    .savings-card, .statsVisible, .slider-arrows, .projectsStats {
        display: none;
    }
    .hero-slider {
        height: 60vh; 
    }
    .hero-content {
        max-width: 90%;
    }

    .process {
        grid-template-columns: 1fr 1fr;
    }

    .benefits-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .split-cta {
        grid-template-columns: 1fr;
    }

    .nav-links {
        display: none;
    }

    .stats-bar {
        flex-wrap: wrap;
    }

    .hero-buttons {
        flex-direction: column;
    }
}

@media (max-width: 600px) {
    .process {
        grid-template-columns: 1fr;
    }
}
/* Solar Showcase Panel - Right side of hero */
.solar-showcase-panel {
    position: absolute;
    top: 26%;
    right: 4%;
    z-index: 10;
    width: 585px;
    height: 500px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
    animation: slideInRight 1s ease-out 0.5s both;
}

.showcase-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.showcase-slide.active {
    opacity: 1;
}

.showcase-image-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
}

.showcase-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.showcase-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to top, rgba(22, 101, 52, 0.9), rgba(22, 101, 52, 0.3), transparent);
}

.showcase-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 28px;
    color: white;
    z-index: 2;
}

.showcase-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(245, 158, 11, 0.9);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 12px;
    backdrop-filter: blur(4px);
}

.showcase-caption h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 6px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.showcase-caption p {
    font-size: 0.9rem;
    opacity: 0.9;
    line-height: 1.4;
}

@media (max-width: 968px) {
    .solar-showcase-panel {
        display: none;
    }
}

#mainNav {
    opacity: .9;
}
#mobileMenu, #mainNav {
    background: rgb(17 24 39 / var(--tw-bg-opacity, 1));
}
