/* General Styles */
/* Prevent Horizontal Scrolling */
html,
body {
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    width: 100%;
    font-family: 'Open Sans', sans-serif;
    scroll-behavior: smooth;
}

/* Anchor Tag */
a {
    color: #f9f9f9;
    text-decoration: none;
}

/* Ensure all elements respect screen width */
* {
    box-sizing: border-box;
    max-width: 100%;
}

/* Banner Section */
.banner {
    position: relative;
    width: 100%;
    height: 100vh;
    background-image: url('img/Pre\ Wedding\ Shoot\ In\ Kanpur.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 1;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1);
    /* Adjust for darkness */
}

.banner img {
    width: 100%;
    height: auto;
}

.banner h1 {
    font-size: 3em;
    margin: 0;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);
}

.banner p {
    font-size: 1.5em;
    margin: 10px 0;
    text-shadow: 1px 1px 8px rgba(0, 0, 0, 0.7);
}

/* Navbar Section */
.nav-container {
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 1000;
    transition: opacity 0.3s ease-in-out;
}

/* Logo */
.logo {
    font-size: 2em;
    font-weight: bold;
    color: white;
    text-decoration: none;
}

/* Navigation Links */
.nav-links {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.nav-links li {
    margin: 0 15px;
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-size: 1.2em;
}

.nav-links a:hover {
    color: #ff6347;
}

/* Hamburger Menu (for mobile) */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger div {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 5px 0;
}

/* Toggle Button */
.toggle-btn {
    position: fixed;
    top: 20px;
    left: 20px;
    padding: 10px 20px;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    cursor: pointer;
    z-index: 1100;
    border-radius: 5px;
    font-size: 1em;
}

.toggle-btn:hover {
    background-color: rgba(0, 0, 0, 0.9);
}

/* About Us Section */
.about-us {
    background: linear-gradient(to right, #243e45, #0072ff);
    color: white;
    padding: 20px 10px;
    text-align: center;
}

.about-us h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: bold;
}

.about-us p {
    font-size: 1.2em;
    line-height: 1.6;
    max-width: 1000px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.9);
    text-align: justify;
}

.about-us .button {
    display: inline-block;
    margin-top: 30px;
    padding: 12px 30px;
    background-color: #ff6347;
    color: white;
    font-size: 1.1em;
    border-radius: 30px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.about-us .button:hover {
    background-color: #e84e32;
}

/* Service */
.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 40px;
    max-width: 1200px;
    margin: auto;
}

.service {
    background: #fff;
    padding: 20px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

#services {
    font-size: 2.5em;
    margin-bottom: 20px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: bold;
    text-align: center;
}

.service h3 {
    margin: 0;
    font-size: 1.5em;
    transition: 0.3s;
}

.service .details {
    font-size: 0.8em;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 20px;
    transition: top 0.3s ease-in-out;
}

.service:hover .details {
    top: 0;
}

/* Gallery  */
.galerry-sec {
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(135deg, #1e1e1e, #3a3a3a);
    color: white;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    padding: 20px;
    max-width: 1200px;
}

.gallery img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
    loading: lazy;
}

.gallery img:hover {
    transform: scale(1.08);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.3);
}

.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    justify-content: center;
    align-items: center;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 15px;
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.6);
}

.lightbox.active {
    display: flex;
}

.close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 35px;
    color: white;
    cursor: pointer;
    transition: 0.3s ease;
}

.close:hover {
    color: #ff4757;
}

.prev,
.next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 30px;
    color: white;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    transition: 0.3s;
    border-radius: 5px;
}

.prev:hover,
.next:hover {
    background: rgba(255, 255, 255, 0.2);
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

/* General Styles */
.sec-testimonial {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
}

/* Testimonial Section */
.testimonial-section {
    padding: 60px 20px;
    text-align: center;
    background-color: #fff;
}

.testimonial-section h2 {
    font-size: 2.5em;
    color: #333;
    margin-bottom: 20px;
    font-weight: bold;
}

/* Swiper Container */
.swiper {
    width: 100%;
    max-width: 900px;
    margin: auto;
    padding-bottom: 40px;
}

.swiper-slide {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease-in-out;
}

.swiper-slide:hover {
    transform: scale(1.05);
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 1.5em;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin: auto;
    margin-bottom: 15px;
}

/* Different Colors for Avatars */
.avatar-1 {
    background-color: #FF5733;
}

.avatar-2 {
    background-color: #3498DB;
}

.avatar-3 {
    background-color: #2ECC71;
}

.testimonial-text {
    font-size: 1.2em;
    color: #555;
    margin-bottom: 15px;
    line-height: 1.5;
}

.testimonial-author {
    font-weight: bold;
    font-size: 1.1em;
    color: #333;
    margin-top: 10px;
}

.testimonial-role {
    font-size: 0.9em;
    color: #777;
}

/*Footer Section*/
/* Footer Link Styles */
.footer-link {
    color: #bbb;
    transition: color 0.3s;
}

.footer-link:hover {
    color: #fff;
}

/* Input Field */
.footer-input {
    width: 100%;
    padding: 10px;
    border-radius: 5px;
    border: none;
    outline: none;
    margin-bottom: 8px;
}

/* Subscribe Button */
.footer-button {
    background: #007bff;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    transition: 0.3s;
}

.footer-button:hover {
    background: #0056b3;
}

/* Social Media Icons */
.social-icon {
    font-size: 1.5rem;
    color: #bbb;
    transition: 0.3s;
}

.social-icon:hover {
    color: #fff;
}

/* Responsive Styles */

/* Hide the nav-links by default on smaller screens */
/* Mobile Navigation */
@media screen and (max-width: 768px) {
    .nav-links {
        display: none;
        width: 100%;
        text-align: center;
        flex-direction: column;
        background-color: rgba(0, 0, 0, 0.9);
        position: fixed;
        top: 60px;
        left: 0;
        padding: 10px 0;
        transition: all 0.3s ease-in-out;
        z-index: 1000;
    }

    /* Show menu when active */
    .nav-links.active {
        display: flex;
    }

    /* Hamburger menu */
    .hamburger {
        display: flex;
        flex-direction: column;
        cursor: pointer;
        position: absolute;
        top: 15px;
        right: 20px;
        z-index: 1100;
    }

    .hamburger div {
        width: 30px;
        height: 4px;
        background-color: white;
        margin: 5px 0;
        transition: all 0.3s ease-in-out;
    }

    /* Make sure menu items are properly aligned */
    .nav-links li {
        margin: 15px 0;
    }

    /* Banner Section */
    .banner h1 {
        font-size: 2em;
        text-align: center;
    }

    .banner p {
        font-size: 1.2em;
        padding: 0 15px;
        text-align: center;
    }

    /* About Us Section */
    .about-us h2 {
        font-size: 2em;
        text-align: center;
    }

    .about-us p {
        font-size: 1.3em;
        padding: 0 10px;
        text-align: justify;
    }

    .about-us .button {
        padding: 10px 25px;
        font-size: 1em;
        display: block;
        margin: 15px auto;
        text-align: center;
    }

    /* Services Section */
    .services-container {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px;
    }

    /* Ensure no unwanted scrolling */
    body {
        width: 100%;
        overflow-x: hidden;
    }

    .gallery {
        grid-template-columns: 1fr;
    }

    /* Testimonial */
    .testimonial-section h2 {
        font-size: 2em;
    }

    .swiper-slide {
        padding: 10px;
    }

    .testimonial-avatar {
        width: 50px;
        height: 50px;
        font-size: 1.2em;
    }
}