body {
    font-family: "Poppins", sans-serif;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    scroll-behavior: smooth;
    overflow-x: hidden;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, #ff5722, #ff9800);
    border-radius: 10px;
}

/* NAVBAR */
.navbar {
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
    background: rgba(0, 0, 0, 0.8);
}

.navbar.scrolled {
    background: rgba(0, 0, 0, 0.95) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.navbar-toggler {
    border: none;
    background: linear-gradient(45deg, #ff5722, #ff9800);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.5%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='m4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* HERO */
.hero {
    height: 100vh;
    background:
        linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
        url("./bhadraj-temple.png") center/cover no-repeat;
    background-attachment: fixed;
    color: #fff;
    display: flex;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

.hero h1 {
    font-family: "Playfair Display", serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease-out;
}

.hero p {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    animation: fadeInUp 1s ease-out 0.3s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* BUTTON */
.btn-main {
    background: linear-gradient(45deg, #ff5722, #ff9800);
    color: #fff;
    padding: 12px 30px;
    border-radius: 50px;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 87, 34, 0.3);
}

.btn-main:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 25px rgba(255, 87, 34, 0.4);
    color: #fff;
}

/* SECTIONS */
.section-padding {
    padding: 80px 0;
}

.section-title {
    font-family: "Playfair Display", serif;
    font-weight: 700;
    font-size: clamp(2rem, 4vw, 2.6rem);
    position: relative;
    margin-bottom: 20px;
}

.section-title::after {
    content: "";
    width: 60px;
    height: 4px;
    background: linear-gradient(45deg, #ff5722, #ff9800);
    display: block;
    margin: 12px auto 0;
    border-radius: 5px;
}

/* VIDEO BOX */
.video-box {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.video-box img {
    width: 100%;
    transition: all 0.5s ease;
}

.video-box::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg,
            rgba(255, 87, 34, 0.3),
            rgba(255, 152, 0, 0.3));
    opacity: 0;
    transition: all 0.4s ease;
}

.video-box:hover::after {
    opacity: 1;
}

.video-box:hover img {
    transform: scale(1.1) rotate(1deg);
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: linear-gradient(45deg, #ff5722, #ff9800);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
    z-index: 2;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 87, 34, 0.3);
}

.video-box:hover .play-btn {
    transform: translate(-50%, -50%) scale(1.2);
    box-shadow: 0 6px 20px rgba(255, 87, 34, 0.5);
}

/* TESTIMONIAL */
.testimonial {
    background:
        linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
        url("./nainital.avif") center/cover no-repeat;
    color: #fff;
    padding: 100px 0;
}

/* FOOTER */
footer {
    background: linear-gradient(135deg, #111 0%, #222 100%);
    color: #ccc;
    padding: 40px 0;
    position: relative;
}

footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(45deg, #ff5722, #ff9800);
}

.video-thumbnail {
    cursor: pointer;
    transition: all 0.3s ease;
}

.play-button {
    background: rgba(0, 0, 0, 0.6);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: #fff;
    transition: all 0.3s ease;
}

.video-thumbnail:hover .play-button {
    background: #ff0000;
    transform: translate(-50%, -50%) scale(1.1);
}

.hero .lead {
    font-weight: 500;
    letter-spacing: 1px;
    color: #ff9800;
}

/* ABOUT */
#about {
    background: linear-gradient(135deg, #f7f7f7 0%, #ffffff 100%);
}

#about .section-title {
    color: #1c1f26;
}

.about-image img {
    width: 170px;
    height: 170px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #ffffff;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    transition: all 0.4s ease;
}

.about-image img:hover {
    transform: scale(1.05) rotate(5deg);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.about-text {
    max-width: 991px;
    margin: 0 auto 30px auto;
    font-size: 1.05rem;
    line-height: 1.8;
    color: #6b7280;
}

.about-features {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.about-features span {
    padding: 12px 30px;
    border-radius: 30px;
    background: linear-gradient(45deg, #fff, #ff9800);
    border: 2px solid #ff5722;
    font-size: 0.9rem;
    font-weight: 500;
    color: #1c1f26;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.about-features span:hover {
    background: linear-gradient(45deg, #ff5722, #ff9800);
    color: #ffffff;
    border-color: #ff5722;
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(255, 87, 34, 0.3);
}

#about .about-content {
    margin-top: 30px;
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    .hero {
        height: 90vh;
        text-align: left;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .navbar .navbar-brand {
        font-size: 1.2rem;
    }

    .header-button {
        padding: 8px 20px;
        font-size: 0.9rem;
    }

    .about-features {
        flex-direction: column;
        align-items: center;
    }

    .about-features span {
        width: 80%;
        justify-content: center;
    }

    .video-box {
        margin-bottom: 20px;
    }

    .section-padding {
        padding: 60px 0;
    }

    footer .row {
        text-align: center;
    }

    footer .col-sm-6 {
        margin-bottom: 20px;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 2rem;
    }

    .btn-main {
        padding: 10px 25px;
        font-size: 0.9rem;
    }

    .play-btn {
        width: 60px;
        height: 60px;
        font-size: 20px;
    }

    .about-image img {
        width: 140px;
        height: 140px;
    }
}

/* Parallax effect for hero */
@media (min-width: 769px) {
    .hero {
        background-attachment: fixed;
    }
}