@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&family=Poppins:wght@400;500;600;700&display=swap');

:root {
    --primary: #0b7bb8;
    --primary-dark: #075a8c;
    --accent: #f6a21a;
    --dark: #07131d;
    --text: #1d2a35;
    --muted: #6d7a84;
    --light: #f5f8fa;
    --white: #ffffff;
    --border: #e6edf1;
    --shadow: 0 18px 45px rgba(7, 35, 52, 0.10);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', Arial, sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.7;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(230, 237, 241, 0.9);
}

.nav-container {
    width: min(1180px, calc(100% - 40px));
    min-height: 82px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.brand-logo img {
    width: 245px;
    height: 58px;
    object-fit: contain;
    object-position: left center;
    display: block;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 27px;
}

.main-nav a {
    font-size: 14px;
    font-weight: 600;
    color: #34424c;
    transition: color 0.25s ease;
}

.main-nav a:hover {
    color: var(--primary);
}

.main-nav .nav-cta {
    color: var(--white);
    background: var(--primary);
    padding: 10px 20px;
    border-radius: 8px;
}

.main-nav .nav-cta:hover {
    color: var(--white);
    background: var(--primary-dark);
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.menu-toggle span {
    width: 27px;
    height: 2px;
    background: var(--dark);
    display: block;
    margin: 6px auto;
    transition: 0.25s ease;
}

.hero {
    position: relative;
    min-height: 720px;
    overflow: hidden;
    display: flex;
    align-items: center;
    color: var(--white);

    /* Original bright solar image — no dark overlay */
    background-image: url("assets/hero/solar-panels-bright.jpg");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.hero-overlay {
    display: none;
}

.hero-pattern {
    display: none;
}

.hero-content {
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
    position: relative;
    z-index: 2;
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 100px 0;
}

.eyebrow {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--accent);
    margin-bottom: 15px;
}

.hero h1,
.section-heading h2,
.specialization-content h2,
.consultation h2 {
    font-family: 'Montserrat', Arial, sans-serif;
}

.hero h1 {
    max-width: 760px;
    font-size: clamp(48px, 7vw, 82px);
    line-height: 1.04;
    font-weight: 800;
    letter-spacing: -2px;
}

.hero h1 span {
    color: var(--accent);
}

.hero h2 {
    max-width: 700px;
    margin-top: 15px;
    font-size: clamp(22px, 3vw, 34px);
    line-height: 1.25;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.92);
}

.hero-text {
    max-width: 630px;
    margin-top: 22px;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.72);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.btn:hover {
    transform: translateY(-3px);
}

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

.btn-primary:hover {
    background: #08699d;
}

.btn-secondary {
    border: 1px solid rgba(255, 255, 255, 0.45);
    color: var(--white);
}

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

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    margin-top: 58px;
}

.hero-stats > div {
    min-width: 170px;
    padding: 0 25px;
    border-left: 1px solid rgba(255, 255, 255, 0.25);
}

.hero-stats > div:first-child {
    padding-left: 0;
    border-left: 0;
}

.hero-stats strong,
.hero-stats span {
    display: block;
}

.hero-stats strong {
    font-size: 18px;
}

.hero-stats span {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.62);
}

.solar-orbit {
    position: absolute;
    right: 7%;
    bottom: 11%;
    width: min(39vw, 520px);
    aspect-ratio: 1;
    z-index: 1;
}

.sun {
    position: absolute;
    width: 36%;
    aspect-ratio: 1;
    top: 8%;
    right: 8%;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #fff7bd 0%, #ffd24a 34%, #f39a17 68%, #e9790d 100%);
    box-shadow: 0 0 80px rgba(255, 178, 29, 0.55);
}

.panel {
    position: absolute;
    width: 43%;
    height: 26%;
    border: 5px solid rgba(117, 210, 255, 0.85);
    border-radius: 6px;
    background:
        repeating-linear-gradient(90deg, transparent 0 24%, rgba(117, 210, 255, .8) 25% 26%, transparent 27% 49%),
        repeating-linear-gradient(0deg, transparent 0 24%, rgba(117, 210, 255, .8) 25% 26%, transparent 27% 49%),
        linear-gradient(135deg, #073653, #0b78ad);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.28);
    transform: skewY(-10deg) rotate(-18deg);
}

.panel-one {
    left: 4%;
    bottom: 19%;
}

.panel-two {
    left: 30%;
    bottom: 7%;
}

.panel-three {
    right: 3%;
    bottom: 25%;
}

.section {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 105px 0;
}

.section-heading {
    max-width: 710px;
    margin: 0 auto 55px;
    text-align: center;
}

.section-heading h2 {
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.15;
    color: var(--dark);
}

.section-heading > p:last-child {
    margin-top: 15px;
    color: var(--muted);
}

.services-section {
    padding-bottom: 115px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.service-card {
    padding: 35px 26px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: var(--white);
    box-shadow: 0 8px 28px rgba(7, 35, 52, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow);
}

.service-card.featured-service {
    background: linear-gradient(145deg, #087ab7, #075278);
    color: var(--white);
}

.service-icon {
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: rgba(11, 123, 184, 0.10);
    color: var(--primary);
    font-size: 28px;
    font-weight: 700;
}

.featured-service .service-icon {
    background: rgba(255, 255, 255, 0.14);
    color: var(--accent);
}

.service-card h3 {
    margin: 22px 0 10px;
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    line-height: 1.35;
}

.service-card p {
    color: var(--muted);
    font-size: 14px;
}

.featured-service p {
    color: rgba(255, 255, 255, 0.75);
}

.specialization {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 600px;
    background: var(--light);
}

.specialization-visual {
    position: relative;
    overflow: hidden;
    min-height: 480px;
    background: linear-gradient(145deg, #0b405c, #0c7bad);
}

.specialization-visual::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(4, 18, 29, 0.38), transparent 55%);
}

.visual-sun {
    position: absolute;
    top: 11%;
    right: 13%;
    width: 125px;
    aspect-ratio: 1;
    border-radius: 50%;
    background: #ffc33d;
    box-shadow: 0 0 80px rgba(255, 203, 58, 0.7);
}

.visual-panels {
    position: absolute;
    left: 10%;
    right: 8%;
    bottom: 9%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 7px;
    transform: perspective(700px) rotateX(54deg) rotateZ(-3deg);
    transform-origin: bottom;
}

.visual-panels span {
    display: block;
    aspect-ratio: 0.72;
    border: 3px solid rgba(112, 211, 255, 0.9);
    background:
        repeating-linear-gradient(90deg, transparent 0 31%, rgba(135, 220, 255, .7) 32% 34%, transparent 35% 65%),
        repeating-linear-gradient(0deg, transparent 0 31%, rgba(135, 220, 255, .7) 32% 34%, transparent 35% 65%),
        #06446b;
}

.specialization-content {
    align-self: center;
    max-width: 620px;
    padding: 80px clamp(30px, 7vw, 110px) 80px 70px;
}

.specialization-content h2 {
    font-size: clamp(31px, 4vw, 48px);
    line-height: 1.15;
}

.specialization-content > p:not(.eyebrow) {
    margin-top: 22px;
    color: var(--muted);
}

.check-list {
    list-style: none;
    margin: 26px 0 30px;
}

.check-list li {
    margin: 12px 0;
    font-weight: 500;
}

.check-list li::before {
    content: '✓';
    color: var(--primary);
    font-weight: 800;
    margin-right: 12px;
}

.text-link {
    color: var(--primary);
    font-weight: 700;
}

.text-link span {
    margin-left: 8px;
    transition: margin 0.2s ease;
}

.text-link:hover span {
    margin-left: 14px;
}

.products-section {
    padding-top: 115px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.product-card {
    position: relative;
    min-height: 315px;
    padding: 35px 28px;
    border-radius: 18px;
    overflow: hidden;
    color: var(--white);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: translateY(-8px);
}

.panel-product { background: linear-gradient(145deg, #075c87, #0b9bca); }
.inverter-product { background: linear-gradient(145deg, #152f48, #0c5b82); }
.battery-product { background: linear-gradient(145deg, #293744, #0a7180); }
.projects-product { background: linear-gradient(145deg, #8a5510, #d18b1a); }

.product-number {
    position: absolute;
    top: 18px;
    right: 22px;
    font-size: 42px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.16);
}

.product-icon {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 14px;
    font-size: 27px;
}

.product-card h3 {
    margin-top: 34px;
    font-family: 'Montserrat', sans-serif;
    font-size: 23px;
}

.product-card p {
    margin-top: 10px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
}

.product-card span:last-child {
    margin-top: auto;
    padding-top: 28px;
    font-size: 13px;
    font-weight: 700;
}

.brands-section {
    padding: 105px 20px;
    background: #f7fafc;
}

.brands-grid {
    width: min(1180px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
}

.brand-name {
    min-height: 92px;
    padding: 15px;
    display: grid;
    place-items: center;
    text-align: center;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--white);
    color: #34424c;
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.4px;
    transition: border 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.brand-name:hover {
    color: var(--primary);
    border-color: var(--primary);
    transform: translateY(-4px);
}

.center-action {
    margin-top: 42px;
    text-align: center;
}

.consultation {
    padding: 110px 20px;
    text-align: center;
    color: var(--white);
    background:
        radial-gradient(circle at 18% 20%, rgba(246, 162, 26, 0.28), transparent 23%),
        linear-gradient(120deg, #052235, #0878ae);
}

.consultation-content {
    max-width: 760px;
    margin: 0 auto;
}

.consultation h2 {
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1.1;
}

.consultation-content > p:not(.eyebrow) {
    margin-top: 18px;
    color: rgba(255, 255, 255, 0.76);
}

.consultation-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

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

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

.site-footer {
    background: #061018;
    color: rgba(255, 255, 255, 0.72);
}

.footer-grid {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 75px 0 55px;
    display: grid;
    grid-template-columns: 1.7fr 1fr 1.3fr;
    gap: 60px;
}

.footer-logo {
    width: 250px;
    max-width: 100%;
    height: auto;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 8px;
}

.footer-about p {
    max-width: 430px;
    margin-top: 18px;
}

.footer-grid h3 {
    margin-bottom: 18px;
    color: var(--white);
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
}

.footer-grid a,
.footer-grid p:not(.footer-about p) {
    display: block;
    margin: 8px 0;
    font-size: 14px;
}

.footer-grid a:hover {
    color: var(--accent);
}

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

@media (max-width: 1050px) {
    .main-nav { gap: 17px; }
    .services-grid, .products-grid { grid-template-columns: repeat(2, 1fr); }
    .brands-grid { grid-template-columns: repeat(4, 1fr); }
    .solar-orbit { opacity: 0.65; right: -2%; }
    .specialization-content { padding-left: 50px; }
}

@media (max-width: 800px) {
    .nav-container { min-height: 72px; }
    .brand-logo img { width: 205px; height: 50px; }
    .menu-toggle { display: block; }
    .main-nav {
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        padding: 22px 20px 28px;
        background: var(--white);
        border-bottom: 1px solid var(--border);
        box-shadow: 0 14px 28px rgba(0, 0, 0, 0.08);
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 18px;
    }
    .main-nav.open { display: flex; }
    .main-nav .nav-cta { text-align: center; }
    .hero { min-height: 690px; }
    .solar-orbit { width: 420px; right: -130px; bottom: 5%; opacity: 0.35; }
    .specialization { grid-template-columns: 1fr; }
    .specialization-visual { min-height: 390px; }
    .specialization-content { max-width: 100%; padding: 70px 40px; }
    .brands-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
    .footer-about { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
    .nav-container, .section, .footer-grid, .hero-content {
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35); width: min(100% - 30px, 1180px); }
    .brand-logo img { width: 180px; }
    .hero { min-height: 650px; }
    .hero-content {
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35); padding: 80px 0; }
    .hero h1 { font-size: 49px; letter-spacing: -1.5px; }
    .hero h2 { font-size: 23px; }
    .hero-text { font-size: 14px; }
    .hero-actions { flex-direction: column; align-items: stretch; }
    .hero-actions .btn { width: 100%; }
    .hero-stats { margin-top: 38px; }
    .hero-stats > div { width: 100%; padding: 10px 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.18); }
    .hero-stats > div:first-child { border-top: 0; }
    .section { padding: 75px 0; }
    .services-grid, .products-grid { grid-template-columns: 1fr; }
    .service-card { padding: 30px 24px; }
    .specialization-content { padding: 65px 24px; }
    .specialization-visual { min-height: 330px; }
    .brands-section { padding: 75px 15px; }
    .brands-grid { grid-template-columns: repeat(2, 1fr); }
    .brand-name { min-height: 80px; font-size: 12px; }
    .consultation { padding: 80px 20px; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-about { grid-column: auto; }
    .footer-logo { width: 220px; }
}


/* ========================= UPDATED REAL SOLAR VISUALS ========================= */
.hero {
    background: url("assets/solar/hero-solar.jpeg") center center / cover no-repeat;
}
.hero-overlay {
    background: linear-gradient(90deg, rgba(2, 13, 22, 0.96) 0%, rgba(3, 20, 31, 0.82) 45%, rgba(3, 20, 31, 0.30) 100%);
}
.hero-pattern { opacity: 0.08; }
.hero-photo-credit {
    position: absolute;
    right: 30px;
    bottom: 26px;
    z-index: 2;
    padding: 10px 15px;
    border-radius: 999px;
    background: rgba(255,255,255,0.14);
    border: 1px solid rgba(255,255,255,0.28);
    backdrop-filter: blur(8px);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.solar-showcase {
    padding: 105px 20px;
    background: #ffffff;
}
.showcase-intro {
    width: min(1180px, 100%);
    margin: 0 auto 42px;
    text-align: center;
}
.showcase-intro h2 {
    font-size: clamp(32px, 4vw, 52px);
    color: var(--dark);
    margin-bottom: 15px;
}
.showcase-intro > p:last-child {
    max-width: 720px;
    margin: 0 auto;
    color: var(--muted);
}
.solar-photo-grid {
    width: min(1180px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.35fr 1fr 1fr;
    gap: 18px;
}
.solar-photo {
    min-height: 320px;
    margin: 0;
    overflow: hidden;
    border-radius: 18px;
    background: #eaf1f5;
    box-shadow: 0 14px 35px rgba(7, 38, 56, 0.10);
}
.solar-photo-large { min-height: 520px; }
.solar-photo img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .5s ease;
}
.solar-photo:hover img { transform: scale(1.05); }
.brand-logo-card {
    min-height: 110px;
    padding: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--white);
    box-shadow: 0 8px 22px rgba(7, 38, 56, 0.05);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.brand-logo-card:hover {
    transform: translateY(-5px);
    border-color: rgba(8, 123, 184, .45);
    box-shadow: 0 16px 32px rgba(7, 38, 56, 0.11);
}
.brand-logo-card img {
    max-width: 88%;
    max-height: 68px;
    width: auto;
    height: auto;
    object-fit: contain;
}
@media (max-width: 800px) {
    .solar-photo-grid { grid-template-columns: 1fr 1fr; }
    .solar-photo-large { grid-column: 1 / -1; min-height: 390px; }
}
@media (max-width: 560px) {
    .solar-showcase { padding: 75px 15px; }
    .solar-photo-grid { grid-template-columns: 1fr; gap: 14px; }
    .solar-photo, .solar-photo-large { grid-column: auto; min-height: 250px; }
    .hero-photo-credit { right: 15px; bottom: 15px; font-size: 9px; }
    .brand-logo-card { min-height: 88px; padding: 12px; }
    .brand-logo-card img { max-height: 52px; }
}


/* =============================
   LOCATION & GOOGLE MAP
============================= */
.location-section {
    padding: 100px 7%;
    background: #f7faf8;
}

.location-content {
    max-width: 1250px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 55px;
    align-items: center;
}

.location-info h2 {
    margin: 12px 0 20px;
    font-size: clamp(2rem, 4vw, 3.2rem);
}

.location-info > p:not(.eyebrow) {
    line-height: 1.8;
    margin-bottom: 28px;
}

.location-details {
    display: grid;
    gap: 18px;
    margin-bottom: 30px;
}

.location-detail {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.location-icon {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: rgba(255, 165, 0, 0.12);
    font-size: 1.25rem;
}

.location-detail h4 {
    margin: 0 0 5px;
}

.location-detail p {
    margin: 0;
    line-height: 1.6;
}

.location-detail a {
    color: inherit;
    text-decoration: none;
}

.map-box {
    min-height: 460px;
    overflow: hidden;
    border-radius: 22px;
    background: #ddd;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.13);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.map-box iframe {
    width: 100%;
    height: 460px;
    border: 0;
    display: block;
}

@media (max-width: 900px) {
    .location-section {
        padding: 75px 6%;
    }

    .location-content {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .map-box,
    .map-box iframe {
        min-height: 400px;
        height: 400px;
    }
}

@media (max-width: 560px) {
    .location-section {
        padding: 60px 5%;
    }

    .map-box,
    .map-box iframe {
        min-height: 330px;
        height: 330px;
        border-radius: 16px;
    }
}
