/* ===== WEDDING INVITATION MAIN STYLES ===== */

/* Font Imports */
@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400;500;600;700&family=Playfair+Display:wght@400;500;600;700&family=Poppins:wght@300;400;500;600&display=swap');

/* Base Styles */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    line-height: 1.4;
}

/* Typography */
.wedding-title {
    font-family: 'Dancing Script', cursive;
}

.wedding-heading {
    font-family: 'Playfair Display', serif;
}

/* Font Size Responsive */
@media (min-width: 500px) {
    .font1 {
        font-size: 4vw;
    }
}

/* Cover Styles */
.cover {
    position: absolute;
    top: 50%;
    left: 0px;
    right: 0px;
}

/* Mask Container */
.mask-container {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    left: 0px;
    right: 0px;
}

.mask-container img {
    width: 160px;
    object-fit: cover;
    mask-size: cover;
    mask-position: center;
    mask-repeat: no-repeat;
    transition: opacity 1s ease-in-out;
}

/* Animations */
.animated-element {
    opacity: 0;
    animation: fadeInOut 10s ease-in-out 2s infinite;
}

@keyframes fadeInOut {
    0% { opacity: 0; }
    20% { opacity: 1; }
    40% { opacity: 1; }
    60% { opacity: 1; }
    80% { opacity: 1; }
    100% { opacity: 0; }
}

.loading_arrow {
    -webkit-animation: rotation 1s infinite linear;
    -moz-animation: rotation 1s infinite linear;
    -o-animation: rotation 1s infinite linear;
    animation: rotation 1s infinite linear;
}

@-webkit-keyframes rotation {
    from { -webkit-transform: rotate(0deg); }
    to { -webkit-transform: rotate(359deg); }
}

/* Effects */
.glass-effect {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.hover-effect {
    transition: all 0.3s ease;
}

.hover-effect:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.gradient-text {
    background: linear-gradient(45deg, #8B4513, #2C5530);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Form Elements */
label {
    margin-bottom: 5px;
    display: inline-block;
}

/* Responsive Design */
@media (max-width: 768px) {
    .wedding-title {
        font-size: 2.5rem;
    }

    .wedding-heading {
        font-size: 1.8rem;
    }

    .container-fluid {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
}

@media (max-width: 576px) {
    .wedding-title {
        font-size: 2rem ;
    }

    .wedding-heading {
        font-size: 1.5rem ;
    }
}

.box_coundown{
    color:#333;
    padding:8px 0px 12px 0px;
    background: rgba(255, 255, 255, 0.7); 
    backdrop-filter: blur(0px); 
    border-radius: 7px; 
    box-shadow: rgb(0, 0, 0) 0px 0px 2px outset;
}

/* Gallery fade slider container fallback to prevent collapse */
.content-slider-fade {
    min-height: 100px;
}

/* Center the fade slider container itself */
#content-slider-fade {
    margin: 0 auto !important;
    display: block;
}

/* Center images inside fade slider */
.content-slider-fade .lslide {
    display: flex;
    justify-content: center;
    align-items: center;
}

.content-slider-fade .lslide img {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    height: auto;
}
