/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&family=Playfair+Display:wght@400;500;600;700&family=Poppins:wght@300;400;500&display=swap');


/* General Styling */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #f7f3e9;
    color: #514333;
    font-family: 'Poppins', sans-serif;
}


/* Invitation Cover */

.cover {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px 20px;
    background: linear-gradient(
        135deg,
        #f7f3e9,
        #e9eee3
    );
}

.invitation-card {
    position: relative;
    width: 100%;
    max-width: 480px;
    padding: 65px 30px;
    text-align: center;
    background: #fffdf7;
    border: 1px solid #b7b99e;
    outline: 1px solid #b7b99e;
    outline-offset: 8px;
    box-shadow: 0 15px 45px rgba(70, 75, 55, 0.12);
}


/* Decorative Details */

.invitation-card::before,
.invitation-card::after {
    content: "❧";
    position: absolute;
    color: #87977d;
    font-size: 65px;
}

.invitation-card::before {
    top: 10px;
    left: 15px;
    transform: rotate(-35deg);
}

.invitation-card::after {
    bottom: 10px;
    right: 15px;
    transform: rotate(145deg);
}


/* Typography */

.small-heading {
    font-size: 11px;
    letter-spacing: 4px;
    color: #87977d;
    margin-bottom: 25px;
}

.invitation-card h1 {
    font-family: 'Great Vibes', cursive;
    font-size: clamp(42px, 9vw, 58px);
    font-weight: 400;
    color: #654b36;
    margin: 12px 0;
}

.and {
    font-family: 'Playfair Display', serif;
    font-size: 25px;
    color: #87977d;
}

.invitation-text {
    font-family: 'Playfair Display', serif;
    font-size: 16px;
    line-height: 1.9;
    margin: 30px 0;
}


/* Opening Button */

button {
    padding: 14px 30px;
    border: none;
    border-radius: 30px;
    background: #71836c;
    color: white;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    letter-spacing: 1px;
    cursor: pointer;
    transition: 0.3s ease;
}

button:hover {
    background: #53664e;
    transform: translateY(-3px);
}


/* Wedding Details Section */

.wedding-details {
    padding: 90px 20px;
    text-align: center;
    background: #f7f3e9;
}

.wedding-details h2 {
    font-family: 'Great Vibes', cursive;
    font-size: 55px;
    font-weight: 400;
    color: #654b36;
    margin-bottom: 25px;
}

.wedding-details > p {
    line-height: 1.9;
}

.event {
    max-width: 480px;
    margin: 35px auto;
    padding: 30px 20px;
    background: #fffdf7;
    border: 1px solid #d4d8c8;
    border-radius: 8px;
}

.event h3 {
    font-family: 'Playfair Display', serif;
    font-size: 25px;
    color: #71836c;
    margin-bottom: 15px;
}

.event p {
    font-size: 14px;
    line-height: 2;
}

.closing {
    margin-top: 50px;
    font-family: 'Great Vibes', cursive;
    font-size: 35px;
    color: #654b36;
}


/* Mobile Responsive Design */

@media (max-width: 480px) {

    .invitation-card {
        padding: 55px 20px;
    }

    .wedding-details {
        padding: 65px 15px;
    }

    .wedding-details h2 {
        font-size: 45px;
    }

    .event {
        padding: 25px 15px;
    }

}
/* Initially hide the wedding details */

.wedding-details {
    display: none;
}

/* Smooth reveal */

.wedding-details {
    animation: fadeIn 1.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* WELCOME SECTION */

.welcome-section,
.family-section,
.event-section,
.location-section,
.closing-section {
    max-width: 750px;
    margin: 0 auto;
    padding: 85px 25px;
    text-align: center;
}

.welcome-section h2,
.family-section h2,
.event-section h2,
.location-section h2,
.closing-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 34px;
    font-weight: 400;
    color: #654b36;
    margin-bottom: 25px;
}

.welcome-section p,
.family-section p,
.location-section p,
.closing-section p {
    line-height: 2;
    font-size: 15px;
}

.floral-divider {
    font-size: 55px;
    color: #87977d;
    margin: 35px 0;
}

.family-section {
    background: #e9eee3;
    max-width: 100%;
}

.family-section .and {
    margin: 15px;
}

.event-section {
    border-bottom: 1px solid #d4d8c8;
}

.event-card {
    background: #fffdf7;
    border: 1px solid #d4d8c8;
    padding: 35px 20px;
    margin-top: 30px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(70, 75, 55, 0.07);
}

.event-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 25px;
    color: #654b36;
    margin: 15px 0;
}

.event-card p {
    line-height: 2;
    font-size: 14px;
}

.event-date {
    letter-spacing: 3px;
    color: #87977d;
    font-size: 12px;
}

.location-section {
    background: #e9eee3;
    max-width: 100%;
}

.map-button {
    display: inline-block;
    margin-top: 25px;
    padding: 13px 30px;
    background: #71836c;
    color: white;
    text-decoration: none;
    border-radius: 30px;
    transition: 0.3s;
}

.map-button:hover {
    background: #53664e;
}

.closing-section {
    padding-bottom: 100px;
}

.closing-section h3 {
    font-family: 'Great Vibes', cursive;
    font-size: 42px;
    font-weight: 400;
    color: #654b36;
    margin: 30px 0;
}

.brand {
    margin-top: 50px;
    color: #87977d;
    font-size: 11px !important;
    letter-spacing: 2px;
}


/* MOBILE RESPONSIVENESS */

@media screen and (max-width: 600px) {

    body {
        width: 100%;
        overflow-x: hidden;
    }

    .cover {
        min-height: 100svh;
        padding: 25px 18px;
    }

    .invitation-card {
        width: 100%;
        max-width: 100%;
        padding: 55px 20px;
    }

    .invitation-card h1 {
        font-size: clamp(38px, 11vw, 52px);
    }

    .invitation-text {
        font-size: 15px;
    }

    .wedding-details {
        padding: 55px 15px;
    }

    .welcome-section,
    .family-section,
    .event-section,
    .location-section,
    .closing-section {
        padding: 60px 20px;
    }

    .welcome-section h2,
    .family-section h2,
    .event-section h2,
    .location-section h2,
    .closing-section h2 {
        font-size: 27px;
    }

    .event-card {
        padding: 28px 15px;
    }

    .event-card h3 {
        font-size: 22px;
    }

    .event-card p {
        font-size: 13px;
    }

    button,
    .map-button {
        min-height: 46px;
    }

}
/* =================================
   QISSA - PREMIUM BOTANICAL DESIGN
================================= */

/* Welcome background */

.welcome-section {
    background:
        radial-gradient(circle at 0% 0%,
        #e3e9dc 0%, transparent 35%),
        #f7f3e9;
}

/* Family invitation */

.family-section {
    background:
        linear-gradient(135deg,
        #e5ebdf,
        #f1f0e5,
        #e5ebdf);
    position: relative;
    overflow: hidden;
}

/* Decorative botanical symbols */

.family-section::before {
    content: "❧";
    position: absolute;
    top: 5px;
    left: 15px;
    font-size: 90px;
    color: rgba(113, 131, 108, 0.17);
    transform: rotate(-35deg);
}

.family-section::after {
    content: "❧";
    position: absolute;
    bottom: 5px;
    right: 15px;
    font-size: 90px;
    color: rgba(113, 131, 108, 0.17);
    transform: rotate(145deg);
}

/* Event sections */

.event-section {
    background: #fbf9f2;
    position: relative;
    padding-top: 90px;
    padding-bottom: 90px;
}

/* Elegant divider */

.event-section::before {
    content: "✦  ❧  ✦";
    display: block;
    color: #87977d;
    font-size: 23px;
    letter-spacing: 8px;
    margin-bottom: 35px;
}

/* Event cards */

.event-card {
    background: linear-gradient(
        145deg,
        #fffdf7,
        #f0f1e8
    );
    border: 1px solid #cbd2bf;
    box-shadow: 0 12px 35px rgba(70, 75, 55, 0.08);
    transition: transform 0.4s ease,
                box-shadow 0.4s ease;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 40px rgba(70, 75, 55, 0.13);
}

/* Location */

.location-section {
    background:
        radial-gradient(circle at 100% 100%,
        #dce5d5 0%, transparent 40%),
        #e9eee3;
}

/* Closing section */

.closing-section {
    background:
        linear-gradient(
            180deg,
            #f7f3e9,
            #e5ebdf
        );
}

/* Decorative divider */

.floral-divider {
    font-size: 65px;
    color: #819477;
    opacity: 0.85;
}

/* Button styling */

.map-button {
    letter-spacing: 1px;
    box-shadow: 0 5px 15px rgba(70, 75, 55, 0.15);
}

.map-button:hover {
    transform: translateY(-3px);
}

/* Mobile adjustments */

@media screen and (max-width: 600px) {

    .family-section::before,
    .family-section::after {
        font-size: 55px;
    }

    .event-section {
        padding-top: 65px;
        padding-bottom: 65px;
    }

    .event-card:hover {
        transform: none;
    }

}
/* Scroll animation */

.reveal {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 1s ease,
                transform 1s ease;
}

.reveal.show {
    opacity: 1;
    transform: translateY(0);
}

/* Accessibility: respect reduced motion */

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}
/* OPENING ANIMATION */

@keyframes coverFade {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.invitation-card {
    animation: coverFade 1.8s ease-out;
}

.cover {
    animation: backgroundFade 2s ease-in;
}

@keyframes backgroundFade {
    from {
        opacity: 0.5;
    }
    to {
        opacity: 1;
    }
}
/* PREMIUM FINISHING TOUCHES */

.welcome-section,
.family-section,
.event-section,
.location-section,
.closing-section {
    position: relative;
    overflow: hidden;
}

.welcome-section::after,
.closing-section::after {
    content: "❧";
    display: block;
    font-size: 45px;
    color: #8b9a7d;
    margin-top: 20px;
}

.event-section h2 {
    color: #71836c;
    letter-spacing: 2px;
}

.event-card {
    border-radius: 18px;
    padding: 35px 20px;
}

.map-button {
    border-radius: 30px;
    letter-spacing: 1px;
}

.closing-section h2 {
    font-family: 'Great Vibes', cursive;
    font-size: 48px;
}
#openInvitation {
    background: linear-gradient(135deg, #71836c, #52664e);
    color: white;
    border: none;
    padding: 15px 38px;
    border-radius: 35px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    letter-spacing: 1px;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(81, 100, 75, 0.2);
    transition: all 0.3s ease;
}

#openInvitation:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(81, 100, 75, 0.3);
}