/* 
* SolarSave Website - Main Styles
* Author: SolarSave
* Version: 1.0
*/

/* ===== Base Styles ===== */
:root {
    --primary-color: #173A5E; /* Dark Blue */
    --secondary-color: #F3A622; /* Gold/Yellow */
    --accent-color: #F7F6F2; /* Background */
    --white: #FFFFFF;
    --light-gray: #F7F6F2;
    --medium-gray: #dddddd;
    --dark-gray: #555555;
    --black: #333333;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--black);
    background-color: #f0eae4;
    background-image: url('hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

body:before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: url('hero-bg.jpg') center center/cover no-repeat;
    opacity: 0.2;
    pointer-events: none;
    z-index: 0;
}

main, header, section, footer, .container {
    position: relative;
    z-index: 1;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: #2E4053; /* Darker Blue */
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 15px;
    color: var(--primary-color);
}

h2 {
    color: #fff !important;
    text-shadow: 0 2px 8px rgba(23,58,94,0.18);
}

/* Specific h2 headings in dark blue */
.why-solar h2,
.why-now h2,
.why-solarsave h2,
.faq h2,
.consulting-promo h2,
.quote-form h2 {
    color: #173A5E !important;
    text-shadow: none;
}

h1 {
    font-size: 2.8rem;
}

h2 {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 30px;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 20px;
}

.section-intro {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 40px;
    text-align: center;
    color: #fff;
    text-shadow: 0 1px 4px rgba(23,58,94,0.15);
}

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background-color: #173A5E;
    color: var(--white);
}

.btn-primary:hover {
    background-color: #2E4053; /* Darker Blue */
    color: var(--white);
}

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

.btn-secondary:hover {
    background-color: #e6ac00;
    color: var(--primary-color);
}

/* ===== Header ===== */
header {
    background-color: #f0eae4;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    flex-wrap: wrap;
}

.logo img {
    max-width: 100%;
    height: auto;
    display: block;
}

.desktop-menu {
    display: flex;
}

.desktop-menu li {
    margin-left: 30px;
}

.desktop-menu li a {
    font-weight: 600;
    position: relative;
}

.desktop-menu li a.active,
.desktop-menu li a:hover {
    color: var(--secondary-color);
}

.desktop-menu li a.active:after,
.desktop-menu li a:hover:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--secondary-color);
}

.mobile-menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-color);
}

.mobile-menu {
    display: none;
    background-color: #173A5E;
    padding: 20px;
}

.mobile-menu ul li {
    margin-bottom: 15px;
}

.mobile-menu ul li a {
    color: var(--white);
    font-weight: 600;
    display: block;
    padding: 5px 0;
}

.mobile-menu ul li a.active,
.mobile-menu ul li a:hover {
    color: var(--secondary-color);
}

/* ===== Hero Section ===== */
.hero {
    background-color: #173A5E;
    color: var(--white);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.hero:before {
    content: none;
}

.hero .container {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero h1 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 3rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

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

/* Hero Section Review Showcase Styles */
.hero-reviews {
    margin-top: 30px;
    width: 100%;
    max-width: 600px;
}

.review-showcase {
    position: relative;
    background-color: var(--light-gray);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    height: 300px;
    border-left: 5px solid var(--primary-color);
}

.review-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.review-slide.active {
    opacity: 1;
    visibility: visible;
}

.review-content {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.review-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.review-indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
}

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ccc;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.indicator.active {
    background-color: var(--primary-color);
}

/* ===== Trust Indicators Section ===== */
.trust-indicators {
    padding: 60px 0;
    background-color: var(--light-gray);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.trust-item {
    text-align: center;
    padding: 30px;
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.trust-item:hover {
    transform: translateY(-10px);
}

.trust-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.trust-item h3 {
    margin-bottom: 10px;
}

.trust-item p {
    color: var(--dark-gray);
    margin-bottom: 0;
}

/* ===== Product Categories Section ===== */
.product-categories {
    padding: 80px 0;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.category-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.category-card:hover {
    transform: translateY(-10px);
}

.category-image {
    height: 200px;
    overflow: hidden;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.category-content {
    padding: 25px;
    text-align: center;
}

.category-content h3 {
    margin-bottom: 10px;
}

.category-content p {
    margin-bottom: 20px;
    color: var(--dark-gray);
}

.category-cta {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* ===== Section Styles ===== */
.section {
    padding: 80px 0;
    scroll-margin-top: 80px;
}

.section:nth-child(even) {
    background-color: var(--light-gray);
}

.section-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.section-text {
    flex: 1;
}

.section-text h3 {
    margin-top: 30px;
    color: var(--primary-color);
}

.section-text p {
    margin-bottom: 15px;
}

.section-image {
    flex: 1;
}

.section-image img {
    border-radius: 10px;
    box-shadow: var(--shadow);
    width: 100%;
}

/* ===== Why Solar Section ===== */
.why-solar {
    background-color: var(--white);
}

/* ===== Why Now Section ===== */
.why-now {
    background-color: var(--light-gray);
}

/* ===== Why SolarSave Section ===== */
.why-solarsave {
    background-color: var(--white);
}

/* ===== Consulting Promo Section ===== */
.consulting-promo {
    padding: 80px 0;
    background-color: var(--white);
}

.consulting-promo .container {
    display: flex;
    align-items: center;
    gap: 40px;
}

.promo-content {
    flex: 1;
}

.promo-features {
    margin: 30px 0;
}

.promo-features li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.promo-features li i {
    color: var(--primary-color);
    margin-right: 10px;
    margin-top: 5px;
}

.promo-image {
    flex: 1;
}

.promo-image img {
    border-radius: 10px;
    box-shadow: var(--shadow);
}

/* ===== Quote Form Section ===== */
.quote-form {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.quote-form h2,
.quote-form p {
    text-align: center;
}

.quote-form > .container > p {
    max-width: 700px;
    margin: 0 auto 30px;
}

/* Call to Action Phone Number Styles */
.call-to-action {
    background-color: #fff;
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    margin: 30px 0;
}

.call-to-action h3 {
    color: var(--primary-color);
}

.uvp-item {
    background-color: var(--light-gray);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    color: var(--black);
    border-left: 5px solid var(--primary-color);
}

.uvp-item h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
}

.phone-number {
    display: inline-block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
    padding: 10px 20px;
    border-radius: 50px;
    background-color: var(--white);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.phone-number:hover {
    background-color: #2E4053; /* Darker Blue */
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.phone-number i {
    margin-right: 10px;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

.availability {
    color: var(--primary-color);
    font-style: italic;
    margin-bottom: 0;
}

form {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    flex: 1;
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

input, select, textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--medium-gray);
    border-radius: 5px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
}

.checkbox-label input {
    width: auto;
    margin-right: 10px;
    margin-top: 5px;
}

form button {
    display: block;
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
}

/* Form validation styles */
input.error, select.error, textarea.error {
    border-color: #e74c3c;
}

.error-message {
    color: #e74c3c;
    font-size: 0.9rem;
    margin-top: 5px;
}

.form-success {
    background-color: var(--accent-color);
    color: var(--primary-color);
    padding: 15px;
    border-radius: 5px;
    margin-top: 20px;
    text-align: center;
}

.form-success i {
    margin-right: 5px;
}

/* ===== Footer ===== */
footer {
    background-color: #173A5E;
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.footer-section p {
    margin-bottom: 15px;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: var(--white);
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.social-icons {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 84px;
    height: 84px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: var(--white);
    transition: var(--transition);
    margin: 0 auto;
}

.social-icons a:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.social-icons a i {
    font-size: 2.45rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

/* Who We Are Styles */
.unique-value-proposition {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.uvp-item {
    background-color: var(--white);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: var(--transition);
}

.uvp-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.uvp-icon {
    width: 80px;
    height: 80px;
    background-color: #173A5E;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.uvp-icon i {
    font-size: 2.5rem;
}

.uvp-item h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.mission-statement {
    background-color: var(--light-gray);
    padding: 40px;
    border-radius: 10px;
    border-left: 5px solid var(--primary-color);
    margin: 40px 0;
}

.mission-statement h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.mission-statement p {
    margin-bottom: 15px;
    line-height: 1.6;
}

.cta-banner {
    background-color: #173A5E;
    color: var(--white);
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    margin: 40px 0;
}

.cta-banner h3 {
    color: var(--white);
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.cta-banner p {
    margin-bottom: 25px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.cta-banner .btn:hover {
    background-color: #2E4053; /* Darker Blue */
    color: var(--white);
}

/* FAQ Styles */
.faq-container {
    margin-top: 30px;
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    background-color: #f9f9f9;
    padding: 15px 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--primary-color);
}

.faq-toggle {
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 20px;
    max-height: 500px;
}

/* Privacy Policy Styles */
.never-sell-data {
    background-color: #173A5E;
    color: white;
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 40px;
    margin-top: 30px;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    transform: rotate(-1deg);
    border: 5px dashed var(--secondary-color);
    position: relative;
}



.never-sell-data h2 {
    font-size: 3rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--white);
}

.never-sell-data p {
    font-size: 1.2rem;
    font-style: italic;
    color: var(--white);
}

.footer-bottom a {
    color: var(--white);
}

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

/* ===== Responsive Styles ===== */
@media (max-width: 992px) {
    h1 {
        font-size: 2.4rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    header .container {
        justify-content: center;
        text-align: center;
    }
    
    .logo {
        margin-bottom: 15px;
    }
    
    .logo img {
        max-height: 120px;
        margin: 0 auto;
    }
    
    .hero .container {
        flex-direction: column;
    }
    
    .hero-content {
        text-align: center;
        margin-bottom: 30px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-reviews {
        margin: 30px auto 0;
    }
    
    .section-content,
    .consulting-promo .container {
        flex-direction: column;
    }
    
    .section-image,
    .promo-image {
        margin-top: 30px;
        order: -1;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
}

@media (max-width: 768px) {
    .desktop-menu {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .mobile-menu.active {
        display: block;
    }
    
    .category-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .review-showcase {
        height: 250px;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .trust-grid {
        grid-template-columns: 1fr;
    }
    
    form {
        padding: 20px;
    }
    
    .logo img {
        max-height: 100px;
    }
    
    .review-showcase {
        height: 200px;
    }
    
    .section {
        padding: 50px 0;
    }
    
    .section h3 {
        font-size: 1.3rem;
    }
    
    .section p {
        font-size: 0.95rem;
    }
    
    .footer-section h3 {
        font-size: 1.2rem;
    }
}
