/* ========== COLOR PALETTE ========== */
:root {
    --gold-light: #f5f1e8;
    --gold-main: #d4af37;
    --gold-dark: #9d8a2f;
    --text-dark: #2c2c2c;
    --text-light: #666666;
    --border-color: #e8e3d8;
}

/* ========== RESET & BASE STYLES ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
}

/* ========== HERO SECTION ========== */
.hero {
    background-color: #ffffff;
    padding: 80px 20px;
    min-height: 600px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
}

.hero .container {
    display: flex;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 300;
    letter-spacing: 2px;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    font-weight: 300;
    letter-spacing: 1px;
}

.hero-image {
    max-width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.08));
}

/* ========== ESSAYS SECTION ========== */
.essays-section {
    background: linear-gradient(135deg, var(--gold-light) 0%, #fefdfb 100%);
    padding: 100px 20px;
    min-height: 500px;
}

.col-5-columns {
    flex: 0 0 20%;
    padding-right: var(--bs-gutter-x, .5rem);
    padding-left: var(--bs-gutter-x, .5rem);
}

.essay-card {
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.essay-card:hover {
    box-shadow: 0 8px 24px rgba(212, 175, 55, 0.12);
    border-color: var(--gold-main);
    transform: translateY(-4px);
}

.essay-image-wrapper {
    width: 100%;
    height: 280px;
    overflow: hidden;
    background-color: #f9f7f2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.essay-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.essay-title {
    padding: 20px;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-align: center;
    color: var(--text-dark);
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ========== FOOTER ========== */
.footer {
    background-color: var(--gold-light);
    padding: 40px 20px;
    border-top: 1px solid var(--border-color);
    margin-top: 60px;
}

.footer-text {
    text-align: center;
    color: var(--text-dark);
    font-size: 1rem;
    margin: 0;
}

.footer-text a {
    color: var(--gold-dark);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.footer-text a:hover {
    color: var(--gold-main);
    text-decoration: underline;
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 1024px) {
    .col-5-columns {
        flex: 0 0 33.333%;
    }
}

@media (max-width: 768px) {
    .col-5-columns {
        flex: 0 0 50%;
    }

    .hero {
        padding: 60px 20px;
        min-height: auto;
    }

    .hero .row {
        flex-direction: column;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-image {
        max-height: 300px;
        margin-top: 30px;
    }

    .essays-section {
        padding: 60px 20px;
    }

    .essay-image-wrapper {
        height: 250px;
    }
}

@media (max-width: 576px) {
    .col-5-columns {
        flex: 0 0 100%;
    }

    .hero {
        padding: 40px 15px;
    }

    .hero-title {
        font-size: 2rem;
        letter-spacing: 1px;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .hero-image {
        max-height: 250px;
    }

    .essay-title {
        font-size: 0.85rem;
        padding: 15px;
    }

    .essay-image-wrapper {
        height: 220px;
    }
}
