﻿/* Responsive adjustments for tablets and smaller devices */
@media (max-width: 768px) {
    .addon-item {
        flex-direction: column;
        text-align: center;
    }

        .addon-item.reverse {
            flex-direction: column;
        }

    .addon-image img {
        width: 100%;
        max-width: 400px;
    }
}
@media (max-width: 768px) {
    .manpower-bg {
        padding: 20px 0;
    }
}
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


@media (max-width: 992px) {
    .hero-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .text-column, .image-column {
        flex: 1 1 100%;
        padding-right: 0;
    }

    .hero-section {
        padding: 6rem 1.5rem;
        height: auto;
    }

        .hero-section h2 {
            font-size: 1.8rem;
        }
}

/* Further adjustments for small screens (phones) */
@media (max-width: 576px) {
    .hero-section {
        padding: 4rem 1rem;
    }

        .hero-section h2 {
            font-size: 1.4rem;
        }
}


@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: scale(0.95);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}


.floral-divider,
.floral-divider2 {
    position: absolute;
    top: 5px;
    width: 800px; /* or however wide you want */
    z-index: 10; /* make sure it’s above other elements */
}

.floral-divider {
    left: -7px;
}

.floral-divider2 {
    right: 0px;
}

    .floral-divider img,
    .floral-divider2 img {
        width: 100%;
        animation: gentleFloat 3s ease-in-out infinite;
    }

.container1 {
    position: relative;
}

@keyframes gentleFloat {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}
/* Responsive adjustments for smaller devices */
@media (max-width: 768px) {
    .floral-divider,
    .floral-divider2 {
        width: 70vw; /* slightly larger on small screens */
        top: 80px;
    }
}

@media (max-width: 480px) {
    .floral-divider,
    .floral-divider2 {
        width: 70vw;
        top: 40px;
    }
}

    @keyframes shakeCrazy {
        0% { transform: translate(0, 0); }
        10% { transform: translate(-5px, -5px); }
        20% { transform: translate(5px, 5px); }
        30% { transform: translate(-5px, 5px); }
        40% { transform: translate(5px, -5px); }
        50% { transform: translate(-5px, -5px); }
        60% { transform: translate(5px, 5px); }
        70% { transform: translate(-5px, 5px); }
        80% { transform: translate(5px, -5px); }
        90% { transform: translate(-5px, -5px); }
        100% { transform: translate(0, 0); }
    }

    #yesBtn {
      
        cursor: pointer;
        transition: background-color 0.1s;
        animation: shakeCrazy 0.5s ease-in-out infinite;
        animation-play-state: paused;
    }

    #yesBtn.shaking {
        animation-play-state: running;
    }

/* Wedding music popup styles */
#PendrivePopup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.popup-box {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    max-width: 400px;
    width: 90%;
}

    .popup-box h2 {
        font-family: 'Great Vibes', cursive;
        font-size: 2.5rem;
        margin-bottom: 20px;
        color: #f1afb3;
    }

    .popup-box p {
        font-size: 1rem;
        margin-bottom: 30px;
    }

    .popup-box button {
        background-color: #f1afb3;
        border: none;
        padding: 12px 25px;
        margin: 5px;
        font-size: 16px;
        border-radius: 25px;
        color: white;
        cursor: pointer;
        transition: background 0.3s ease;
    }

        .popup-box button:hover {
            background-color: #d88b90;
        }
footer {
    position: relative;
    background-color: #fffafc;

    overflow: hidden;
    font-family: 'Segoe UI', sans-serif;
}

.footer-container {
    padding: 80px 20px 120px;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    z-index: 1;
}

.footer-logo h2 {
    color: #f96e74;
    margin-bottom: 8px;
}

.footer-logo p {
    color: #444;
}

.footer-column {
    min-width: 200px;
}

    .footer-column h4 {
        color: #0B0B45;
        margin-bottom: 12px;
    }

    .footer-column ul {
        list-style: none;
        padding: 0;
        color: #555;
    }

        .footer-column ul li {
            margin-bottom: 8px;
        }

            .footer-column ul li a {
                color: #555;
                text-decoration: none;
                transition: color 0.3s;
            }

                .footer-column ul li a:hover {
                    color: #f96e74;
                }

.social-icons a {
    margin-right: 12px;
    font-size: 20px;
    color: #f96e74;
    transition: color 0.3s;
}

    .social-icons a:hover {
        color: #0B0B45;
    }


.footer-bottom {
    text-align: center;
    margin-top: 50px;
    margin-top: 20px;
    color: #777;
    font-size: 14px;
}

/* Floating Flower Petal Animation */
.falling-flower {
    position: absolute;
    width: 40px;
    height: 40px;
    background-image: url('https://pngimg.com/uploads/flower/flower_PNG130.png');
    background-size: contain;
    background-repeat: no-repeat;
    animation: fall 10s linear infinite;
    opacity: 0.8;
    z-index: 0;
}

@keyframes fall {
    0% {
        transform: translateY(-100px) rotate(0deg);
        opacity: 0;
    }

    20% {
        opacity: 1;
    }

    100% {
        transform: translateY(800px) rotate(360deg);
        opacity: 0;
    }
}

/* Duplicate flowers with randomized positions and durations */
.flower1 {
    left: 10%;
    animation-delay: 0s;
}

.flower2 {
    left: 25%;
    animation-delay: 2s;
    animation-duration: 12s;
}

.flower3 {
    left: 40%;
    animation-delay: 4s;
    animation-duration: 14s;
}

.flower4 {
    left: 60%;
    animation-delay: 1s;
    animation-duration: 11s;
}

.flower5 {
    left: 75%;
    animation-delay: 3s;
    animation-duration: 13s;
}

.flower6 {
    left: 90%;
    animation-delay: 5s;
    animation-duration: 15s;
}
.contact-wrapper {
    display: flex;
    flex-wrap: wrap;
    max-width: 800px;
    margin: 2rem auto;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    overflow: hidden;
    font-family: 'DM Sans', sans-serif;
}

.slider-container {
    flex: 1 1 50%;
    min-height: 200px;
    position: relative;
    overflow: hidden;
}

.slider-images {
    display: flex;
    width: 60%;
    animation: slideImages 30s infinite ease-in-out;
}

    .slider-images img {
        width: 100%;
        flex-shrink: 0;
        object-fit: cover;
    }

@keyframes slideImages {
    20% {
        transform: translateX(-100%);
    }

    40% {
        transform: translateX(-200%);
    }

    60% {
        transform: translateX(-300%);
    }

    80% {
        transform: translateX(-400%);
    }

    100% {
        transform: translateX(-500%);
    }
}

.form-container {
    flex: 1 1 50%;
    background-color: #ffffff;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

    .form-container h3 {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
        color: #0B0B45;
    }

    .form-container input,
    .form-container textarea {
        width: 100%;
        padding: 10px;
        margin-bottom: 1rem;
        border: 1px solid #ccc;
        border-radius: 6px;
    }

    .form-container label {
        display: block;
        margin-bottom: 0.3rem;
        font-weight: 600;
    }

    .form-container button {
        background-color: #f96e74;
        color: #fff;
        padding: 12px 24px;
        border: none;
        border-radius: 6px;
        font-weight: 600;
        cursor: pointer;
    }

/* General Flexbox Styling */
.about-flex {
    display: flex;
    align-items: center; /* Center items vertically */
    justify-content: space-between; /* Space between text and image */
    margin-bottom: 2rem; /* Add space between sections */
}

.vision-flex, .mission-flex {
    display: flex;
    align-items: center; /* Center items vertically */
    justify-content: space-between; /* Space between text and image */
    margin-bottom: 0rem; /*Add space between sections */
}

.about-text, .vision-text, .mission-text {
    flex: 1; /* Allow text to take available space */
    padding: 1rem; /* Add padding for better spacing */
}

.about-image {
    flex: 1; /* Allow images to take available space */
    object-fit: cover; /* Ensure the image covers the container without distortion */
    width: 100%; /* Make images take full width of their flex container */
    height: auto; /* Maintain aspect ratio */
    max-height: 450px; /* Limit height to ensure images are not excessively tall */
}

.vision-image, .mission-image {
    flex: 1; /* Allow images to take available space */
    object-fit: cover; /* Ensure the image covers the container without distortion */
    width: 100%; /* Make images take full width of their flex container */
    height: auto; /* Maintain aspect ratio */
    max-height: 400px; /* Limit height to ensure images are not excessively tall */
}

/* Media Queries for Responsive Design */
@media (max-width: 768px) {
    .about-flex, .vision-flex, .mission-flex {
        flex-direction: column; /* Stack items vertically on small screens */
        text-align: center; /* Center text for mobile */
    }

    .about-text, .vision-text, .mission-text {
        padding: 0; /* Remove padding for mobile */
    }

    .about-image, .vision-image, .mission-image {
        margin: 1rem 0; /* Add margin between image and text */
        max-height: 300px; /* Adjust max height for smaller screens */
    }
}


/* Optional: Adjust map height for smaller screens */
@media (max-width: 768px) {
    #map-form-container {
        height: 100px; /* Smaller height for mobile devices */
    }
}


.contact-form {
    position: absolute; /* Allows the form to overlay on the map */
    top: 20px; /* Adjust vertical position */
    right: 80px; /* Adjust horizontal position */
    background: rgba(255, 255, 255, 0.9); /* White background with slight transparency */
    padding: 20px; /* Space around form elements */
    border-radius: 0px; /* Rounded corners */
    width: calc(100% - 40px); /* Full width minus padding */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2); /* Optional shadow for depth */

}

    .contact-form label {
        display: block; /* Ensures labels are on separate lines */
        margin-top: 10px; /* Spacing above labels */
    }

    .contact-form input,
    .contact-form textarea {
        width: 100%; /* Full width inputs */
        padding: 10px; /* Padding inside inputs */
        margin-top: 5px; /* Spacing above inputs */
        border: 1px solid #ccc; /* Border style */
        border-radius: 4px; /* Rounded corners */
    }

    .contact-form button {
        background-color: #002a5b; /* Button color */
        color: white; /* Text color */
        border: none; /* No border */
        padding: 10px 15px; /* Button padding */

        cursor: pointer; /* Pointer on hover */
        margin-top: 10px; /* Space above button */
        border-radius: 4px; /* Rounded corners */
    }


/* Main Styling */
.map-form-container {
    position: relative;
}

.responsive-map iframe {
    width: 100%;
    height: 400px;
}

.contact-form {
    position: absolute;
    top: 50px;
    right: 90px;
    background: white;
    padding: 30px;
    
    width: calc(35% - 40px);
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}

    .contact-form h3 {
        color: #0B0B45;
        font-weight: 600;
        margin-bottom: 20px;
    }

    .contact-form label {
        display: block;
        color: #444;
        font-size: 14px;
        margin-bottom: 5px;
    }

    .contact-form input,
    .contact-form textarea {
        width: 100%;
        padding: 10px;
        margin-bottom: 15px;
        border: 1px solid #ccc;
        border-radius: 4px;
    }

    .contact-form button {
        width: 100%;
        padding: 12px;
        background-color: #0B0B45;
        color: white;
        border: none;
        border-radius: 20px;
        font-size: 16px;
        cursor: pointer;
    }

/* Responsive Adjustments */
@media (max-width: 768px) {
    .contact-form {
        position: relative;
        width: 100%;
        max-width: 90%;
        margin: 20px auto;
        top: auto;
        right: auto;
    }

    .responsive-map iframe {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .contact-form {
        padding: 20px;
    }

    .responsive-map iframe {
        height: 250px;
    }

    .contact-form h3 {
        font-size: 18px;
    }

    .contact-form input,
    .contact-form textarea {
        padding: 8px;
    }

    .contact-form button {
        padding: 10px;
        font-size: 14px;
    }
    @keyframes vibrate {
        0% {
            transform: translateX(0);
        }

        25% {
            transform: translateX(-2px);
        }

        50% {
            transform: translateX(2px);
        }

        75% {
            transform: translateX(-2px);
        }

        100% {
            transform: translateX(0);
        }
    }
    @media (max-width: 768px) {
        .booking-container {
            flex-direction: column;
        }

        .left-section, .right-section {
            flex: 1 1 100%;
        }
    }
    }
