/* Template 004 Styles - Birthday Party */

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

body {
    background-color: #FFFFFF;
    overflow-x: hidden;
}

.birthday-template {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 100;
    isolation: isolate;
}

/* Hero Section */
.template-hero {
    width: 100%;
    height: 823px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.hero-container {
    width: 100%;
    height: 823px;
    position: relative;
    filter: drop-shadow(0px 0px 14px rgba(0, 0, 0, 0.19));
}

/* Background Image */
.hero-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    overflow: hidden;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Hero Photo */
.hero-photo-wrapper {
    position: absolute;
    width: 446px;
    height: 670px;
    left: 90px;
    top: calc(50% - 670px/2 - 22.5px);
    filter: drop-shadow(0px 0px 25px rgba(0, 0, 0, 0.18));
    border-radius: 260px 260px 0px 0px;
    overflow: hidden;
    z-index: 2;
}

.hero-photo-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Age Number */
.age-wrapper {
    position: absolute;
    width: 387px;
    height: 399px;
    left: 630px;
    top: 188px;
    z-index: 3;
    display: flex;
    justify-content: center;
    align-items: center;
}

.age-number {
    font-family: 'Lily Script One', cursive;
    font-style: normal;
    font-weight: 400;
    font-size: 290px;
    line-height: 399px;
    background: linear-gradient(45deg, #5C4B41 -20.94%, #A88F6F 94.95%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Birthday Party Title */
.title-wrapper {
    position: absolute;
    width: 897px;
    height: 193px;
    left: 479px;
    top: 570px;
    z-index: 3;
}

.party-title {
    font-family: 'Lily Script One', cursive;
    font-style: normal;
    font-weight: 400;
    font-size: 140px;
    line-height: 193px;
    background: linear-gradient(36.02deg, #89735D 26.75%, #D5C1A7 92.27%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Responsive - Tablet */
@media (max-width: 1024px) and (min-width: 481px) {
    .hero-photo-wrapper {
        width: 320px;
        height: 480px;
        left: 40px;
    }

    .age-wrapper {
        left: 400px;
        top: 220px;
    }

    .age-number {
        font-size: 200px;
        line-height: 280px;
    }

    .title-wrapper {
        left: 340px;
        top: 480px;
        width: auto;
    }

    .party-title {
        font-size: 90px;
        line-height: 130px;
    }
}

/* Mobile Version */
@media (max-width: 480px) {
    .template-hero {
        height: 682px;
    }

    .hero-container {
        width: 100%;
        height: 682px;
        transform: none;
        filter: none;
    }

    .hero-bg {
        background: #FFFFFF;
    }

    /* Mobile Hero Photo */
    .hero-photo-wrapper {
        width: 266px;
        height: 400px;
        left: 20px;
        top: calc(50% - 400px/2 - 91px);
        border-radius: 260px 260px 0px 0px;
    }

    /* Mobile Age Number */
    .age-wrapper {
        width: 134px;
        height: 138px;
        left: 220px;
        top: 534px;
    }

    .age-number {
        font-size: 100px;
        line-height: 138px;
    }

    /* Mobile Title */
    .title-wrapper {
        width: 90%;
        height: auto;
        left: 5%;
        top: 462px;
    }

    .party-title {
        font-size: 48px;
        line-height: 1.2;
        text-align: center;
    }
}

/* ===== RSVP Section ===== */
.rsvp-section {
    width: 100%;
    min-height: 1475px;
    height: auto;
    position: relative;
    display: flex;
    justify-content: center;
    padding-bottom: 80px;
    z-index: 10;
}

.rsvp-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    overflow: hidden;
}

.rsvp-bg::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(247, 247, 247, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.rsvp-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rsvp-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1440px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 60px;
}

/* Invitation Block */
.invitation-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    width: 664px;
    text-align: center;
}

.invitation-title {
    font-family: 'Noto Sans Armenian', sans-serif;
    font-weight: 500;
    font-size: 40px;
    line-height: 54px;
    background: linear-gradient(70.23deg, #D5C1A7 -10.77%, #89735D 49.67%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.invitation-description {
    font-family: 'Noto Sans Armenian', sans-serif;
    font-weight: 400;
    font-size: 24px;
    line-height: 33px;
    color: #6E6E6E;
}

/* Event Details */
.event-details {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
}

.event-date {
    font-family: 'Lily Script One', cursive;
    font-weight: 400;
    font-size: 70px;
    line-height: 96px;
    background: linear-gradient(63.25deg, #D5C1A7 6.64%, #89735D 84.86%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.event-venue {
    font-family: 'Lily Script One', cursive;
    font-weight: 400;
    font-size: 70px;
    line-height: 96px;
    background: linear-gradient(69.46deg, #D5C1A7 -10.22%, #89735D 51.24%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
}

/* Location Button */
.location-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 300px;
    height: 61px;
    margin-top: 30px;
    border: 0.5px solid #89735D;
    border-radius: 84px;
    font-family: 'Lily Script One', cursive;
    font-weight: 400;
    font-size: 24px;
    line-height: 33px;
    color: #89735D;
    text-decoration: none;
    transition: all 0.3s ease;
}

.location-btn:hover {
    background: rgba(137, 115, 93, 0.1);
}

/* Dress Code Section */
.dress-code-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    margin-top: 60px;
}

.dress-code-title {
    font-family: 'Lily Script One', cursive;
    font-weight: 400;
    font-size: 60px;
    line-height: 83px;
    background: linear-gradient(63.25deg, #D5C1A7 6.64%, #89735D 84.86%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.color-circles {
    display: flex;
    gap: 40px;
}

.color-circle {
    width: 140px;
    height: 140px;
    border-radius: 50%;
}

.color-brown {
    background: #5C4B41;
    box-shadow: 5px 0px 10px rgba(92, 75, 65, 0.55);
}

.color-gold {
    background: #C1975D;
    box-shadow: 5px 0px 10px rgba(193, 151, 93, 0.55);
}

.color-beige {
    background: #A2938B;
    box-shadow: 5px 0px 10px rgba(162, 147, 139, 0.55);
}

/* RSVP Notice */
.rsvp-notice {
    width: 983px;
    margin-top: 60px;
    font-family: 'Noto Sans Armenian', sans-serif;
    font-weight: 500;
    font-size: 32px;
    line-height: 44px;
    text-align: center;
    text-transform: capitalize;
    background: linear-gradient(70.23deg, #D5C1A7 -10.77%, #89735D 49.67%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* RSVP Form */
.rsvp-form {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 40px;
    width: 840px;
    margin-top: 50px;
}

.form-group-radio {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
}

.question-label {
    font-family: 'Noto Sans Armenian', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 27px;
    color: #6E6E6E;
}

.radio-options {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.custom-radio {
    display: flex;
    align-items: center;
    gap: 14px;
    cursor: pointer;
    position: relative;
    user-select: none;
}

.custom-radio input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.radio-mark {
    width: 29px;
    height: 29px;
    border: 2px solid #C09A84;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.radio-inner {
    width: 17px;
    height: 17px;
    background: #C09A84;
    border-radius: 50%;
    display: none;
}

.custom-radio input:checked~.radio-mark .radio-inner {
    display: block;
}

.radio-label {
    font-family: 'Noto Sans Armenian', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 27px;
    color: #6E6E6E;
}

/* Form Input */
.form-group-input {
    width: 100%;
}

.text-input {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid #6E6E6E;
    padding: 10px 0;
    font-family: 'Noto Sans Armenian', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 27px;
    color: #6E6E6E;
    outline: none;
}

.text-input::placeholder {
    color: #6E6E6E;
}

/* Submit Button */
.rsvp-submit {
    width: 100%;
    height: 61px;
    background: linear-gradient(59.32deg, #D5C1A7 -14.57%, rgba(137, 115, 93, 0.8) 95.28%, #B9A48B 100%);
    border-radius: 84px;
    border: none;
    font-family: 'Noto Sans Armenian', sans-serif;
    font-weight: 400;
    font-size: 22px;
    line-height: 30px;
    color: #FFFFFF;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.rsvp-submit:hover {
    opacity: 0.9;
}

/* ===== Mobile RSVP Section ===== */
@media (max-width: 480px) {
    .rsvp-section {
        min-height: 0;
        height: auto;
        padding-bottom: 20px;
    }

    .rsvp-bg::after {
        background: rgba(247, 247, 247, 0.1);
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
    }

    .rsvp-content {
        padding: 40px 20px;
    }

    .invitation-block {
        width: 100%;
        gap: 20px;
    }

    .invitation-title {
        font-size: 24px;
        line-height: 33px;
    }

    .invitation-description {
        font-size: 18px;
        line-height: 24px;
    }

    .event-details {
        gap: 30px;
        margin-top: 30px;
    }

    .event-date {
        font-size: 32px;
        line-height: 44px;
    }

    .event-venue {
        font-size: 30px;
        line-height: 41px;
    }

    .location-btn {
        width: 100%;
        max-width: 335px;
        height: 54px;
        font-size: 22px;
        line-height: 30px;
    }

    .dress-code-section {
        gap: 20px;
        margin-top: 40px;
    }

    .dress-code-title {
        font-size: 30px;
        line-height: 41px;
    }

    .color-circles {
        gap: 20px;
    }

    .color-circle {
        width: 90px;
        height: 90px;
    }

    .rsvp-notice {
        width: 100%;
        font-size: 24px;
        line-height: 33px;
        margin-top: 40px;
    }

    .rsvp-form {
        width: 100%;
        gap: 30px;
        margin-top: 30px;
    }

    .form-group-radio {
        gap: 20px;
    }

    .question-label {
        font-size: 18px;
        line-height: 24px;
    }

    .radio-options {
        gap: 14px;
    }

    .radio-mark {
        width: 26px;
        height: 26px;
    }

    .radio-inner {
        width: 14px;
        height: 14px;
    }

    .radio-label {
        font-size: 16px;
        line-height: 22px;
    }

    .text-input {
        font-size: 16px;
        line-height: 22px;
    }

    .rsvp-submit {
        height: 54px;
        font-size: 18px;
        line-height: 24px;
    }
}

/* Extra small mobile */
@media (max-width: 375px) {
    .hero-photo-wrapper {
        left: 10px;
        width: 220px;
        height: 330px;
    }

    .age-wrapper {
        width: 100px;
        height: 100px;
        left: auto;
        right: 10px;
        top: 500px;
    }

    .age-number {
        font-size: 80px;
        line-height: 100px;
    }

    .title-wrapper {
        top: 420px;
    }

    .party-title {
        font-size: 40px;
    }
}