* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    /* Ensure body takes full viewport height */
}

/* ! -----------------------------FOR ALL----------------------------------------------- */

nav,
section {
    width: 95vw;
    margin: 0 auto;
}

a {
    text-decoration: none;

    &:hover {
        color: #ffd900da;
    }
}

a {
    color: #2A2A72;
}

button {
    background-color: #2A2A72;
    color: #FFD700;
    font-size: 1rem;
    font-weight: bold;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    -o-border-radius: 5px;

    &:hover {
        background-color: #FFD700;
        color: #2A2A72;
    }
}

.video-container {
    width: 80%;
    max-width: 1000px;
    margin: auto;
}

video {
    width: 100%;
    height: auto;
    border-radius: 1rem;
}

/*!----------------------------------nav bar-------------------------------------------  */


nav {
    background-color: #B86B6A;
    display: flex;
    justify-content: space-around;
    text-align: center;
    align-items: center;
    font-size: large;
    font-weight: bold;
    padding: 1rem 0; 
    position: fixed; 
    top: 0;  
    left: 0;
    width: 100%; 
    z-index: 1000; 
}

body {
    padding-top: 70px; 
}
header {
    background-color: #2A2A72;
    color: #ffd900f1;
    width: 100%;
    padding: 1rem;
    text-align: center;
}

nav {
    background-color: #B86B6A;
    display: flex;
    justify-content: space-around;
    text-align: center;
    align-items: center;
    font-size: large;
    font-weight: bold;
    padding: 1rem 0;
}

/* ! -----------------------------FOR cover--------------------------------------------- */

section {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
}

.hero-section {
    background-color: #F4F1F1;
    color: #3B3A3A;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 1rem;

    & h1 {
        font-size: 2rem;
        margin: 1rem 0 0 0;
    }

    & p {
        font-size: 1rem;
        color: #040454;
    }
}

/* ! -----------------------------FOR slider--------------------------------------------- */

.slider {
    width: 80%;
    overflow: hidden;
    position: relative;
    border-radius: 1rem;
}

.slides {
    display: flex;
    -webkit-animation: slide 27s infinite;
    animation: slide 27s infinite;
}

.slide {
    min-width: 100%;
    transition: transform 0.5s ease-in-out;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@keyframes slide {
    0% {
        transform: translateX(0);
    }

    11.11% {
        transform: translateX(-100%);
    }

    22.22% {
        transform: translateX(-200%);
    }

    33.33% {
        transform: translateX(-300%);
    }

    44.44% {
        transform: translateX(-400%);
    }

    55.55% {
        transform: translateX(-500%);
    }

    66.66% {
        transform: translateX(-600%);
    }

    77.77% {
        transform: translateX(-700%);
    }

    88.88% {
        transform: translateX(-800%);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* ! -------------------------------------Section-2 -------------------------------------- */

.section-2,
.sagai,
.mehandi,
.haldi,
.wedding {
    background-color: #F4F1F1;
    color: #3B3A3A;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 0.5rem;

    & h1 {
        font-size: 2rem;
        margin: 1rem 0 0 0;
    }

    & p {
        font-size: 1.5rem;
        margin: 0.5rem;
    }
}

.line {
    display: inline-block;
    width: 100%;
    height: 2px;
    background-color: rgba(0, 0, 0, 0.251);
    margin: 1.5rem 10px;
    vertical-align: middle;
}

.img-RR {
    width: 80%;
    object-fit: cover;
    border-radius: 1.5rem;
}

/*!----------------------------------------Section-3------------------------------------- */

.sagai {
    & h1 {
        color: rgb(216, 61, 61);
    }

    & p {
        color: rgb(239, 80, 107);
    }
}

/*!-------------------------------------section 4 mehandi------------------------------------ */

.mehandi {
    & h1 {
        color: rgb(25, 113, 32);
    }

    & p {
        color: rgb(25, 113, 32);
    }
}

/*!-------------------------------------section 5 haldi------------------------------------ */

.haldi {
    & h1 {
        color: rgb(169, 169, 41);
    }

    & p {
        color: rgb(158, 158, 26);
    }
}

.wedding {
    & h1 {
        color: rgb(194, 71, 43);
    }

    & p {
        color: rgb(194, 71, 43);
    }
}

/*!----------------------------------footer-------------------------------- */

/* Footer Styling */
footer {
    background-color: #2A2A72;
    /* Dark Blue background */
    color: #ffd900f1;
    /* Yellow text */
    text-align: center;
    padding: 2rem;
    margin-top: 1rem;
    font-size: 1rem;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    /* Subtle shadow */
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    /* Align items at the top */
    flex-wrap: wrap;
    /* For responsive layout */
    max-width: 1000px;
    margin: 0 auto;
}

.footer-info {
    flex: 1;
    margin-right: 1rem;
    text-align: left;
    /* Align advertisement text to the left */
}

.advertisement-section {
    flex: 1;
    background-color: #ffd900f1;
    /* Yellow background for ad section */
    color: #2A2A72;
    /* Dark blue text */
    padding: 1rem;
    margin-top: 1rem;
    border-radius: 10px;
    /* Rounded corners for ad box */
    text-align: center;
}

.advertisement-section h4 {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.advertisement-section p {
    font-size: 1rem;
    margin-bottom: 1rem;
}

.ad-button {
    background-color: #2A2A72;
    color: #FFD700;
    font-size: 1rem;
    font-weight: bold;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.ad-button:hover {
    background-color: #FFD700;
    color: #2A2A72;
}

/* Footer Links Section with Social Media Icons */
.footer-links {
    margin-top: 1rem;
    flex: 1;
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    text-align: center;
    /* Align social links to the right */
    align-items: center;
    /* Vertically align social links and logo */
}

.footer-links a {
    color: #ffd900f1;
    text-decoration: none;
    font-weight: bold;
}

.footer-links a:hover {
    color: #fff;
    text-decoration: underline;
}

.footer-info p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0.5rem 0;
}

.footer-info p strong {
    font-size: 1rem;
    color: #ffd900;
}


/* ? --------------------------------------gallery.html---------------------------------------- */

.gallery-section {

    display: flex;
    text-align: center;
    margin-top: 1rem;

    & h1 {
        font-size: 2rem;
        margin: 1rem 0 0 0;
        color: #28cca6;
    }

    & p{
        font-size: 1.5rem;
        margin: 0.5rem;
        color: #7acc28;
    }

}

/* ?--------------------------------------contact form----------------------------------------- */

/* Contact Section */
.contact-section {
    text-align: center;
    padding: 2rem 0;
    background-color: #f4f4f4;
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 1rem;
}

/* Contact Form */
form {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    width: 100%;
}

.input-group {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 0.5rem;
    background: #fff;
}

.input-group i {
    margin-right: 10px;
    color: #2A2A72;
}

.input-group input,
.input-group textarea {
    width: 100%;
    border: none;
    outline: none;
    padding: 0.5rem;
    font-size: 1rem;
    background: transparent;
}

textarea {
    height: 100px;
    resize: none;
}

/* Submit Button */
button {
    width: 100%;
    background-color: #2A2A72;
    color: #FFD700;
    padding: 0.7rem;
    border: none;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    border-radius: 5px;
}

button:hover {
    background-color: #FFD700;
    color: #2A2A72;
}

/* Contact Info */
.contact-info {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    max-width: 350px;
    width: 100%;
    text-align: left;
}

.contact-info h3 {
    margin-bottom: 1rem;
    color: #2A2A72;
}

.contact-info p {
    margin: 0.5rem 0;
    font-size: 1rem;
    color: #444;
}

.contact-info i {
    color: #2A2A72;
    margin-right: 10px;
}

/* Social Links */
.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    text-decoration: none;
    color: #2A2A72;
    font-size: 1.5rem;
    transition: transform 0.3s ease-in-out;
}

.social-links a:hover {
    color: #FFD700;
    transform: scale(1.2);
}

/* Footer */
footer {
    background-color: #2A2A72;
    color: white;
    padding: 1rem;
    text-align: center;
    margin-top: 2rem;
}

/* ?-------------------------------------------wishes---------------------------------------------- */

/* Wishes Section */
.wishes-section {
    text-align: center;
    padding: 2rem 0;
    background-color: #f4f4f4;
}

.wishes-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 1rem;
}

/* Wishes Form */
form {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    width: 100%;
}

.input-group {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 0.5rem;
    background: #fff;
}

.input-group i {
    margin-right: 10px;
    color: #2A2A72;
}

.input-group input,
.input-group textarea {
    width: 100%;
    border: none;
    outline: none;
    padding: 0.5rem;
    font-size: 1rem;
    background: transparent;
}

textarea {
    height: 100px;
    resize: none;
}
/* ! ---------------------------for pop message--------------------------- */
/* Popup Styling */
.popup {
    display: none; /* Initially hidden */
    position: fixed;
    top: -100px; /* Start off-screen */
    left: 50%;
    transform: translateX(-50%);
    width: 350px;
    background: linear-gradient(135deg, #ff9a9e, #fad0c4); /* Gradient background */
    padding: 1.2rem;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
    border-radius: 12px;
    z-index: 1000;
    transition: top 0.5s ease-in-out, opacity 0.3s ease-in-out;
    opacity: 0.95;
}

/* Popup Content */
.popup-content {
    position: relative;
    font-size: 1rem;
    color: #2A2A72;
    font-weight: bold;
    letter-spacing: 0.5px;
}

/* Close Button */
.close-btn {
    position: absolute;
    top: 8px;
    right: 12px;
    font-size: 1.5rem;
    cursor: pointer;
    color: #fff;
    background: rgba(255, 0, 0, 0.7);
    padding: 4px 8px;
    border-radius: 50%;
    transition: 0.3s;
}

.close-btn:hover {
    background: rgba(255, 0, 0, 1);
}

/* Popup Box Shadow for Depth Effect */
.popup::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: -1;
    border-radius: 12px;
}

/* Add a small bounce effect when opening */
@keyframes bounceIn {
    0% { top: -100px; }
    50% { top: 25px; }
    100% { top: 20px; }
}
