/* 
 * Shared Sustainability Styles
 * Common styles used across sustainability and sustainability-impact pages
 */

/* Color Variables for Sustainability Theme */
:root {
    --primary-green: #2E8B57;
    --secondary-green: #90EE90;
    --accent-blue: #4682B4;
    --neutral-gray: #F5F5F7;
    --text-dark: #2C3E50;
    --text-light: #7F8C8D;
    --success-green: #28A745;
    --warning-orange: #FFA500;
}

/* Common Typography */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
}

/* Hero Section Base */
.hero-section {
    background: linear-gradient(135deg, var(--primary-green), var(--accent-blue));
    padding: 100px 0;
    color: white;
    position: relative;
    overflow: hidden;
}

/* Reduced padding on impact page */
.sustainability-impact .hero-section {
    padding: 60px 0;
}

/* Section Titles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 3rem;
}

/* Common Button Styles */
.btn-sustainable {
    background: var(--primary-green);
    border: none;
    padding: 15px 35px;
    border-radius: 25px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.btn-sustainable:hover {
    background: #236B47;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(46, 139, 87, 0.3);
}

/* Light Background Sections */
.bg-light {
    background-color: #fafafa;
}

/* Responsive Typography */
@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0;
    }
    
    .sustainability-impact .hero-section {
        padding: 40px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

/* Shared Layout Utilities */
.text-center {
    text-align: center;
}

.mb-3 {
    margin-bottom: 1rem;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

.mb-5 {
    margin-bottom: 3rem;
}

.mt-3 {
    margin-top: 1rem;
}

.mt-4 {
    margin-top: 1.5rem;
}

.mt-5 {
    margin-top: 3rem;
}

.py-4 {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.py-5 {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

/* Grid Utilities */
.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -0.75rem;
    margin-left: -0.75rem;
}

.col-12 {
    flex: 0 0 100%;
    max-width: 100%;
}

.col-lg-3 {
    flex: 0 0 25%;
    max-width: 25%;
}

.col-lg-4 {
    flex: 0 0 33.33333%;
    max-width: 33.33333%;
}

.col-lg-6 {
    flex: 0 0 50%;
    max-width: 50%;
}

.col-lg-8 {
    flex: 0 0 66.66667%;
    max-width: 66.66667%;
}

.col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
}

/* Form Elements */
.form-label {
    display: inline-block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-select {
    display: block;
    width: 100%;
    padding: 0.375rem 2.25rem 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right .75rem center;
    background-size: 16px 12px;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

/* Icon Utilities */
.fas, .far {
    font-weight: 900;
}

.fa-leaf::before {
    content: "\f06c";
}

.fa-route::before {
    content: "\f4d7";
}

.fa-gas-pump::before {
    content: "\f52f";
}

.fa-users::before {
    content: "\f0c0";
}

/* Text Utilities */
.text-success {
    color: var(--success-green) !important;
}

.text-primary {
    color: var(--primary-green) !important;
}

.text-secondary {
    color: var(--text-light) !important;
}

.text-muted {
    color: #6c757d !important;
}

.fw-bold {
    font-weight: 700 !important;
}

.lead {
    font-size: 1.25rem;
    font-weight: 300;
}