/* Styles specific to the About page (moved from styles.css)
   Only include selectors used on about.php: about page layout, stats, values and locations map
*/

.about-page {
    padding: 80px 20px;
    background: white;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: stretch; /* ensure columns match height */
    margin-bottom: 5rem;
}

.about-text-section h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.about-text-section p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-size: 1.05rem;
}

.about-image-section {
    display: block;
    height: 100%;
}
.about-image-section img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    display: block;
}

.stats-section {
    background: var(--light-color);
    padding: 4rem 2rem;
    border-radius: var(--border-radius);
    margin-bottom: 4rem;
    text-align: center;
}

.stats-section h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 3rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat-box {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--accent-color);
}

.stat-box h3 {
    color: var(--accent-color);
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.stat-box p {
    color: var(--text-light);
    margin: 0;
}

.values-section {
    margin-top: 3rem;
}

/* ===== LOCATIONS MAP ===== */
.locations-map-section {
    margin-top: 4rem;
    padding: 3rem 2rem;
    background: var(--light-alt);
    border-radius: var(--border-radius);
    border: 1px solid rgba(61, 64, 58, 0.08);
}

.locations-map-header {
    text-align: center;
    margin-bottom: 2rem;
}

.locations-map-header h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.locations-map-header p {
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.locations-map {
    width: 100%;
    height: 650px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.12);
}

.locations-map-note {
    text-align: center;
    margin-top: 1.25rem;
    font-size: 0.9rem;
    color: var(--muted-3);
}

.map-popup-city {
    margin-top: 0.35rem;
    color: var(--muted);
    font-size: 0.85rem;
}

.map-popup-link {
    margin-top: 0.5rem;
}

.map-popup-link a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
}

.map-popup-link a:hover {
    text-decoration: underline;
}

/* Custom map markers */
.custom-marker {
    background: transparent;
    border: none;
}

.marker-pin {
    width: 24px;
    height: 24px;
    border-radius: 50% 50% 50% 0;
    background: var(--accent-color);
    position: absolute;
    transform: rotate(-45deg);
    left: 50%;
    top: 50%;
    margin: -20px 0 0 -12px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
}

.marker-pin::after {
    content: '';
    width: 10px;
    height: 10px;
    margin: 7px 0 0 7px;
    background: white;
    position: absolute;
    border-radius: 50%;
}

.custom-marker:hover .marker-pin {
    background: var(--accent-dark);
}

.values-section h2 {
    font-size: 2rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 3rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.value-card {
    background: var(--light-color);
    padding: 2rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.value-card:hover {
    /* Neutral hover: keep original border color, no glow or lift */
    border-color: var(--border-color);
    box-shadow: none;
    transform: none;
}

.value-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.value-card h3 {
    color: var(--primary-color);
    margin: 0 0 1rem 0;
    font-size: 1.25rem;
    font-weight: 600;
}

.value-card p {
    color: var(--text-light);
    line-height: 1.7;
    margin: 0;
    font-size: 0.95rem;
}

/* Responsive tweaks for the About page */
@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-image-section img {
        width: 100%;
        border-radius: var(--border-radius);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    }

    .values-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .about-page {
        padding: 40px 16px;
    }

    .values-grid {
        gap: 1.25rem;
    }
}
