/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Playfair Display', serif;
}


#splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #dacad7; /* Background color */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1000; /* Ensure it is above all other content */
}

.splash-logo {
    width: 250px; /* Adjust the size as needed */
    animation: fadeOut 1s ease-in-out forwards;
    animation-delay: 3s; /* Delay before fade out */
}


        .cover-background {
            background: url("/ronit/Wedding-Invite/img/InShot_20250127_233751646.mp4") center center / cover no-repeat;
        }
        .image-1 {
            background: url("https://s3.ap-southeast-1.amazonaws.com/cdn.kadio.id/upload/invitation/1649774033_bg1.jpeg") center;
            background-size: cover;
        }

        .image-2 {
            background: url("https://s3.ap-southeast-1.amazonaws.com/cdn.kadio.id/upload/invitation/1649774033_bg2.jpg") center;
            background-size: cover;
        }

        .image-3 {
            background: url("https://s3.ap-southeast-1.amazonaws.com/cdn.kadio.id/upload/invitation/1649774033_bg3.jpg") center;
            background-size: cover;
        }
        #background-video {
    position: fixed;
    right: 0;
    bottom: 0;
    min-width: 100%;
    min-height: 100%;
    z-index: -1;

    
        @media only screen and (max-width: 768px) {
    #background-video {
        object-fit: cover;
        width: 100%;
        height: 100%;
    }
}
}



/* Top Bar */
.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    padding: 10px 50px;
    font-size: 14px;
}

.location, .contact-info {
    color: #333;
}

.social-icons i {
    margin: 0 5px;
    color: #333;
    cursor: pointer;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    padding: 15px 50px;
    position: relative;
}

.logo {
    font-size: 24px;
    font-weight: bold;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    font-size: 30px;
    cursor: pointer;
}

/* Navigation Links */
.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin: 0 15px;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-size: 16px;
}

.auth-links a {
    text-decoration: none;
    color: #333;
    margin: 0 5px;
}

/* Hero Section */
.hero {
    background: url('img/sun.jpeg') no-repeat center center/cover;
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #333;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.5);
    top: 0;
    left: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 20px;
}

.hero h1 {
    font-size: 36px;
    margin-bottom: 20px;
}

.enquire-btn {
    background: #c89b52;
    color: #fff;
    padding: 12px 25px;
    border: none;
    font-size: 18px;
    cursor: pointer;
    transition: 0.3s;
}

.enquire-btn:hover {
    background: #b38744;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .top-bar {
        flex-direction: column;
        text-align: center;
    }
    .social-icons {
        margin-top: 5px;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        right: 0;
        width: 100%;
        background: white;
        text-align: center;
    }
    .nav-links.active {
        display: flex;
    }
    .nav-links li {
        margin: 15px 0;
    }
    .hero h1 {
        font-size: 28px;
    }
    .enquire-btn {
        font-size: 16px;
        padding: 10px 20px;
    }
}

@media (max-width: 480px) {
    .top-bar {
        padding: 10px;
        font-size: 12px;
    }
    .hero h1 {
        font-size: 24px;
    }
    .enquire-btn {
        font-size: 14px;
        padding: 8px 15px;
    }
}



/* Service Section */
.service-section {
    
    text-align: center;
    padding: 50px 20px;
    background: url('img/sun.jpeg') no-repeat center center/cover;
    position: relative;
}

.service-section h2 {
    font-size: 36px;
    font-weight: bold;
    color: #333;
    margin-bottom: 50px;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.service-section h2::after {
    content: '';
    width: 50px;
    height: 4px;
    background: #c89b52;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}


/* Service Cards */
.service-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Individual Service Card */
.service-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    padding: 20px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(20px);
    opacity: 0;
    animation: fadeInUp 0.7s ease-out forwards;
    transition: transform 0.3s ease-in-out;
}

.service-card:nth-child(1) { animation-delay: 0.2s; }
.service-card:nth-child(2) { animation-delay: 0.4s; }
.service-card:nth-child(3) { animation-delay: 0.6s; }
.service-card:nth-child(4) { animation-delay: 0.8s; }

/* Consistent Image Sizing */
.service-card img {
    width: 100%;
    height: 220px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease-in-out;
}

.service-card:hover img {
    transform: scale(1.05);
}

/* Text Styling */
.service-card h3 {
    font-size: 20px;
    margin: 15px 0;
    color: #222;
}

.service-card p {
    font-size: 14px;
    color: #666;
    padding: 0 10px;
}

/* Button Styling */
.service-btn {
    background: #c89b52;
    color: white;
    padding: 10px 20px;
    border: none;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 5px;
    margin-top: 10px;
}

.service-btn:hover {
    background: #b38744;
    transform: scale(1.1);
}

/* Fade-in Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .service-card img {
        height: 180px; /* Adjust height for smaller screens */
    }
}

@media (max-width: 480px) {
    .service-container {
        grid-template-columns: 1fr;
    }
    .service-card img {
        height: 160px; /* Adjust height for mobile */
    }
}


/* Gallery Section */
.gallery-section {
    padding: 80px 20px;
    text-align: center;
}

.gallery-section h2 {
    font-size: 36px;
    font-weight: bold;
    color: #333;
    margin-bottom: 50px;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.gallery-section h2::after {
    content: '';
    width: 50px;
    height: 4px;
    background: #c89b52;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

/* Gallery Grid */
.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: auto;
}

/* Gallery Item */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    transform: perspective(800px) rotateY(0) scale(0.9);
    opacity: 0;
    animation: fadeInUp 1s ease-out forwards;
    transition: transform 0.5s ease-in-out;
}

.gallery-item:hover {
    transform: perspective(800px) rotateY(15deg) scale(1.05);
}

/* Image Styling */
.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.5s ease-in-out;
}

.gallery-item:hover img {
    transform: scale(1.1);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* Fade-in Scroll Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    z-index: 999;
}

.lightbox img {
    width: 80%;
    max-width: 800px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Close Lightbox */
.lightbox:target {
    display: flex;
}

.close-lightbox {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 30px;
    color: white;
    text-decoration: none;
}



/* Testimonials Section */
.testimonial-section {
    text-align: center;
    padding: 80px 20px;
    /* background: rgba(245, 245, 245, 0.8); */
    background: url('img/sun.jpeg') no-repeat center center/cover;
}

h2 {
    font-size: 36px;
    font-weight: bold;
    color: #333;
}

/* Testimonial Section */
.testimonial-section {
    background: url('your-background-image.jpg') no-repeat center center/cover;
    padding: 40px;
    text-align: center;
    color: #333;
    position: relative;
}

.testimonial-section h2 {
    font-size: 36px;
    font-weight: bold;
    color: #333;
    margin-bottom: 50px;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.testimonial-section h2::after {
    content: '';
    width: 50px;
    height: 4px;
    background: #c89b52;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}


.testimonial-box {
    background: rgba(255, 255, 255, 0.9);
    padding: 20px;
    justify-content: center;
    text-align: center;
    max-width: 900px;
   
    margin: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.5s ease-in-out;
}
.testimonial-box:hover {
    transform: rotateY(10deg);
}
.testimonial-text {
    font-size: 18px;
    font-style: italic;
    color: #555;
}
.testimonial-author {
    margin-top: 15px;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
}
.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 10px;
}

/* Feedback Form */
.feedback-section {
    padding: 40px;
    background: white;
    text-align: center;
}
.feedback-box {
    max-width: 500px;
    margin: auto;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
}
.feedback-box input, .feedback-box textarea {
    width: 100%;
    margin-bottom: 10px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}
.feedback-box button {
    background: #ff9800;
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    width: 100%;
    border-radius: 5px;
}
.feedback-box button:hover {
    background: #e68900;
}