/* ========================================
   SOLAR COMMUNITY TEMPLATE - MAIN CSS
   ======================================== */

/* Color Palette - 5 Primary Colors */
:root {
    --primary-color: #2B7A0B;      /* Forest Green */
    --secondary-color: #FFB830;     /* Solar Orange */
    --accent-color: #1E5631;       /* Dark Forest */
    --highlight-color: #87CEEB;     /* Sky Blue */
    --complement-color: #F0F8E8;    /* Light Green */
    
    /* Light/Dark Shades */
    --primary-light: #4CAF50;
    --primary-dark: #1B5E20;
    --secondary-light: #FFC947;
    --secondary-dark: #FF8F00;
    --accent-light: #2E7D32;
    --accent-dark: #0D2818;
    --highlight-light: #B3E5FC;
    --highlight-dark: #0277BD;
    --complement-light: #F8FFF4;
    --complement-dark: #E8F5E8;
    
    /* Text Colors */
    --text-primary: #333333;
    --text-secondary: #666666;
    --text-light: #ffffff;
    --text-muted: #999999;
    
    /* Conservative Font Sizes */
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-h6: 1rem;
    --font-size-h5: 1.125rem;
    --font-size-h4: 1.25rem;
    --font-size-h3: 1.375rem;
    --font-size-h2: 1.5rem;
    --font-size-h1: 1.75rem;
    
    /* Spacing */
    --section-padding: 5rem 0;
    --container-padding: 1rem;
}

/* Typography */
body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--text-primary);
    font-weight: 400;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: var(--font-size-h1); }
h2 { font-size: var(--font-size-h2); }
h3 { font-size: var(--font-size-h3); }
h4 { font-size: var(--font-size-h4); }
h5 { font-size: var(--font-size-h5); }
h6 { font-size: var(--font-size-h6); }

/* Conservative navbar-brand sizing */
.navbar-brand {
    font-size: var(--font-size-lg) !important;
    font-weight: 700;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Respect prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Header/Navigation */
.navbar {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    padding: 0.5rem 0;
}

.navbar-brand {
    color: var(--text-light);
    font-weight: 700;
    text-decoration: none;
}

.navbar-nav .nav-link {
    color: var(--text-light);
    font-weight: 500;
    margin: 0 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
    background: rgba(255,255,255,0.1);
    color: var(--secondary-color);
}

.navbar-toggler {
    border: none;
    color: var(--text-light);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--complement-color), var(--highlight-light));
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/hero-solar-panels.webp') center/cover;
    opacity: 0.1;
    z-index: -1;
}

.hero-section h1 {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 1rem;
    padding-top: 150px;
}

.hero-section .subtitle {
    color: var(--secondary-color);
    font-size: var(--font-size-lg);
    font-weight: 600;
    margin-bottom: 1rem;
}

.hero-section .description {
    color: var(--text-secondary);
    font-size: var(--font-size-base);
    margin-bottom: 2rem;
}

/* Feature Cards */
.feature-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.feature-card i {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.feature-card h4 {
    color: var(--accent-color);
    margin-bottom: 1rem;
}

/* Service Cards */
.service-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.service-card .card-img-top {
    height: 200px;
    object-fit: cover;
    width: 100%;
}

.service-card .card-body {
    padding: 1.5rem;
}

.service-card h5 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.service-card ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.service-card ul li {
    padding: 0.25rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.service-card ul li:before {
    content: '✓';
    color: var(--secondary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.service-card .price {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--secondary-color);
    text-align: center;
    background: var(--complement-color);
    padding: 0.5rem;
    border-radius: 10px;
    margin-top: 1rem;
}

/* Price Plan Cards */
.price-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
    height: 100%;
}

.price-card.featured {
    border: 3px solid var(--secondary-color);
    transform: scale(1.05);
}

.price-card:hover {
    transform: translateY(-10px);
}

.price-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.price-card h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.price-card ul {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.price-card ul li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.price-card ul li:before {
    content: '✓';
    color: var(--secondary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.price-card .price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary-color);
    text-align: center;
    margin-top: 1rem;
}

/* Team Members */
.team-member img {
    width: 120px;
    height: 120px;
    object-fit: cover;
}

.team-member h5 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.team-member p {
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
}

/* Review Cards */
.review-card {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    height: 100%;
    text-align: center;
}

.review-card p {
    font-style: italic;
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.review-card strong {
    color: var(--primary-color);
}

/* Case Study Cards */
.case-study-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.case-study-card:hover {
    transform: translateY(-5px);
}

.case-study-card .card-img-top {
    height: 200px;
    object-fit: cover;
}

.case-study-card h5 {
    color: var(--primary-color);
}

/* Process Steps */
.process-step {
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-xl);
    font-weight: 700;
    margin: 0 auto 1rem;
}

.process-step h5 {
    color: var(--accent-color);
}

/* Timeline Items */
.timeline-item {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
    height: 100%;
}

.timeline-item h5 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Career Cards */
.career-card {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.career-card:hover {
    transform: translateY(-5px);
}

.career-card h5 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.career-card span {
    background: var(--secondary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: var(--font-size-sm);
    font-weight: 500;
}

/* Info Items */
.info-item {
    text-align: center;
    padding: 1rem;
}

.info-item h5 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Blog Cards */
.blog-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-card .card-img-top {
    height: 200px;
    object-fit: cover;
}

.blog-card h5 {
    color: var(--primary-color);
}

.blog-card .btn {
    background: var(--secondary-color);
    border: none;
    border-radius: 25px;
    padding: 0.5rem 1.5rem;
}

.blog-card .btn:hover {
    background: var(--secondary-dark);
}

/* FAQ Items */
.faq-item {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.faq-item h5 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* Gallery */
#gallery img {
    transition: all 0.3s ease;
    border-radius: 10px;
}

#gallery img:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* Contact Form */
.contact-form {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.contact-form .form-control {
    border: 2px solid var(--complement-dark);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.contact-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(43, 122, 11, 0.25);
}

.contact-form .btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    border-radius: 25px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.contact-form .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.contact-info {
    background: var(--complement-color);
    border-radius: 15px;
    padding: 2rem;
}

.contact-info p {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.contact-info i {
    color: var(--primary-color);
    margin-right: 0.5rem;
    width: 20px;
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--accent-dark), var(--primary-dark));
    color: var(--text-light);
}

footer h5 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

footer a {
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.3s ease;
}

footer a:hover {
    color: var(--secondary-color);
}

footer hr {
    border-color: rgba(255,255,255,0.2);
}

/* Section Spacing */
section {
    padding: var(--section-padding);
}

.bg-light {
    background: linear-gradient(135deg, var(--complement-color), var(--complement-light)) !important;
}

/* Utilities */
.text-center { text-align: center; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }
.py-5 { padding: 5rem 0; }

/* Button Styles */
.btn {
    border-radius: 25px;
    padding: 0.5rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Image Responsive */
.img-fluid {
    max-width: 100%;
    height: auto;
}

/* Rounded Elements */
.rounded {
    border-radius: 0.375rem;
}

.rounded-circle {
    border-radius: 50%;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* Loading Animation */
.loading {
    position: relative;
    overflow: hidden;
}

.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent);
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Focus States for Accessibility */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .navbar,
    footer,
    #contacts,
    .btn {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    h1 { font-size: 18pt; }
    h2 { font-size: 16pt; }
    h3 { font-size: 14pt; }
} 


/* Team Social Links - Elegant Style */
.team-social-links {
    margin-top: 24px;
    padding: 18px 0;
}

.social-icons-grid {
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 17px;
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
    color: white;
}

.facebook-link {
    background: rgba(24, 119, 242, 0.9);
}

.facebook-link:hover {
    background: rgba(24, 119, 242, 1);
    box-shadow: 0 8px 30px rgba(24, 119, 242, 0.4);
}

.linkedin-link {
    background: rgba(10, 102, 194, 0.9);
}

.linkedin-link:hover {
    background: rgba(10, 102, 194, 1);
    box-shadow: 0 8px 30px rgba(10, 102, 194, 0.4);
}

.x-link {
    background: rgba(0, 0, 0, 0.9);
    position: relative;
}

.x-link::after {
    content: '𝕏';
    font-weight: bold;
    font-size: 19px;
    z-index: 2;
    position: relative;
}

.x-link:hover {
    background: rgba(0, 0, 0, 1);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 12px;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
        font-size: 15px;
    }
}
