/* === History Content Styles === */
.history-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px 60px;
}

.fade-element {
    opacity: 1;
    transform: translateY(20px);
}

.history-intro {
    text-align: center;
    font-size: 1.3rem;
    line-height: 1.8;
    margin-bottom: 50px;
    color: var(--text-light);
    border-bottom: 1px solid rgba(248, 245, 238, 0.1);
    padding-bottom: 40px;
}

.history-section {
    margin-bottom: 60px;
}

.section-title {
    font-size: 2rem;
    color: #e5b25d; /* Elegant gold accent */
    margin-bottom: 20px;
    font-weight: 500;
}

.section-text {
    font-family: 'Lato', sans-serif;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light)!important;
    margin-bottom: 20px;
}

/* Tripartite Layout Grid */
.tripartite-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 40px;
}

.layout-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(248, 245, 238, 0.1);
    padding: 30px;
    border-radius: 4px;
    transition: transform 0.3s ease, background 0.3s ease;
}

    .layout-card:hover {
        transform: translateY(-5px);
        background: rgba(255, 255, 255, 0.05);
    }

    .layout-card img {
        width: 100%;
        height: 200px;
        object-fit: cover;
        border-radius: 4px;
        margin-bottom: 20px;
        box-shadow: 0 4px 10px rgba(0,0,0,0.3);
        transition: transform 0.3s ease;
    }

    .layout-card:hover img {
        transform: scale(1.02);
    }

.layout-title {
    font-size: 1.5rem;
    color: var(--text-light);
    margin-bottom: 15px;
    border-bottom: 1px dashed rgba(248, 245, 238, 0.2);
    padding-bottom: 10px;
    display: inline-block;
}

.layout-text {
    /*font-family: 'Lato', sans-serif;*/
    font-size: 1.3rem;
    line-height: 1.6;
    color: var(--text-light);
}

.history-image-wrap {
    margin: 40px 0;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

    .history-image-wrap img {
        width: 100%;
        height: auto;
        display: block;
        transition: transform 0.5s ease;
    }

    .history-image-wrap:hover img {
        transform: scale(1.03);
    }


/* Responsive Settings */
@media (min-width: 768px) {


    .menu-toggle.active span:nth-child(1) {
        transform: translateY(12px) rotate(45deg);
    }

    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-12px) rotate(-45deg);
    }



    .tripartite-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
