:root {
    --primary-light: #e0f2fe;
    --primary-blue: #7dd3fc;
    --primary-dark: #0284c7;
    --text-main: #0f172a;
    --text-light: #475569;
    --glass-bg: rgba(255, 255, 255, 0.75);
    --glass-border: rgba(255, 255, 255, 0.8);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

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

html {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

html::-webkit-scrollbar {
    display: none;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: #072b4a;
    background-image: url('wedding_card_1024.PNG');
    background-size: 100vw auto;
    background-position: top center;
    background-attachment: fixed;
    min-height: 100vh;
    color: var(--text-main);
    overflow-x: hidden;
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}

/* Hide scrollbar for Chrome, Safari and Opera */
body::-webkit-scrollbar {
    display: none;
}

#snow-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
}

.hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    position: relative;
}

.scroll-prompt {
    position: absolute;
    bottom: 2rem;
    text-align: center;
    cursor: pointer;
    animation: fadeInUp 1s ease-out 1s both;
    color: #dcb869
}

.scroll-prompt p {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.scroll-prompt .arrow {
    font-size: 1.5rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

.rsvp-section-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
}

.hero {
    text-align: center;
    margin-bottom: 3rem;
    animation: fadeInDown 1s ease-out;
}

.title {
    font-size: 4rem;
    font-weight: 300;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
    color: #0f172a;
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.8);
}

.subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    color: #1e293b;
    text-shadow: 0 1px 5px rgba(255, 255, 255, 0.8);
}

.date {
    font-size: 1.5rem;
    margin-top: 0.25rem;
    font-weight: 600;
    color: var(--primary-dark);
    text-shadow: 0 1px 5px rgba(255, 255, 255, 0.8);
}

.rsvp-section {
    width: 100%;
    max-width: 450px;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: var(--glass-shadow);
    text-align: center;
    transition: all 0.3s ease;
}

.glass-panel h2 {
    font-weight: 300;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--primary-dark);
}

.form-step {
    display: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.form-step.active {
    display: block;
    opacity: 1;
}

.form-step>p {
    margin-bottom: 1.5rem;
    color: #334155;
}

.input-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.input-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #1e293b;
    font-size: 0.95rem;
}

input[type="text"],
select {
    width: 100%;
    padding: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.8);
    font-family: inherit;
    font-size: 1rem;
    color: var(--text-main);
    outline: none;
    transition: all 0.3s ease;
}

input[type="text"]:focus,
select:focus {
    border-color: var(--primary-blue);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(125, 211, 252, 0.2);
}

input[type="text"].error {
    border-color: #ef4444;
    background: #fef2f2;
}

input[type="text"].error:focus {
    border-color: #ef4444;
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.2);
}

.error-text {
    color: #ef4444;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: none;
}

.select-wrapper {
    position: relative;
}

.select-wrapper::after {
    content: '▼';
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: var(--primary-dark);
    font-size: 0.8rem;
}

select {
    appearance: none;
    cursor: pointer;
}

.radio-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.radio-card {
    position: relative;
    cursor: pointer;
}

.radio-card input {
    position: absolute;
    opacity: 0;
}

.card-content {
    display: block;
    padding: 1rem 0.5rem;
    text-align: center;
    background: rgba(255, 255, 255, 0.6);
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 12px;
    transition: all 0.2s ease;
    font-size: 0.9rem;
    font-weight: 600;
}

.radio-card input:checked+.card-content {
    background: white;
    border-color: var(--primary-blue);
    color: var(--primary-dark);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.primary-btn {
    width: 100%;
    padding: 1rem;
    border: none;
    border-radius: 12px;
    background: var(--primary-dark);
    color: white;
    font-size: 1rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(2, 132, 199, 0.3);
    margin-top: 0.5rem;
}

.primary-btn:hover {
    background: #0369a1;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(2, 132, 199, 0.4);
}

.primary-btn:active {
    transform: translateY(0);
}

.success-icon {
    font-size: 4rem;
    color: #10b981;
    margin-bottom: 1rem;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}


#mobile-bg-video {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    z-index: -1;
}

.desktop-hero {
    display: block;
}

.mobile-hero {
    display: none;
    text-align: center;
    color: #dcb869;
    font-family: 'Playfair Display', serif;
    animation: fadeIn 1.5s ease-out;
    position: absolute;
    top: 15vh;
    left: 5vw;
    width: 90vw;
    height: 32vh;
}

.mobile-hero .bismillah {
    font-size: 2vh;
    font-family: Arial, sans-serif;
    margin: 0;
}

.mobile-hero .translation {
    font-family: 'Outfit', sans-serif;
    font-size: 0.8vh;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #bfa564;
    margin: 0;
}

.mobile-hero .parents p {
    font-size: 1.2vh;
    margin: 0;
    line-height: 1.2;
}

.mobile-hero .ampersand {
    font-size: 1.2vh;
    margin: 0;
}

.mobile-hero .request {
    font-size: 1vh;
    margin: 0;
}

.mobile-hero .couple-names {
    font-family: 'Italianno', cursive;
    font-size: 2.8vh;
    font-weight: 400;
    color: #e5c575;
    line-height: 1.1;
    margin: 0;
}

.mobile-hero .couple-names .ampersand {
    font-family: 'Playfair Display', serif;
    font-size: 2vh;
}

.mobile-hero .details {
    margin: 0;
}

.mobile-hero .date-full,
.mobile-hero .location-full {
    font-style: italic;
    font-size: 1.1vh;
    margin: 0;
    line-height: 1.2;
}

.mobile-hero .events {
    font-family: 'Outfit', sans-serif;
    font-size: 1vh;
    color: #bfa564;
    line-height: 1.4;
    margin: 0;
}

.mobile-hero .events p {
    margin: 0;
}

.travel-section-wrapper {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
}

.travel-section {
    width: 100%;
    max-width: 1000px;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.travel-section .section-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 300;
    text-align: center;
    margin-bottom: 5rem;
    letter-spacing: 2px;
    color: #334155;
}

.travel-block {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 900px;
    margin: 0 auto 5rem auto;
    gap: 4rem;
}

.travel-icon {
    flex: 0 0 250px;
}

.travel-icon svg {
    width: 100%;
    height: auto;
}

.travel-content {
    flex: 1;
    text-align: start;
}

.travel-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #1e293b;
    font-weight: 600;
    text-align: center;
}

.travel-content p {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 0.25rem;
    color: #334155;
}

.discount-link {
    display: inline-block;
    color: var(--primary-dark);
    font-weight: 600;
    text-decoration: none;
    border: 2px solid var(--primary-dark);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    margin-top: 0.5rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
}

.discount-link:hover {
    background: var(--primary-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.2);
}

.lodging-item {
    background: rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.lodging-item:hover {
    background: rgba(255, 255, 255, 0.7);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.lodging-item h4 {
    font-size: 1.15rem;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
    font-weight: 600;
    line-height: 1.3;
}

.lodging-item .distance {
    display: inline-block;
    font-size: 0.9rem;
    color: var(--text-light);
    background: rgba(255, 255, 255, 0.6);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    margin-bottom: 0.5rem;
    font-family: 'Outfit', sans-serif;
}

.lodging-item .discount-link {
    margin-top: 1rem;
    margin-bottom: 0;
    display: block;
    width: fit-content;
}

@media (max-width: 600px) {
    body {
        background-image: none;
    }

    #mobile-bg-video {
        display: block;
    }

    .desktop-hero {
        display: none;
    }

    .mobile-hero {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
    }

    .scroll-prompt {
        color: #dcb869;
    }

    .title {
        font-size: 2.5rem;
    }

    .glass-panel {
        padding: 2rem;
    }

    .travel-section-wrapper {
        padding: 4rem 1rem;
    }

    .travel-section .section-title {
        font-size: 2.8rem;
        margin-bottom: 3rem;
    }

    .travel-block {
        flex-direction: column;
        gap: 2rem;
        margin-bottom: 4rem;
    }

    .travel-icon {
        flex: 0 0 auto;
        width: 150px;
    }

    .travel-content h3 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .travel-content p {
        font-size: 1.1rem;
    }
}