/* ========================================
   Custom Styles - Modern Responsive Website
   ======================================== */

:root {
    --primary: #0d6efd;
    --primary-dark: #0b5ed7;
    --secondary: #6c757d;
    --dark: #212529;
    --light: #f8f9fa;
    --success: #198754;
    --font-family: 'Poppins', system-ui, -apple-system, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
}

.section-title {
    position: relative;
    margin-bottom: 2.5rem;
    text-align: center;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--primary);
    margin: 12px auto 0;
    border-radius: 2px;
}

/* Navbar */
.navbar {
    padding: 0.8rem 0;
    transition: all 0.3s ease;
}

.navbar-brand .site-logo {
    max-height: 48px;
    width: auto;
}

.nav-link {
    font-weight: 500;
    color: var(--dark) !important;
    padding: 0.5rem 1rem !important;
    transition: color 0.2s;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary) !important;
}

/* Hero Carousel */
.hero-carousel {
    position: relative;
}

.hero-carousel .carousel-item {
    height: 70vh;
    min-height: 400px;
    max-height: 800px;
}

.hero-carousel .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-carousel .carousel-caption {
    bottom: 20%;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 800px;
    background: rgba(0, 0, 0, 0.45);
    padding: 1.5rem 2rem;
    border-radius: 12px;
    backdrop-filter: blur(4px);
}

.hero-carousel .carousel-caption h2 {
    font-size: clamp(1.5rem, 4vw, 2.8rem);
    font-weight: 700;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.hero-carousel .carousel-caption p {
    font-size: clamp(0.95rem, 2vw, 1.2rem);
    text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}

.carousel-control-prev,
.carousel-control-next {
    width: 5%;
}

/* About Section */
.about-section {
    padding: 80px 0;
    background: #fff;
}

.about-img {
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    width: 100%;
    height: auto;
    object-fit: cover;
    max-height: 450px;
}

.about-content h2 {
    margin-bottom: 1.25rem;
}

.about-content p {
    color: #555;
    margin-bottom: 1rem;
}

/* YouTube Section */
.youtube-section {
    padding: 80px 0;
    background: var(--light);
}

.youtube-card {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.youtube-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

.youtube-card .ratio {
    border-radius: 12px 12px 0 0;
}

.youtube-card .card-body {
    padding: 1rem 1.25rem;
}

.youtube-card .card-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0;
}

/* Gallery Section */
.gallery-section {
    padding: 80px 0;
    background: #fff;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    cursor: pointer;
    aspect-ratio: 4 / 3;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.gallery-item .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: flex-end;
    padding: 1rem;
}

.gallery-item:hover .overlay {
    opacity: 1;
}

.gallery-item .overlay span {
    color: #fff;
    font-weight: 500;
}

/* Testimonials */
.testimonials-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f0f4ff 0%, #e8f0fe 100%);
}

.testimonial-card {
    background: #fff;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    height: 100%;
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.testimonial-card .stars {
    color: #ffc107;
    margin-bottom: 1rem;
}

.testimonial-card .quote {
    font-style: italic;
    color: #555;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.testimonial-card .author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-card .author img {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-card .author-info h6 {
    margin-bottom: 0;
    font-weight: 600;
}

.testimonial-card .author-info small {
    color: #777;
}

/* Footer */
.footer {
    background: #1a1a2e !important;
}

.footer a:hover {
    color: var(--primary) !important;
}

/* Utility */
.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    font-weight: 500;
    padding: 0.5rem 1.5rem;
    border-radius: 8px;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .hero-carousel .carousel-item {
        height: 55vh;
        min-height: 320px;
    }
    .hero-carousel .carousel-caption {
        bottom: 12%;
        padding: 1rem 1.25rem;
    }
    .about-section,
    .youtube-section,
    .gallery-section,
    .testimonials-section {
        padding: 60px 0;
    }
}

@media (max-width: 575.98px) {
    .hero-carousel .carousel-item {
        height: 45vh;
        min-height: 280px;
    }
    .navbar-brand .site-logo {
        max-height: 40px;
    }
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Loading placeholder for images */
img {
    max-width: 100%;
    height: auto;
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
    z-index: 9999;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
}
.whatsapp-float:hover {
    transform: scale(1.1);
    color: #fff;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
}

/* Advertisements / Posters Section */
.ads-section {
    padding: 60px 0;
    background: #fff;
}
.ad-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: block;
    text-decoration: none;
    color: inherit;
}
.ad-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}
.ad-card img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
}
.ad-card .ad-title {
    padding: 0.75rem 1rem;
    font-weight: 500;
    font-size: 0.95rem;
    background: #f8f9fa;
    margin: 0;
}

/* Map Section */
.map-section {
    padding: 0;
}
.map-section iframe {
    width: 100%;
    height: 400px;
    border: 0;
    display: block;
}
@media (max-width: 767px) {
    .map-section iframe {
        height: 280px;
    }
    .whatsapp-float {
        width: 52px;
        height: 52px;
        font-size: 28px;
        bottom: 18px;
        right: 18px;
    }
}
