/* ========================================
   HISTORIC PARKS PAGE SPECIFIC STYLES
   Path: css/5end/end_historicparks.css
   ======================================== */

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* --- TOP SECTION --- */
.hp-top-section {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
}

.hp-top-col-1 {
    flex: 0 0 30%;
    display: flex;
    justify-content: flex-end;
    padding-right: 20px;
}

.hp-top-col-2 {
    flex: 0 0 70%;
}

.hp-congrats-text {
    font-size: 1.6rem;
    color: #000066;
    font-weight: bold;
    text-align: left;
    margin: 0;
}

/* --- MIDDLE SECTION: Photos --- */
.hp-photo-grid {
    display: flex;
    justify-content: center;
    gap: 25px; /* 25px padding between columns */
    margin-bottom: 50px;
}

.hp-img {
    width: 320px; /* Display width per requirement */
    height: 240px;
    object-fit: cover;
    border: 1px solid #000066;
}

/* --- BOTTOM SECTION --- */
.hp-bottom-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

/* Junior Ranger Bar */
.hp-jr-ranger-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    width: 100%;
}

.hp-hat {
    width: 150px; /* Display width per requirement */
}

.hp-jr-text {
    font-size: 1.5rem;
    color: #000066;
    font-weight: bold;
    white-space: nowrap;
}

.hp-jr-text a {
    color: #000066;
    text-decoration: underline;
}

/* Visit Grid */
.hp-visit-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 5px; /* 15px padding between columns */
    max-width: 700px;
    width: 100%;
}

.hp-visit-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hp-visit-col img {
    height: 120px; /* Uniform height for grid row */
    width: auto;
    margin-bottom: 10px;
}

.hp-visit-col p {
    font-size: 1.4rem;
    font-weight: bold;
    color: #000066;
    margin: 0;
}

/* --- FOOTER NAVIGATION --- */
.navigation-3-arrows {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 45px;
    margin-top: 60px;
    padding-bottom: 40px;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 120px;
}

.nav-button img {
    width: 40px;
    height: 40px;
    display: block;
    margin: 0 auto;
}

.nav-label {
    margin-top: 8px;
    font-size: 0.9rem;
    font-weight: bold;
    color: #000000;
    line-height: 1.2;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .hp-top-section, .hp-photo-grid, .hp-jr-ranger-bar {
        flex-direction: column;
        text-align: center;
    }
    .hp-top-col-1, .hp-top-col-2 {
        flex: 1;
        justify-content: center;
    }
    .hp-congrats-text {
        text-align: center;
        padding-top: 15px;
    }
    .hp-visit-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}