/* ============================================
   Agrivoltaics Page Specific Styles
   ============================================ */

/* Hero Section */
.agrivoltaics-hero {
    min-height: 100vh;
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.9), rgba(33, 150, 243, 0.9)), 
                url('/energy/images/Agrivoltaics-background.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 120px 20px 80px;
    box-sizing: border-box;
}

.agrivoltaics-hero .container {
    max-width: 1000px;
}

.agrivoltaics-hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    line-height: 1.3;
}

.agrivoltaics-hero .hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 40px;
    opacity: 0.95;
    font-weight: 300;
}

/* Switch Buttons */
.switch-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
}

.switch-btn {
    padding: 12px 30px;
    border: 2px solid white;
    background: transparent;
    color: white;
    border-radius: 30px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.switch-btn:hover,
.switch-btn.active {
    background: white;
    color: #4CAF50;
}

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

.cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 40px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.cta-btn:not(.secondary) {
    background: white;
    color: #4CAF50;
}

.cta-btn:not(.secondary):hover {
    background: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

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

.cta-btn.secondary:hover {
    background: rgba(255,255,255,0.1);
}

.cta-btn.large {
    padding: 20px 50px;
    font-size: 1.2rem;
}

/* Statistics Section */
.stats-section-agri {
    background: linear-gradient(135deg, #4CAF50, #2196F3);
    padding: 60px 20px;
}

.stats-grid-agri {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.stat-item-agri {
    text-align: center;
    color: white;
}

.stat-item-agri h3 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.stat-item-agri p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Content Section */
.content-section {
    padding: 100px 20px;
}

.content-section:nth-child(even) {
    background: #f8f9fa;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Agrivoltaics Intro Section */
.agrivoltaics-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.intro-text h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333;
}

.intro-text p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
}

.intro-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Benefits List */
.benefits-list {
    margin-top: 30px;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.benefit-check {
    width: 24px;
    height: 24px;
    background: #4CAF50;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    margin-top: 2px;
    flex-shrink: 0;
}

.benefit-check i {
    color: white;
    font-size: 12px;
}

.benefit-item h4 {
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.benefit-item p {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* Services Section */
.services-section {
    background: #f8f9fa;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

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

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

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

.service-content {
    padding: 25px;
}

.service-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.service-content p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-features li {
    padding: 8px 0;
    color: #555;
    font-size: 0.9rem;
    border-bottom: 1px solid #eee;
    position: relative;
    padding-left: 20px;
}

.service-features li:last-child {
    border-bottom: none;
}

.service-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #4CAF50;
    font-weight: bold;
}

/* Strengths Section */
.strengths-section {
    background: white;
}

.strengths-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.strength-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    min-height: 350px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
}

.strength-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.1) 100%);
}

.strength-content {
    position: relative;
    z-index: 1;
    padding: 30px;
    color: white;
}

.strength-icon-wrapper {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.strength-icon-wrapper i {
    font-size: 1.5rem;
    color: white;
}

.strength-content h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.strength-content p {
    font-size: 0.95rem;
    line-height: 1.7;
    opacity: 0.9;
}

.strengths-cta {
    text-align: center;
}

/* Materials Section */
.materials-section {
    background: #f8f9fa;
}

.materials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.material-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.material-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

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

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

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

.material-content {
    padding: 25px;
}

.material-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.material-content > p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

/* Merit/Demerit Styles */
.merit-demerit {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.merit, .demerit {
    padding: 15px;
    border-radius: 10px;
}

.merit {
    background: #e8f5e9;
}

.demerit {
    background: #fff3e0;
}

.merit h4, .demerit h4 {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.merit h4 {
    color: #2e7d32;
}

.demerit h4 {
    color: #ef6c00;
}

.merit h4 i {
    color: #4CAF50;
}

.demerit h4 i {
    color: #ff9800;
}

.merit ul, .demerit ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.merit li, .demerit li {
    font-size: 0.8rem;
    color: #555;
    padding: 3px 0;
    line-height: 1.4;
}

/* Installation Section */
.installation-section {
    background: white;
}

.installation-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.installation-stat {
    text-align: center;
    padding: 30px;
    background: linear-gradient(135deg, #4CAF50, #2196F3);
    border-radius: 15px;
    color: white;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.stat-number span {
    font-size: 2rem;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

.installation-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 50px;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
}

.gallery-overlay h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.gallery-overlay p {
    font-size: 0.85rem;
    opacity: 0.9;
}

.installation-cta {
    text-align: center;
}

.installation-cta p {
    color: #666;
    margin-bottom: 20px;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #4CAF50, #2196F3);
    padding: 80px 20px;
    text-align: center;
    color: white;
}

.cta-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.95;
}

/* Contact Link Section */
.contact-link-section {
    padding: 100px 20px;
    background: #f8f9fa;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.contact-info-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.contact-info-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #4CAF50, #2196F3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.contact-info-icon i {
    font-size: 1.8rem;
    color: white;
}

.contact-info-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.contact-value {
    font-size: 1.2rem;
    font-weight: 600;
    color: #4CAF50;
    margin-bottom: 5px;
}

.contact-note {
    font-size: 0.9rem;
    color: #888;
}

.contact-form-link {
    text-align: center;
    background: white;
    padding: 50px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.contact-form-link h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.contact-form-link p {
    color: #666;
    margin-bottom: 30px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .agrivoltaics-hero h1 {
        font-size: 2.8rem;
    }
    
    .stats-grid-agri {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .agrivoltaics-intro {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .intro-image {
        order: -1;
    }
    
    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .strengths-grid {
        grid-template-columns: 1fr;
    }
    
    .materials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .installation-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .installation-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-info-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .agrivoltaics-hero {
        padding: 100px 20px 60px;
    }
    
    .agrivoltaics-hero h1 {
        font-size: 2rem;
    }
    
    .agrivoltaics-hero .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .switch-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .switch-btn {
        width: 100%;
        max-width: 250px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-btn {
        width: 100%;
        max-width: 300px;
    }
    
    .stats-grid-agri {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .stat-item-agri h3 {
        font-size: 2.5rem;
    }
    
    .content-section {
        padding: 60px 20px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 40px;
    }
    
    .service-grid,
    .materials-grid {
        grid-template-columns: 1fr;
    }
    
    .merit-demerit {
        grid-template-columns: 1fr;
    }
    
    .installation-stats {
        grid-template-columns: 1fr;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .installation-gallery {
        grid-template-columns: 1fr;
    }
    
    .cta-section h2 {
        font-size: 1.8rem;
    }
    
    .cta-section p {
        font-size: 1rem;
    }
    
    .contact-form-link {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .agrivoltaics-hero h1 {
        font-size: 1.6rem;
    }
    
    .stats-grid-agri {
        grid-template-columns: 1fr 1fr;
    }
    
    .stat-item-agri h3 {
        font-size: 2rem;
    }
    
    .stat-item-agri p {
        font-size: 0.9rem;
    }
}