* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Islamic Pattern Overlay */

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("https://www.transparenttextures.com/patterns/arabesque.png");
    opacity: 0.08;
    pointer-events: none;
    z-index: 0;
}

.calligraphy {
    font-size: 20px;
    font-family: "Amiri", serif;
    color: #d4af37;
    margin-bottom: 10px;
    opacity: 0.9;
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.6);
}

body {
    font-family: 'Poppins', sans-serif;
    background: radial-gradient(circle at top, #102526, #081516);
    color: #f5f5f5;
    overflow-x: hidden;
    letter-spacing: 0.5px;
}

.bismillah-box {
    text-align: center;
    margin-bottom: 40px;
}



.bismillah-translation {
    font-size: 13px;
    letter-spacing: 1px;
    opacity: 0.9;
    margin-top: 10px;
}

.divider {
    width: 180px;
    height: 2px;
    margin: 15px auto;

    background: linear-gradient(90deg,
            transparent,
            #d4af37,
            #fff2b2,
            #d4af37,
            transparent);

    border-radius: 5px;

    box-shadow: 0 0 10px rgba(212, 175, 55, 0.6);
}

.header {
    padding: 60px 30px 20px 30px;
    text-align: center;
    overflow: hidden;
    background: transparent;
}

.header p {
    font-family: "Scheherazade New", "Amiri", "Lateef", serif;
    font-size: 10px;
}

.bismillah {
    font-family: "Scheherazade New", "Amiri", "Lateef", serif;
    font-size: 20px;
    direction: rtl;
    text-align: center;
    background: linear-gradient(90deg, gold, rgb(253, 203, 2), gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}


#preloader {
    position: fixed;
    width: 100%;
    height: 100%;
    background: #5a0f0f;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    overflow: hidden;
}

.logo {
    font-family: 'Cinzel', serif;
    font-size: 3rem;
    color: gold;
    letter-spacing: 10px;
}

.urdu-logo {
    /* font-family: 'Noto Nastaliq Urdu', serif; */
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    direction: rtl;
    text-align: center;
    background: linear-gradient(90deg, gold, rgb(253, 203, 2), gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}



/* ================= HERO ================= */

.hero {
    min-height: 100vh;

    background:
        linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.4)),
        url('./bg.jpg');

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}


.hero-content {


    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(80px);

    padding: 20px 20px;
    border-radius: 50px;

    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.25);
    z-index: 0;
}

.hero-content {
    z-index: 1;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
}

.hero span {
    color: #d4af37;
}

.hero .sub{
    color: #d4af37;
    font-size: 1.5rem;
    font-family: 'Alex Brush', cursive;

}
.hero .subb{
    color: #d4af37;
    font-size: 1.5rem;
    font-family: 'Parisienne', cursive;

}

.hero p {
    font-size: 10px;
    padding: 0px 10px;

    font-weight: 300;
    opacity: 0.9;
}

/* ================= SECTIONS ================= */

.section {
    padding: 120px 20px;
    text-align: center;
    opacity: 0;
    transform: translateY(60px);
    transition: all 1.2s ease;
}

.section.visible {
    opacity: 1;
    transform: translateY(0);
}

.section h2 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 25px;
    color: #d4af37;
    font-size: 2rem;
    position: relative;
}

/* .section h2::after {
    content: "";
    width: 100px;
    height: 2px;
    background: #d4af37;
    display: block;
    margin: 15px auto 0;
} */

.section p {
    font-size: 1.1rem;
    opacity: 0.85;
}

.dark {
    background: linear-gradient(to bottom, #0d1f20, #071314);
}

.haldi {
    background: linear-gradient(to bottom, #201f0d, #071314);
}

/* ================= RSVP ================= */

input {
    padding: 14px 18px;
    margin: 10px;
    border-radius: 30px;
    border: 1px solid rgba(212, 175, 55, 0.5);
    background: transparent;
    color: white;
    width: 250px;
    transition: 0.3s ease;

    position: relative;
    z-index: 10;
}

input:focus {
    outline: none;
    border-color: #d4af37;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}
button, input {
    position: relative;
    z-index: 1000;
}
button {
    padding: 14px 28px;
    margin-top: 15px;
    border-radius: 30px;
    border: none;
    background: linear-gradient(45deg, #d4af37, #f1d67a);
    color: black;
    font-weight: 600;
    cursor: pointer;
    transition: 0.4s ease;
}

button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.4);
}

/* ================= FOOTER ================= */

footer {
    padding: 50px;
    background: #050d0e;
    text-align: center;
    font-style: italic;
    font-size: 0.95rem;
    opacity: 0.7;
}

/* ================= COUNTDOWN ================= */

#countdown {
    margin-top: 25px;
    font-size: 15px;
    font-weight: 500;
    color: #d4af37;
}

/* ================= FADE ANIMATION ================= */

.fade-in {
    opacity: 0;
    animation: fadeIn 2s forwards;
}

.delay {
    animation-delay: 1.2s;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* ================= LANTERNS ================= */

.lantern {
    position: fixed;
    width: 50px;
    height: 50px;
    background: radial-gradient(circle, #d4af37 0.1%, rgba(212, 175, 55, 0.1) 0.1%);
    border-radius: 50%;
    animation: float 8s linear infinite;
    filter: blur(0.5px);
    opacity: 0.8;
}

@keyframes float {
    from {
        transform: translateY(100vh);
    }

    to {
        transform: translateY(-10vh);
    }
}

/* ================= RESPONSIVE ================= */

@media (max-width:768px) {

    .hero {

        background-attachment: scroll;

    }

    .hero-content {

        backdrop-filter: none;
        -webkit-backdrop-filter: none;

        background: rgba(0, 0, 0, 0.55);

    }

}

.nikah-invite {
    text-align: center;


}

.quran-verse {
    font-family: 'Scheherazade New', serif;
    font-size: 20px;
    direction: rtl;
    margin-bottom: 5px;
    line-height: 2;
}

.translation {
    font-size: 10px;
    max-width: 600px;
    margin: auto;
    color: #b2b2b2;
    line-height: 1.8;
}


@media (max-width:768px) {

    .hero {
        background-attachment: scroll;
        background-position: center top;
    }

    .hero-content {

        backdrop-filter: none;
        -webkit-backdrop-filter: none;

        background: rgba(0, 0, 0, 0.55);

        padding: 30px 20px;
        border-radius: 30px;

    }

    .hero h1 {
        font-size: 2.3rem;
    }

    .hero p {
        font-size: 13px;
    }

    .calligraphy {
        font-size: 18px;
    }

    .bismillah {
        font-size: 18px;
    }

}

/* Nikah announcement section */

.nikah-announcement {

    padding: 120px 20px;

}

.nikah-container {

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;

    max-width: 900px;
    margin: auto;

}

/* left side */

.nikah-left {
    text-align: left;
    max-width: 520px;
}

/* remove line under heading */

.nikah-heading::after {
    display: none;
}

.nikah-heading {
    margin-bottom: 10px;
}

/* arabic text */

.nikah-arabic {

    font-family: 'Scheherazade New', serif;
    font-size: 20px;

    color: #d4af37;

    margin-bottom: 10px;

}

/* description */

.nikah-description {

    line-height: 1.7;
    font-size: 1rem;

}




/* calendar card */

.nikah-calendar {

    width: 300px;

    background: white;
    color: #333;

    border-radius: 6px;

    text-align: center;

    overflow: hidden;

    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);

}

.Walima-calendar {


    border-radius: 6px;

    text-align: right;

    overflow: hidden;
}

.calendar-top {

    background: #d4af37;
    color: white;

    font-size: 20px;
    padding: 6px;

    font-weight: 600;

}

.calendar-day {

    font-size: 66px;
    font-weight: bold;

    padding-top: 12px;

}

.calendar-month {

    font-size: 12px;
    padding-bottom: 10px;
    color: #666;

}

.zikr-hadith-tr {
    font-size: 12px;
    color: #f5e6c8;


}


.zikr-ref {
    font-size: 5px;
    color: #d4af37;
}

.darood {

    margin-top: 30px;

    font-family: 'Scheherazade New', serif;
    font-size: 22px;

    color: #d4af37;

    text-shadow: 0 0 10px rgba(212, 175, 55, 0.6);
    padding-bottom: 30px;

}


/* MAIN BUTTON */

#musicToggle {

    position: fixed;
    bottom: 20px;
    right: 20px;

    z-index: 999;

    width: 60px;
    height: 60px;

    border-radius: 50%;

    /* GLASS EFFECT */
    background: rgba(10, 40, 40, 0.35);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    /* GOLD BORDER */
    border: 1px solid rgba(212, 175, 55, 0.4);

    /* SOFT INNER GLOW */
    box-shadow:
        inset 0 0 10px rgba(255, 255, 255, 0.05),
        0 8px 25px rgba(0, 0, 0, 0.4);

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;
    overflow: hidden;

    transition: all 0.3s ease;
    -webkit-text-fill-color: #d4af37;


}

#musicToggle:hover {

    transform: translateY(-3px) scale(1.05);

    box-shadow:
        0 0 20px rgba(212, 175, 55, 0.4),
        inset 0 0 10px rgba(255, 255, 255, 0.1);

}

.label {

    position: absolute;
    right: 75px;

    white-space: nowrap;

    font-size: 13px;
    color: #d4af37;

    background: rgba(0, 0, 0, 0.6);
    padding: 6px 12px;

    border-radius: 20px;

    opacity: 0;
    transform: translateX(10px);

    transition: all 0.3s ease;

    pointer-events: none;

}

/* show on hover */

#musicToggle:hover .label {

    opacity: 1;
    transform: translateX(0);

}

/* WAVES */

.waves {

    position: absolute;

    width: 100%;
    height: 100%;

    border-radius: 50%;

}

/* ripple animation */

#musicToggle.playing .waves::before,
#musicToggle.playing .waves::after {

    content: "";
    position: absolute;

    width: 100%;
    height: 100%;

    border-radius: 50%;

    border: 1px solid rgba(212, 175, 55, 0.5);

    animation: ripple 2s infinite;

}

#musicToggle.playing .waves::after {
    animation-delay: 1s;
}

/* EQUALIZER */

.bars {

    position: absolute;
    bottom: 12px;

    display: flex;
    gap: 3px;

}

.bars span {

    width: 3px;
    height: 6px;

    background: #d4af37;

    opacity: 0;

}

/* animate bars when playing */

#musicToggle.playing .bars span {
    opacity: 1;
    animation: equalize 0.8s infinite;
}

.bars span:nth-child(2) {
    animation-delay: 0.2s;
}

.bars span:nth-child(3) {
    animation-delay: 0.4s;
}

/* ANIMATIONS */

@keyframes equalize {
    0% {
        height: 4px;
    }

    50% {
        height: 12px;
    }

    100% {
        height: 4px;
    }
}

@keyframes ripple {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }

    100% {
        transform: scale(1.8);
        opacity: 0;
    }
}



/* mobile */

@media (max-width:768px) {

    .nikah-container {

        flex-direction: column;
        text-align: center;

    }

    .nikah-heading {
        font-size: 2rem;
        text-align: center;
    }

    .nikah-arabic {

        font-family: 'Scheherazade New', serif;
        font-size: 20px;

        color: #d4af37;

        margin-bottom: 10px;
        text-align: center;

    }

    .nikah-description {

        line-height: 1.7;
        font-size: 1px;
        text-align: center;
    }

    .text {
        text-align: center;
        padding: 0px 50px 0px 50px;
    }

    #musicToggle {

        bottom: 15px;
        right: 15px;

        padding: 10px 14px;
        font-size: 12px;

    }

    .Copyrights p {
        font-size: 3px;
    }

}

.walima-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
}

/* Date card */

.date-card {
    width: 200px;
    padding: 25px;
    text-align: center;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.date-day {
    font-size: 80px;
    font-weight: bold;
    color: #d4af37
}

.date-month {
    font-size: 18px;
    color: #d4af37;
}

.date-year {
    font-size: 16px;
    opacity: 0.8;
}

/* Right content */

.walima-content {
    max-width: 500px;
}

.walima-title::after {
    display: none !important;
}

.walima-dua {
    font-size: 18px;
    line-height: 1.7;
}





.venue-card {
    padding: 30px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    max-width: 400px;
    margin: auto;
}


/* Map */

.map-box {
    margin-top: 40px;
    border-radius: 30px;
    overflow: hidden;
}

.map-box iframe {
    width: 100%;
    height: 300px;
    border: 10;
}

html {
    scroll-behavior: smooth;
}

/* cinematic section animation */

.fade-section {

    opacity: 0;
    transform: translateY(80px) scale(0.95);

    transition: all 1.4s cubic-bezier(0.22, 1, 0.36, 1);

}

.fade-section.visible {

    opacity: 1;
    transform: translateY(0) scale(1);

}

.hero h1 {

    opacity: 0;
    transform: translateY(40px);

    animation: cinematicText 2s ease forwards;
    animation-delay: 1s;

}

@keyframes cinematicText {

    to {
        opacity: 1;
        transform: translateY(0);
    }

}

.section {

    position: relative;

}

.section::before {

    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    background: radial-gradient(circle at center,
            rgba(212, 175, 55, 0.08),
            transparent 70%);

    opacity: 0;

    transition: opacity 1s;
    pointer-events: none;

}

.section.visible::before {

    opacity: 1;

}


.Copyrights {

    text-align: center;


    border-top: 1px solid rgba(212, 175, 55, 0.2);

    color: rgba(255, 255, 255, 0.7);

    font-size: 8px;

    margin-top: 80px;

}

/* main line */

.Copyrights p {
    margin: 5px 0;
}

/* sub text */

.Copyrights .sub {

    font-size: 8px;

    letter-spacing: 0.5px;
}