@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=Great+Vibes&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;

}

html {
    background: #f7f4ec;

    background-image: repeating-linear-gradient(45deg,
            #f7f4ec,
            #f7f4ec 10px,
            #f5f0e4 10px,
            #f5f0e4 11px);
}

body {
    font-family: Arial, Helvetica, sans-serif;
    width: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
}

.vivah-body,
#vivah-body {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    background: #ffffff;

}

.wedding-invitition {
    width: 100%;
    max-width: 500px;
    height: 100vh;
    height: 100dvh;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    background: transparent;

}

.wedding-invitition-video {
    width: 100%;
    height: 100%;

    object-fit: fill;
    display: block;

}

.wedding-invition-content {
    position: absolute;

    top: 40%;
    left: 0;

    width: 100%;

    transform: translateY(-50%);

    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    line-height: 1.8;
    z-index: 10;

    text-align: center;
}

.wedding-invition-name1 {
    margin: 0;
    padding: 0 20px 0px 0px;

    color: rgb(187, 9, 9);

    font-family: "Great Vibes", cursive;
    font-size: clamp(35px, 6vw, 55px);
    letter-spacing: 3px;
    font-weight: 500;
    white-space: nowrap;
    display: block;

    visibility: visible;
    opacity: 2;

    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.wedding-invition-content p {
    font-family: "Great Vibes", cursive;
    font-size: clamp(20px, 6vw, 35px);
    letter-spacing: 3px;
    font-weight: 500;
    color: #000000;
    text-align: center;
}

/* family-section */
.family {
    width: 100%;
    min-height: 100dvh;
    margin: 0 auto;

    background-image: url("../Black\ and\ Gold\ Elegant\ Simple\ Wedding\ Invitation.png");
    background-size: 100% 100%;
    background-position: center top;
    background-repeat: no-repeat;

    display: flex;
    justify-content: center;
    align-items: center;

    text-align: center;
}

.all-people-content {
    width: 90%;
    max-width: 450px;

    color: #FBC683;

    font-family: "Cormorant Garamond", serif;

    line-height: 1.4;

    display: flex;
    flex-direction: column;
    align-items: center;
}

.all-people-icon {
    width: 100px;
    height: 100px;
    padding-right: 10px;
}


.name-text1 {
    margin: 0;
    padding: 0;

    font-size: 20px;
    font-weight: 600;

    line-height: 1.5;
}


.name-subha {
    margin: 25px 0 35px 0;
    padding: 0;

    font-family: "Great Vibes", cursive;

    font-size: 55px;
    font-weight: 400;

    line-height: 0.95;

    color: #FBC683;
}

.name-subha span {
    font-family: "Cormorant Garamond", serif;

    font-size: 35px;
    font-weight: 600;
}

.son-of {
    margin: 0 0 15px 0;
    padding: 0;

    font-size: 18px;
    font-weight: 500;

    letter-spacing: 1px;
}

.wedding-date {
    margin: 25px 0 10px 0;
    padding: 0;

    font-size: 18px;
    font-weight: 600;

    letter-spacing: 0.5px;
}

.wedding-place {
    margin: 0;
    padding: 0;

    font-size: 17px;
    font-weight: 500;

    letter-spacing: 0.5px;
}

@media (max-width: 500px) {

    .all-people-content {
        width: 88%;
    }

    .name-text1 {
        font-size: 17px;
    }

    .name-subha {
        font-size: 45px;
        margin: 20px 0 30px;
    }

    .name-subha span {
        font-size: 30px;
    }

    .son-of {
        font-size: 16px;
    }

    .wedding-date {
        font-size: 16px;
        margin-top: 20px;
    }

    .wedding-place {
        font-size: 15px;
    }
}


/* heldi--section */
.haldi-section {
    position: relative;
    width: 100%;
    max-width: 500px;
    height: 100vh;
    height: 100dvh;
    margin: 0 auto;
    overflow: hidden;
}

.haldi-video {
    width: 100%;
    height: 100%;
    object-fit: fill;
    display: block;
}

.haldi-content {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    padding: 20px 15px;
    box-sizing: border-box;
    text-align: center;

    display: block;
    position: absolute;
    top: 180px;
    left: 0px;
    line-height: 1.8;

}

.haldi-name {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: 50px;
    font-weight: bold;
    color: #D7A91A;

}

.haldi-date {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: 30px;
    font-weight: 300;
    color: #0ca544;

}

.haldi-address,
.haldi-place {
    font-family: "Cormorant Garamond", serif;
    font-size: 25px;
    font-weight: 200;


}

/* mehendi-section */
.mehendi {
    width: 100%;
    height: 100vh;
    height: 100dvh;
    margin: 0 auto;
    position: relative;
    overflow: hidden;

}

.mehendi-video {
    width: 100%;
    height: 100%;
    object-fit: fill;
    display: block;

}

.mehendi-content {
    text-align: center;
    position: absolute;
    top: 250px;
    left: 97px;
    line-height: 1.7;
    display: block;
    color: #677E43;
}

.mehendi-name {

    font-size: clamp(30px, 8vw, 50px);
    font-weight: 500;
    font-family: system-ui, -apple-system, 'Open Sans', 'Helvetica Neue', sans-serif;
    padding-left: 90px;
}

.mehendi-date,
#mehndiDate {
    padding-left: 50px;

    font-size: clamp(20px, 5vw, 30px);
    font-weight: 200;

    font-family: 'Gill Sans' Calibri, 'Trebuchet MS', sans-serif;
}

.mehendi-address,
#mehndiPlace {
    padding-left: 30px;

    font-size: clamp(14px, 3.5vw, 20px);
    font-weight: 200;

    font-family: Georgia, Times, 'Times New Roman', serif;
}

/* sangeet-night-section */
.sangeet-night {
    width: 100%;
    max-width: 500px;
    height: 100vh;
    height: 100dvh;
    margin: 0 auto;
    display: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1.8;
}

.sangeet-night-video {
    height: 100%;
    width: 100%;
    object-fit: fill;

}

.sangeet-content {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-bottom: 180px;
}

.sangeet-name {
    font-weight: 700;
    font-size: 50px;
    color: #FAC62E;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Open Sans', 'Helvetica Neue', sans-serif;
}

.sangeet-date {
    color: #F1E1F3;
    font-family: Arial, Helvetica, sans-serif;
}

.sangeet-address,
.sangeet-place {
    color: #F1E1F3;
    font-family: Arial, Helvetica, sans-serif;
}


/* marriage-section */
.marriage {
    width: 100%;
    max-width: 500px;
    height: 100vh;
    height: 100dvh;
    margin: 0px auto;
    overflow: hidden;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    position: relative;


}

.marriage-video {
    height: 100%;
    width: 100%;
    object-fit: fill;
    background-size: 100% 100%;
    display: block;

}

.marriage-content {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    display: block;
    position: absolute;
    line-height: 1.6;
    padding-left: 93px;
    padding-bottom: 80px;
}

.marriage-name {
    padding-left: 50px;
    color: #111401;
    font-size: 40px;
    font-weight: 600;
    font-family: system-ui, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

.marriage-date {
    color: #111401;
    padding-left: 21px;
    font-size: 30px;
    font-weight: 300;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}

.marriage-address,
.marriage-place {
    color: #846852;
    font-size: 20px;
    font-weight: 300;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}

/* gallery */

.gallery-section {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    padding: 20px 12px;
    background: #fff5f7;
}

.gallery-title {
    text-align: center;
    color: #a83258;
    font-size: 26px;
    margin-bottom: 20px;
}

.gallery-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    width: 100%;
}

.gallery-item {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 12px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-item img:hover {
    transform: scale(1.08);
}

/* Wedding Venue Section */
.venue-section {
    width: 100%;
    max-width: 500px;
    min-height: 70vh;
    min-height: 70dvh;
    margin: 0 auto;
    padding: 20px 15px 20px 15px;
    box-sizing: border-box;
    line-height: 1.1;
    position: relative;
    gap: 10px;

    text-align: center;
    background: #fff2f5;

}

/* Venue Card */
.venue-card {
    width: 100%;
    padding: 30px 18px 20px 18px;
    box-sizing: border-box;
    text-align: center;

    background: #fffafb;
    border: 1px solid #e8c1cb;
    border-radius: 18px;
    box-shadow: 0 5px 20px #8c45551a;
}

/* Heading */
.venue-subtitle {
    color: #b47b56;
    font-size: 11px;
    letter-spacing: 3px;
    font-weight: 600;
}

.venue-card h2 {
    color: #a52d53;
    font-size: 30px;
    margin: 12px 0;
}

.venue-divider {
    color: #c59a57;
    margin: 12px 0 18px;
    font-size: 20px;
}

/* Location */
.venue-icon {
    font-size: 32px;
    margin-bottom: 8px;
}

.venue-card h3 {
    color: #8e2949;
    font-size: 21px;
    margin: 8px 0;
}

.venue-address {
    color: #66545a;
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* Google Map */
.venue-map {
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid #e8c1cb;
}

.venue-map iframe {
    display: block;
    width: 100%;
    height: 250px;
}

/* Directions Button */
.venue-button {
    display: inline-block;
    text-decoration: none;
    width: 100%;
    max-width: 260px;
    margin: 20px auto 10px;
    padding: 14px 20px;

    background: #a52d53;
    color: white;
    border: none;
    border-radius: 30px;

    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.venue-button:hover {
    background: #81203e;
    transform: translateY(-2px);
}

.venue-footer {
    color: #b47b56;
    font-size: 12px;
    font-style: italic;
    margin-top: 15px;
}

/* Small Mobile */
@media (max-width: 360px) {
    .venue-section {
        padding: 12px;
    }

    .venue-card {
        padding: 20px 12px 20px 12px;
    }

    .venue-card h2 {
        font-size: 26px;
    }

    .venue-map iframe {
        height: 190px;
    }
}


/* RSVP Section */
.rsvp-section {
    width: 100%;
    max-width: 500px;
    min-height: 70vh;
    min-height: 70dvh;

    margin: 0 auto;
    padding: 0px 20px 10px 20px;
    box-sizing: border-box;

    background: #fff1f3;
    overflow: hidden;
}

/* RSVP Card */
.rsvp-card {
    width: 100%;
    padding: 30px 20px;
    box-sizing: border-box;

    background: #fffaf7;
    border: 1px solid #d5b16d;
    border-radius: 10px;
    text-align: center;
    display: block;
    box-shadow: 0 5px 20px rgba(100, 40, 50, 0.08);
}

/* Heading */
.rsvp-subtitle {
    margin-bottom: 8px;
    color: #a16d57;
    font-family: Arial, sans-serif;
    font-size: 11px;
    letter-spacing: 3px;
}

.rsvp-title {
    margin-bottom: 8px;
    color: #963c55;
    font-size: 42px;
    font-weight: normal;
    letter-spacing: 3px;
}

.rsvp-divider {
    margin-bottom: 10px;
    color: #c59a50;
    font-size: 25px;
}

.rsvp-description {
    margin-bottom: 22px;
    color: #795c56;
    font-size: 14px;
    line-height: 1.7;
}

/* Form Fields */
.rsvp-field {
    margin-bottom: 16px;
    text-align: left;
}

.rsvp-field>label {
    display: block;
    margin-bottom: 7px;
    color: #74384a;
    font-family: Arial, sans-serif;
    font-size: 13px;
    font-weight: bold;
}

.rsvp-field input[type="text"],
.rsvp-field input[type="tel"],
.rsvp-field select,
.rsvp-field textarea {
    width: 100%;
    padding: 12px;
    box-sizing: border-box;

    border: 1px solid #e4c9c4;
    border-radius: 5px;
    outline: none;

    background: #fff;
    color: #553b3b;
    font-family: Arial, sans-serif;
    font-size: 14px;
}

.rsvp-field input:focus,
.rsvp-field select:focus,
.rsvp-field textarea:focus {
    border-color: #963c55;
}

.rsvp-field input[aria-invalid="true"],
.rsvp-field select[aria-invalid="true"],
.rsvp-field textarea[aria-invalid="true"] {
    border-color: #963c55;
    box-shadow: 0 0 0 3px rgba(150, 60, 85, 0.1);
}

.rsvp-field textarea {
    resize: vertical;
}

/* Attendance Options */
.rsvp-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.rsvp-options label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #634b48;
    font-family: Arial, sans-serif;
    font-size: 13px;
    cursor: pointer;
}

.rsvp-options input {
    accent-color: #963c55;
}

/* Submit Button */
.rsvp-button {
    width: 100%;
    padding: 14px 10px;

    border: none;
    border-radius: 5px;

    background: #963c55;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.rsvp-button:hover {
    background: #762b40;
}

.rsvp-button:disabled {
    cursor: wait;
    opacity: 0.72;
}

.rsvp-response {
    margin-top: 12px;
    color: #74384a;
    font-family: Arial, sans-serif;
    font-size: 13px;
    line-height: 1.5;
}

.form-success,
.form-error {
    display: block;
    width: 100%;
    font-family: Arial, sans-serif;
    font-size: 13px;
    line-height: 1.5;
}

.form-success {
    margin: 0 0 16px;
    padding: 10px 12px;
    border-radius: 8px;
    background: #edf8ef;
    color: #236b35;
    font-weight: 700;
}

.form-error {
    margin-top: 6px;
    color: #963c55;
    font-weight: 700;
}

/* Small Screens */
@media (max-width: 350px) {
    .rsvp-section {
        padding: 12px;
    }

    .rsvp-card {
        padding: 20px 14px;
    }

    .rsvp-title {
        font-size: 36px;
    }
}

/* Thank You Section */
.thankyou-section {
    width: 100%;
    max-width: 500px;
    height: 70vh;
    height: 70dvh;

    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
    overflow: hidden;

    background: linear-gradient(180deg,
            #fff1f3 0%,
            #ffe4e9 50%,
            #fff7f0 100%);
}

/* Content */
.thankyou-content {
    width: 100%;
    padding: 35px 20px;
    box-sizing: border-box;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;

    border: 1px solid #d5b16d;
    border-radius: 8px;
    background: rgba(255, 250, 247, 0.75);

    box-shadow: 0 8px 25px rgba(100, 40, 50, 0.08);
}

/* Flowers */
.thankyou-flower {
    margin-bottom: 12px;
    color: #bd8b43;
    font-size: 45px;
}

.thankyou-flower-bottom {
    margin-top: 20px;
    color: #bd8b43;
    font-size: 28px;
}

.thankyou-flower-bottom a {
    text-decoration: none;
}


/* Subtitle */
.thankyou-subtitle {
    margin-bottom: 15px;
    color: #9b6b57;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 10px;
    letter-spacing: 3px;
}

/* Title */
.thankyou-title {
    margin: 0;
    color: #963c55;
    font-family: "Great Vibes", cursive;
    font-size: 60px;
    font-weight: normal;
}

/* Divider */
.thankyou-divider {
    margin: 18px 0;
    color: #bd8b43;
    font-size: 18px;
}

/* Message */
.thankyou-message {
    max-width: 310px;
    margin: 0 0 25px;

    color: #795c56;
    font-family: Georgia, serif;
    font-size: 15px;
    line-height: 1.9;
}

/* Couple Names */
.thankyou-couple {
    margin: 0;
    color: #963c55;
    font-family: "Great Vibes", cursive;
    font-size: 35px;
    font-weight: normal;
}

/* Footer */
.thankyou-footer {
    margin: 15px 0 0;
    color: #9b6b57;
    font-family: Georgia, serif;
    font-size: 13px;
    font-style: italic;
}

/* Small Screens */
@media (max-width: 350px) {
    .thankyou-section {
        padding: 12px;
    }

    .thankyou-content {
        padding: 25px 14px;
    }

    .thankyou-title {
        font-size: 48px;
    }

    .thankyou-message {
        font-size: 13px;
    }

    .thankyou-couple {
        font-size: 30px;
    }
}

/* Mobile: keep ceremony copy inside its video, without the desktop left offsets. */
@media (max-width: 768px) {
    #vivah-body {
        min-width: 0;
    }

    #vivah-body .wedding-invition-content {
        padding-inline: 20px;
    }

    #vivah-body .wedding-invition-name1 {
        max-width: 100%;
        padding: 0;
        white-space: normal;
        overflow-wrap: anywhere;
        font-size: clamp(30px, 8vw, 48px);
        line-height: 1.25;
    }

    #vivah-body .family {
        padding-block: 48px;
    }

    #vivah-body .all-people-content>* {
        max-width: 100%;
        overflow-wrap: anywhere;
    }

    #vivah-body .name-subha {
        line-height: 1.15;
    }

    #vivah-body .haldi-section,
    #vivah-body .mehendi,
    #vivah-body .sangeet-night,
    #vivah-body .marriage {
        display: grid;
        align-content: start;
        height: auto;
        min-height: 100svh;
        padding: clamp(140px, 30svh, 250px) 20px 80px;
    }

    #vivah-body .haldi-video,
    #vivah-body .mehendi-video,
    #vivah-body .sangeet-night-video,
    #vivah-body .marriage-video {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
    }

    #vivah-body .haldi-content,
    #vivah-body .mehendi-content,
    #vivah-body .sangeet-content,
    #vivah-body .marriage-content {
        position: relative;
        top: auto;
        left: auto;
        width: 100%;
        min-width: 0;
        padding: 0;
        text-align: center;
        overflow-wrap: anywhere;
        line-height: 1.5;
    }

    #vivah-body .mehendi-name,
    #vivah-body #mehndiDate,
    #vivah-body #mehndiPlace,
    #vivah-body .marriage-name,
    #vivah-body .marriage-date {
        padding-left: 0;
    }

    #vivah-body .haldi-content>*,
    #vivah-body .sangeet-content>* {
        max-width: 100%;
    }

    #vivah-body .haldi-name,
    #vivah-body .sangeet-name {
        font-size: clamp(32px, 9vw, 48px);
    }

    #vivah-body .haldi-date,
    #vivah-body .marriage-date {
        font-size: clamp(20px, 6vw, 28px);
    }

    #vivah-body .haldi-address,
    #vivah-body .marriage-address {
        font-size: clamp(18px, 5vw, 24px);
    }

    #vivah-body .gallery-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    #vivah-body .gallery-item {
        height: auto;
        aspect-ratio: 4 / 5;
        min-width: 0;
    }

    #vivah-body .venue-card {
        overflow-wrap: anywhere;
    }

    #vivah-body .venue-card h2 {
        line-height: 1.3;
    }

    #vivah-body .venue-card h3 {
        line-height: 1.4;
    }

    #vivah-body .rsvp-field {
        min-width: 0;
    }

    #vivah-body .rsvp-field input[type="text"],
    #vivah-body .rsvp-field input[type="tel"],
    #vivah-body .rsvp-field select,
    #vivah-body .rsvp-field textarea {
        min-width: 0;
        font-size: 16px;
    }

    #vivah-body .rsvp-options input {
        flex-shrink: 0;
    }

    #vivah-body .rsvp-title {
        font-size: clamp(30px, 9vw, 42px);
    }

    #vivah-body .rsvp-subtitle,
    #vivah-body .rsvp-response,
    #vivah-body .form-error,
    #vivah-body .form-success {
        overflow-wrap: anywhere;
    }

    #vivah-body .thankyou-section {
        height: auto;
        min-height: 70svh;
    }

    #vivah-body .thankyou-content {
        overflow-wrap: anywhere;
    }
}