/* AnySmart Website - Solar Power Page CSS */

/* Import Google Fonts - matching home.html */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');

/* Root Variables - matching home.html */
:root {
    --primary-blue: #03a9f4;
    --light-gray: #e9e9e9;
    --dark-gray: #666666;
    --white: #ffffff;
    --shadow: rgba(0, 0, 0, 0.1);
    --shadow-hover: rgba(0, 0, 0, 0.15);
}

/* Solar Solutions Section */
.solar-solutions-section {
    background: var(--white);
    padding: 4rem 2rem;
    font-family: 'Roboto', sans-serif;
}

.solar-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.solar-main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 400;
    color: #000000;
    text-align: center;
    margin: 0 0 -1.8rem 0;
    letter-spacing: -0.5px;
}

.solar-subtitle {
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    font-weight: 400;
    color: var(--primary-blue);
    text-align: center;
    margin: 0 0 4rem 0;
    letter-spacing: 1px;
    text-transform: none;
    font-style: normal;
}

.solar-intro-text {
    font-size: clamp(1rem, 2vw, 1.1rem);
    font-weight: 300;
    color: #000000;
    text-align: center;
    max-width: 900px;
    line-height: 1.7;
    margin: 0;
}

.solar-images-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    width: 100%;
    margin: 2rem 0;
}

.solar-image-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.06);
    position: relative;
}

.solar-image-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-blue);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
    z-index: 1;
}

.solar-image-card:hover::before {
    transform: scaleX(1);
}

.solar-image-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px var(--shadow-hover);
}

.solar-image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    aspect-ratio: 4 / 3;
}

.solar-cta-text {
    text-align: center;
    margin-top: 1rem;
}

.solar-cta-line1,
.solar-cta-line2,
.solar-cta-line3 {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    font-weight: 300;
    color: var(--dark-gray);
    line-height: 1.6;
    margin: 0.2rem 0;
}

.solar-cta-line2 {
    font-weight: 500;
    color: var(--primary-blue);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .solar-images-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .solar-solutions-section {
        padding: 3rem 1.5rem;
    }

    .solar-images-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .solar-main-title {
        font-size: 2rem;
    }

    .solar-intro-text {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .solar-solutions-section {
        padding: 2rem 1rem;
    }

    .solar-cta-line1,
    .solar-cta-line2,
    .solar-cta-line3 {
        font-size: 1rem;
    }
}

/* Hero section styles are imported from the component */

/* Main Factsheets Section */
.factsheets-section {
    background: #d3d3d3;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 60px 40px;
}

.factsheets-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.factsheets-title {
    font-size: 3rem;
    font-weight: 300;
    color: #000000;
    line-height: 1.2;
    letter-spacing: -0.5px;
    margin: 0;
}

.factsheets-container {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: stretch;
}

/* Left Column: Image */
.factsheets-image {
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.factsheets-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    transition: opacity 0.3s ease;
    aspect-ratio: 1 / 1;
}

/* Right Column: Content */
.factsheets-content {
    display: flex;
    flex-direction: column;
}

/* Factsheets List */
.factsheets-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.factsheet-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 30px;
    align-items: center;
    padding-bottom: 20px;
    border-bottom: 1px solid #666666;
    cursor: pointer;
    transition: all 0.3s ease;
}

.factsheet-row:hover {
    padding-left: 10px;
}

.factsheet-row.convenience-row {
    border-bottom: 2px solid #8b7340;
    padding-bottom: 0;
}

.fund-name {
    font-size: 1.1rem;
    color: #000000;
    font-weight: 400;
    line-height: 1.5;
}

.factsheet-btn {
    background: #000000;
    color: white;
    border: none;
    padding: 12px 50px;
    font-size: 0.95rem;
    font-weight: 400;
    cursor: pointer;
    transition: background 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    white-space: nowrap;
}

.factsheet-btn:hover {
    background: #333333;
}

.download-all-btn {
    background: #8b7340;
    padding: 14px 50px;
    font-size: 1rem;
}

.download-all-btn:hover {
    background: #a67c00;
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .factsheets-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .factsheets-image {
        min-height: 300px;
        max-height: 400px;
    }
    
    .factsheets-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .factsheets-section {
        padding: 40px 25px;
    }
    
    .factsheets-title {
        font-size: 1.8rem;
    }
    
    .factsheet-row {
        grid-template-columns: 1fr;
        gap: 15px;
        text-align: center;
    }
    
    .factsheet-btn {
        width: 100%;
    }
    
    .fund-name {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .factsheets-section {
        padding: 30px 15px;
    }
    
    .factsheets-title {
        font-size: 1.5rem;
    }
    
    .factsheets-image {
        min-height: 250px;
    }
    
    .factsheet-btn {
        padding: 12px 30px;
        font-size: 0.9rem;
    }
    
    .download-all-btn {
        padding: 14px 30px;
    }
}