:root {
    --brand-blue: #1e90ff;
    --brand-cyan: #00ced1;
    --gradient: linear-gradient(135deg, #1e90ff 0%, #00ced1 100%);
}

body { font-family: 'Poppins', sans-serif; background-color: #fcfcfc; color: #333; }

.navbar-brand img { max-height: 50px; }
.nav-link { font-weight: 500; transition: 0.3s; }
.nav-link:hover, .nav-link.active { color: var(--brand-cyan) !important; }

.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7)), url('pictures/wondersofkorea.jpg');
    background-size: cover; background-position: center;
    height: 60vh; min-height: 450px;
    display: flex; align-items: center; color: white;
}

.hero-title { font-size: 3rem; font-weight: 700; text-shadow: 2px 2px 10px rgba(0,0,0,0.5); }

.img-fluid.rounded-4 {
    max-height: 500px; /* Prevents tall flyers from becoming too big */
    width: auto; object-fit: contain; display: block; margin: 0 auto;
}

.feature-box, .schedule-card, .review-card, .service-card {
    border: none; border-radius: 20px; transition: 0.4s; background: white; border: 1px solid #eee;
}

.feature-box:hover, .review-card:hover { transform: translateY(-8px); box-shadow: 0 15px 35px rgba(0,0,0,0.1); }

.text-cyan { color: var(--brand-cyan) !important; }
.about-header { background: var(--gradient); color: white; padding: 60px 0; }
.motto-box { border-left: 5px solid var(--brand-cyan); padding-left: 20px; font-style: italic; }

footer { border-top: 1px solid rgba(255,255,255,0.1); }
.map-container { height: 250px; border-radius: 15px; overflow: hidden; border: 1px solid #ddd; }

/* --- Gallery Specific Styles --- */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    height: 300px; /* Forces all boxes to be the same height */
    background-color: #eee;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Prevents stretching/clipping */
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Darkens the image so text is readable */
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    opacity: 0; /* Hidden by default */
    transition: opacity 0.3s ease;
    padding: 15px;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1; /* Shows only on hover */
}