/* History Page Styles */
/* Inherits core styles from Index.css */

/* --- Main Layout --- */
.history-page-section {
    padding: 20px 0 60px 0;
    background-color: var(--white);
    background-image: linear-gradient(to bottom, #ffffff, #faf8f5);
    min-height: 80vh;
}

/* --- Section Header --- */
.history-page-section .section-header h2 {
    color: var(--secondary-maroon);
    font-size: 2.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.history-page-section .section-header p {
    color: var(--gray);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* --- Content Grid Layout --- */
.history-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 2rem;
}

/* --- Image Section --- */
.history-image-wrapper {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.history-image-wrapper:not(.reveal) {
    transition: transform 0.3s ease;
}

.history-image-wrapper:hover {
    transform: translateY(-5px);
}

.history-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    min-height: 400px;
}

/* --- Text Section --- */
.history-text-wrapper {
    padding: 1rem;
}

.history-paragraph {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--dark-gray);
    margin-bottom: 1.5rem;
    text-align: justify;
}

.highlight-text {
    color: var(--secondary-maroon);
    font-weight: 700;
    font-size: 1.2rem;
}

/* --- Responsive Layout Adjustments --- */
@media (max-width: 992px) {
    .history-content-grid {
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .history-content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .history-image-wrapper {
        order: -1;
        margin-bottom: 1rem;
    }

    .history-text-wrapper {
        padding: 0;
    }

    .history-page-section .section-header h2 {
        font-size: 2rem;
    }

    .history-image-wrapper img {
        min-height: 250px;
    }
}
