/* public_html/assets/css/style.css */

/* -------------------------------------------
   GLOBAL & FONT STYLES
---------------------------------------------- */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    background-color: #f4f7ff; /* Lighter, modern blue tint */
    line-height: 1.6;
    overflow-x: hidden;
}

/* Custom Color Palette */
:root {
    --bs-primary: #007bff; /* Vibrant Blue */
    --bs-secondary: #6c757d;
    --bs-dark: #212529;
    --bs-light-bg: #e9ecef;
}

/* Typography Enhancements */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--bs-dark);
    /* Subtle text shadow for a 3D effect */
    text-shadow: 0 1px 1px rgba(0,0,0,0.05); 
}

/* -------------------------------------------
   NAVIGATION & HEADER STYLES
---------------------------------------------- */
.navbar {
    background-color: var(--bs-dark) !important;
    border-bottom: 4px solid var(--bs-primary); /* Bold primary color line */
}
.navbar-brand {
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: 1px;
    transition: color 0.3s;
}
.navbar-brand:hover {
    color: white !important;
}
.nav-link {
    font-weight: 500;
    transition: all 0.3s ease;
}
.nav-link:hover {
    color: var(--bs-primary) !important;
    transform: translateY(-2px); /* Slight lift effect */
}


/* -------------------------------------------
   HERO SECTION / CAROUSEL
---------------------------------------------- */
#intro-carousel {
    min-height: 550px;
    background-color: var(--bs-dark);
}
.carousel-item img, .carousel-item video {
    height: 550px;
    object-fit: cover;
    opacity: 0.6; 
}
.carousel-caption {
    top: 50%;
    transform: translateY(-50%);
    bottom: auto;
    text-align: left;
    max-width: 80%;
    animation: fadeInDown 1s ease-out; /* Animation */
}
.carousel-caption h5 {
    font-size: 3.5rem;
    font-weight: 900;
    color: white;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.7); 
}

/* -------------------------------------------
   COMPONENT STYLES (Cards, Forms)
---------------------------------------------- */

/* Attractive Card Hover Effect for Gallery/Partners */
.card-hover {
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.4s;
    border: none;
    border-radius: 12px;
    overflow: hidden;
}
.card-hover:hover {
    transform: translateY(-8px); /* Deeper lift */
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

/* Form Container Shadow */
.card.shadow {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.08) !important;
}

/* Footer Styling */
footer {
    background-color: var(--bs-dark);
    color: white;
}
footer h5 {
    color: var(--bs-primary);
}
footer a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
}
footer a:hover {
    color: white;
}

/* Gallery Modal Override */
#mediaModal .modal-content {
    background-color: #1a1a1a;
    border-radius: 0;
}
#mediaModal .modal-body {
    padding: 20px;
}
#mediaModal .modal-footer {
    border-top: 1px solid #333;
}


/* -------------------------------------------
   RESPONSIVENESS (Mobile/Tablet Adjustments)
---------------------------------------------- */
@media (max-width: 768px) {
    .carousel-caption h5 {
        font-size: 2rem;
    }
    .carousel-caption {
        max-width: 95%;
        padding: 0 10px;
    }
    /* Ensure public menu items stack well */
    .navbar-collapse {
        background-color: var(--bs-dark);
        border-radius: 8px;
        margin-top: 5px;
    }
    .navbar-collapse .nav-item {
        border-bottom: 1px solid #333;
    }
}

/* Keyframe Animation for elements loading */
@keyframes fadeInDown {
    0% {
        opacity: 0;
        transform: translate3d(0, -20px, 0);
    }
    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}