/* --- THEME VARIABLES --- */
:root {
    --primary-brown: #5e4529;
    --accent-gold: #d4af37;
    --light-bg: #f8f9fa;
    --text-dark: #2d2d2d;
}

/* --- GLOBAL RESETS --- */
body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
}

/* --- NAVBAR --- */
.custom-nav {
    background: var(--primary-brown) !important;
    padding: 12px 0;
    border-bottom: 3px solid var(--accent-gold);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.navbar-brand {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-link {
    font-weight: 500;
    transition: 0.3s;
}

.nav-link:hover {
    color: var(--accent-gold) !important;
}

/* --- ACTIVE SLIDER (Ken Burns Animation) --- */
.carousel-item {
    height: 85vh;
    overflow: hidden;
    background: #000;
}

.carousel-item img {
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6);
    transition: transform 10s ease-in-out;
}

/* Zoom effect when slide is active */
.carousel-item.active img {
    transform: scale(1.2);
}

.overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.2);
}

/* Caption Animations */
.carousel-caption {
    bottom: 30%;
}

.carousel-caption h1 {
    font-size: 3.5rem;
    font-weight: 800;
    transform: translateY(30px);
    opacity: 0;
    transition: 0.8s ease-out 0.5s;
}

.carousel-caption p {
    font-size: 1.5rem;
    color: var(--accent-gold);
    transform: translateY(20px);
    opacity: 0;
    transition: 0.8s ease-out 0.8s;
}

.carousel-item.active .carousel-caption h1,
.carousel-item.active .carousel-caption p {
    transform: translateY(0);
    opacity: 1;
}

.btn-slider {
    background: var(--accent-gold);
    color: #fff;
    padding: 12px 35px;
    border-radius: 50px;
    text-decoration: none;
    display: inline-block;
    margin-top: 20px;
    font-weight: 600;
    transition: 0.3s;
}

.btn-slider:hover {
    background: white;
    color: var(--primary-brown);
}

/* --- SECTION STYLING --- */
.section { padding: 80px 0; }

.section-title {
    font-weight: 700;
    margin-bottom: 40px;
    color: var(--primary-brown);
}

.section-title::after {
    content: '';
    width: 60px;
    height: 4px;
    background: var(--accent-gold);
    display: block;
    margin: 10px auto;
}

.bg-custom-dark {
    background-color: var(--primary-brown) !important;
}

/* --- PROGRAM CARDS --- */
.glass-card {
    background: #fff;
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border-bottom: 5px solid var(--primary-brown);
    transition: 0.3s;
}

.glass-card:hover {
    transform: translateY(-10px);
    border-bottom-color: var(--accent-gold);
}

.glass-card i {
    font-size: 3rem;
    color: var(--primary-brown);
    display: block;
    margin-bottom: 15px;
}

/* --- GALLERY STYLES --- */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.gallery-img {
    height: 250px;
    width: 100%;
    object-fit: cover;
    transition: 0.5s ease;
}

.gallery-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(94, 69, 41, 0.85); /* Brown overlay */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.4s;
}

.gallery-overlay span {
    color: white;
    font-weight: 600;
    border: 1px solid white;
    padding: 5px 15px;
}

.gallery-item:hover .gallery-img { transform: scale(1.1); }
.gallery-item:hover .gallery-overlay { opacity: 1; }

/* --- FOOTER --- */
footer {
    background: #1a120b;
}