/* Gotham Font Family */
@font-face {
    font-family: 'Gotham';
    src: url('fonts/GothamSSm/gothamcondssm_light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Gotham';
    src: url('fonts/GothamSSm/gothamcondssm_medium.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Gotham';
    src: url('fonts/GothamSSm/gothamcondssm_mediumitalic.otf') format('opentype');
    font-weight: 400;
    font-style: italic;
}

@font-face {
    font-family: 'Gotham';
    src: url('fonts/GothamSSm/gothamcondssm_bold.otf') format('opentype');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Gotham';
    src: url('fonts/GothamSSm/gothamcondssm_bolditalic.otf') format('opentype');
    font-weight: 600;
    font-style: italic;
}

@font-face {
    font-family: 'Gotham';
    src: url('fonts/GothamSSm/gothamcondssm_black.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
}

/* Basis Grotesque Font Family */
@font-face {
    font-family: 'Basis Grotesque';
    src: url('fonts/BasisGrotesque/BasisGrotesqueArabicPro-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Basis Grotesque';
    src: url('fonts/BasisGrotesque/BasisGrotesqueArabicPro-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Basis Grotesque';
    src: url('fonts/BasisGrotesque/BasisGrotesqueArabicPro-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Basis Grotesque';
    src: url('fonts/BasisGrotesque/BasisGrotesqueArabicPro-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Basis Grotesque';
    src: url('fonts/BasisGrotesque/BasisGrotesqueArabicPro-Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
}

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

body {
    /* font-family: 'Basis Grotesque', 'Gotham', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; */
    font-family: 'Basis Grotesque';
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='32' height='32' style='font-size: 24px;'><text y='24'>🪄</text></svg>") 4 4, auto;
}

/* Landing Page Styles */
.landing-page {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: url('img/background2.jpeg') top/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 1;
    visibility: visible;
}

.landing-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(17, 20, 25, 0.7);
    /* Noir de Vigne overlay */
}

.landing-content {
    position: relative;
    z-index: 1001;
    text-align: center;
}

.landing-card {
    background: rgba(40, 65, 57, 0.15);
    /* Emerald Green with transparency */
    backdrop-filter: blur(10px);
    border: 2px solid #284139;
    /* Emerald Green border */
    border-radius: 20px;
    padding: 60px 40px;
    max-width: 500px;
    width: 90%;
    animation: fadeIn 3s ease-in-out;
}

.landing-title {
    font-family: 'Dancing Script', cursive;
    font-size: 4rem;
    color: #f0e4de;
    /* Creased Khaki for elegant contrast */
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(17, 20, 25, 0.5);
}

.landing-subtitle {
    font-size: 1.3rem;
    color: #a4b792;
    /* Wasabi for subtitle */
    margin-bottom: 30px;
    /* font-style: italic; */
}

.landing-date {
    font-size: 1.5rem;
    color: #c8b9b3;
    /* Creased Khaki */
    font-weight: 600;
    margin-bottom: 25px;
    letter-spacing: 1px;
}

.landing-message {
    font-size: 1rem;
    line-height: 1.6;
    color: #c8b9b3;
    /* Creased Khaki */
    margin: 0 auto 35px;
    max-width: 500px;
    padding: 15px 20px;
    background: rgba(40, 65, 57, 0.4);
    border-radius: 10px;
    border: 1px solid rgba(128, 144, 118, 0.3);
    font-weight: 400;
}

/* Slider Button Container */
.slider-container {
    position: relative;
    width: 280px;
    height: 60px;
    background: rgba(40, 65, 57, 0.3);
    /* Emerald Green background */
    border: 2px solid #284139;
    /* Emerald Green border */
    border-radius: 35px;
    margin: 0 auto;
    overflow: hidden;
    cursor: pointer;
    user-select: none;
}

.slider-track {
    position: absolute;
    top: 4px;
    left: 4px;
    width: calc(100% - 8px);
    height: calc(100% - 8px);
    background: linear-gradient(90deg, transparent 0%, rgba(128, 144, 118, 0.1) 50%, rgba(248, 231, 164, 0.2) 100%);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-button {
    position: absolute;
    top: 4px;
    left: 4px;
    width: 52px;
    height: 52px;
    background: linear-gradient(45deg, #B86830, #F8E7A4);
    /* Egyptian Earth to Creased Khaki */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(184, 104, 48, 0.4);
    cursor: grab;
}

.slider-button:active {
    cursor: grabbing;
}

.slider-button::after {
    content: '→';
    font-size: 1.5rem;
    color: #111419;
    /* Noir de Vigne for contrast */
    font-weight: bold;
}

.slider-text {
    font-family: 'Work Sans', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #F8E7A4;
    /* Creased Khaki */
    letter-spacing: 1px;
    margin-left: 60px;
    transition: all 0.3s ease;
}

.slider-container.completed .slider-button {
    left: calc(100% - 56px);
    background: linear-gradient(45deg, #f4d03f, #d4af37);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.6);
}

.slider-container.completed .slider-text {
    opacity: 0;
    transform: translateX(-20px);
}

/* Full Invitation Styles */
.full-invitation {
    min-height: 100vh;
    background: url('img/background2.jpeg') top/cover no-repeat fixed;
    position: relative;
    display: none;
    opacity: 0;
    transition: background-image 0.5s ease-in-out;
}

/* Fixed background using pseudo-element for better mobile support */
.full-invitation::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('img/background2.jpeg') top/cover no-repeat;
    z-index: -1;
}

.full-invitation.clear-background {
    /* background: url('img/background-clear.jpeg') center/cover no-repeat fixed; */
    min-height: 100vh;
    background: url('img/background-clear2.jpeg') top/cover no-repeat fixed;
    position: relative;
}

.full-invitation.clear-background::before {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('img/background-clear2.jpeg2') top/cover no-repeat;
    /* background: url('img/background-clear.jpeg') center/cover no-repeat; */
}

/* Tablet/iPad optimization for clear background */
@media (min-width: 769px) and (max-width: 1024px) {
    .full-invitation.clear-background {
        background: url('img/background-clear.jpeg') center center no-repeat;
        background-attachment: fixed;
        background-size: cover;
        background-color: #f5f5f5;
    }

    .full-invitation.clear-background::before {
        background-size: cover;
    }

    .landing-message {
        font-size: 1.1rem;
        max-width: 450px;
        padding: 18px 25px;
    }
}

/* Mobile optimization for clear background */
@media (max-width: 768px) {
    /* .full-invitation.clear-background {
        background: url('img/background-clear.jpeg') center center no-repeat;
        background-attachment: fixed;
        background-size: auto 100vh;
        background-color: #f5f5f5;
    } */

    .full-invitation.clear-background {
        position: relative;
        background-color: #f5f5f5;
        overflow: hidden;
    }

    .full-invitation.clear-background::before {
        content: "";
        position: fixed; /* works reliably on iOS */
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: url('img/background-clear.jpeg') center center no-repeat;
        background-size: cover;
        z-index: -1; /* behind content */
    }
}

/* .background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.25);
    z-index: -1;
} */



.container {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.invitation-card {
    background: rgba(239, 226, 175, 0.5);
    /* Creased Khaki with transparency */
    backdrop-filter: blur(3px);
    border-radius: 20px;
    padding: 40px;
    max-width: 600px;
    width: 100%;
    box-shadow: 0 20px 40px rgba(17, 20, 25, 0.4);
    border: 2px solid rgba(40, 65, 57, 0.8);
    /* Emerald Green border */
    position: relative;
    animation: fadeIn 1.5s ease-in-out;
}

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

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

.hogwarts-crest {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 24px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.hogwarts-crest:hover {
    transform: scale(1.2) rotate(10deg);
}

.header {
    text-align: center;
    margin-bottom: 30px;
}

.couple-names {
    font-family: 'Dancing Script', cursive;
    font-size: 3.5rem;
    color: #284139;
    /* Emerald Green */
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(17, 20, 25, 0.2);
}

.subtitle {
    font-size: 1.2rem;
    color: #2c1810;
    /* Noir de Vigne */
    /* font-style: italic; */
}

.main-content {
    text-align: center;
}

.wedding-details {
    margin: 30px 0;
    padding: 20px;
    background: rgba(40, 65, 57, 0.1);
    /* Emerald Green background */
    border-radius: 15px;
    border: 1px solid rgba(40, 65, 57, 0.4);
    /* Emerald Green border */
}

.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 15px 0;
    font-size: 1.1rem;
}

.label {
    font-weight: 600;
    color: #284139;
    /* Emerald Green */
}

.value {
    color: #111419;
    /* Noir de Vigne */
    /* font-style: italic; */
}

.magic-elements {
    position: relative;
    height: 20px;
    margin: 20px 0 0 0;
}

.floating-element {
    position: absolute;
    font-size: 20px;
    animation: float 3s ease-in-out infinite;
}

.floating-element:nth-child(1) {
    left: 20%;
    animation-delay: 0s;
}

.floating-element:nth-child(2) {
    left: 50%;
    animation-delay: 1s;
}

.floating-element:nth-child(3) {
    left: 80%;
    animation-delay: 2s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

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

.quote {
    margin: 30px 0;
    padding: 20px;
    background: rgba(139, 69, 19, 0.05);
    border-left: 4px solid rgba(139, 69, 19, 0.6);
    border-radius: 0 10px 10px 0;
}

/* Readable content box - reusable class for announcements */
.readable-box {
    padding: 20px 30px;
    background: rgba(255, 255, 255, 0.85);
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(40, 65, 57, 0.2);
    margin: 25px auto;
    max-width: 800px;
}

/* Schedule section */
.schedule-section {
    font-size: 1rem;
    line-height: 1.6;
    color: #1a3320;
}

.schedule-section h3 {
    font-size: 1.3rem;
    color: #2c5530;
    margin-bottom: 15px;
    text-align: center;
    font-weight: 600;
}

.schedule-section .schedule-item {
    margin: 10px 0;
    padding-left: 20px;
    position: relative;
}

.schedule-section .schedule-item::before {
    content: "✨";
    position: absolute;
    left: 0;
    top: 0;
}

.schedule-section .schedule-time {
    font-weight: 600;
    color: #2c5530;
}

.schedule-section .schedule-note {
    font-style: italic;
    color: #2c5530;
    font-size: 0.9rem;
    margin-top: 5px;
}

.quote p {
    font-size: 1.2rem;
    font-style: italic;
    color: #2c1810;
    margin-bottom: 10px;
}

.quote small {
    color: #5a4a3a;
    font-size: 0.9rem;
}

/* Kids Note Section */
.kids-note {
    text-align: left;
}

.kids-note h3 {
    color: #2c5530;
    margin-bottom: 20px;
    text-align: center;
    font-size: 1.3rem;
    font-weight: 600;
}

.kids-note p {
    margin-bottom: 15px;
    line-height: 1.7;
    color: #1a3320;
}

.readable-box.kids-note {
    background: rgba(40, 65, 57, 0.08);
    margin: 30px 0;
    padding: 25px;
    border-radius: 15px;
    border: 2px solid rgba(40, 65, 57, 0.4);
    backdrop-filter: blur(5px);
    text-align: left;
}

.kids-note .kids-exception {
    padding: 15px;
    margin: 15px 0 0 0;
    /* font-style: italic; */
    color: #5a4a3a;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 10px;
    border: 1px solid rgba(40, 65, 57, 0.2);
}

/* Dress Code Section */
.dress-code-section {
    text-align: left;
}

.dress-code-section h3 {
    color: #2c5530;
    margin-bottom: 20px;
    text-align: center;
    font-size: 1.3rem;
    font-weight: 600;
}

.dress-code-section p {
    margin-bottom: 15px;
    line-height: 1.7;
    color: #1a3320;
}

.dress-code-section .dress-code-details {
    background: rgba(40,65,57, 0.08);
    border-left: 4px solid #2c5530;
    padding: 15px;
    margin: 15px 0;
    border-radius: 8px;
}

.dress-code-section .dress-code-details p {
    margin-bottom: 0;
}

.dress-code-section .color-burgundy {
    color: #8B0000;
    font-weight: 600;
}

.dress-code-section .color-gold {
    color: #d4af37;
    font-weight: 600;
}

.dress-code-section .color-brass {
    color: #b5a642;
    font-weight: 600;
}

.dress-code-section .color-green {
    color: #2c5530;
    font-weight: 600;
}

.dress-code-section .dress-code-note {
    /* font-style: italic; */
    color: #5a4a3a;
    margin-bottom: 0;
}

/* Gringotts Vault Section */
.gringotts-section {
    text-align: center;
}

.gringotts-section h3 {
    color: #2c5530;
    margin-bottom: 20px;
    font-size: 1.3rem;
    font-weight: 600;
}

.gringotts-section p {
    margin-bottom: 15px;
    line-height: 1.7;
    color: #1a3320;
}

.gringotts-section .revolut-link-container {
    margin: 20px 0;
}

.gringotts-section .revolut-link {
    display: inline-block;
    color: #2c5530;
    text-decoration: none;
    font-weight: 600;
    padding: 10px 20px;
    border: 2px solid #2c5530;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.gringotts-section .revolut-link:hover {
    background: #2c5530;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(44, 85, 48, 0.3);
    text-decoration: none;
}

.gringotts-section .gringotts-note-highlight {
    background: rgba(212, 175, 55, 0.1);
    border-left: 4px solid #d4af37;
    padding: 15px;
    margin: 15px 0 0 0;
    border-radius: 8px;
    font-style: italic;
    color: #5a4a3a;
    text-align: left;
}

/* Email Lookup Section */
.email-lookup-section {
    text-align: center;
}

.email-lookup-section h3 {
    color: #2c5530;
    margin-bottom: 15px;
    font-size: 1.3rem;
    font-weight: 600;
}

.email-lookup-section p {
    margin-bottom: 20px;
    color: #1a3320;
}

.email-lookup-form {
    display: flex;
    gap: 10px;
    max-width: 500px;
    margin: 0 auto 15px;
}

.email-lookup-form input[type="email"] {
    flex: 1;
    padding: 12px 15px;
    border: 2px solid rgba(40, 65, 57, 0.4);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.email-lookup-form input[type="email"]:focus {
    outline: none;
    border-color: #2c5530;
    box-shadow: 0 0 0 3px rgba(40, 65, 57, 0.1);
}

.email-lookup-btn {
    padding: 12px 25px;
    background: linear-gradient(45deg, rgba(40, 65, 57, 0.9), rgba(128, 144, 118, 0.9));
    color: #FAF5EB;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.email-lookup-btn:hover {
    background: linear-gradient(45deg, rgba(128, 144, 118, 0.9), rgba(40, 65, 57, 0.9));
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(40, 65, 57, 0.3);
}

.email-lookup-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.email-lookup-message {
    margin-top: 15px;
    padding: 12px;
    border-radius: 8px;
    font-weight: 500;
    display: none;
}

.rsvp-section {
    margin: 30px 0;
    padding: 25px;
    background: rgba(40, 65, 57, 0.08);
    /* Emerald Green background */
    border-radius: 15px;
    border: 2px solid rgba(40, 65, 57, 0.4);
    /* Emerald Green border */
    backdrop-filter: blur(5px);
}

.rsvp-section h3 {
    color: #284139;
    /* Emerald Green */
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.rsvp-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 20px;
}

.rsvp-btn {
    padding: 12px 25px;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Work Sans', sans-serif;
}

.yes-btn {
    background: linear-gradient(45deg, rgba(40, 65, 57, 0.9), rgba(128, 144, 118, 0.9));
    /* Emerald Green to Wasabi */
    color: #F8E7A4;
    /* Creased Khaki text */
    backdrop-filter: blur(3px);
    /* border: 1px solid rgba(40, 65, 57, 0.7); */
}

.yes-btn:hover {
    background: linear-gradient(45deg, rgba(128, 144, 118, 0.95), rgba(40, 65, 57, 0.95));
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(40, 65, 57, 0.6);
    color: white;
}

.no-btn {
    background: linear-gradient(45deg, rgba(184, 104, 48, 0.9), rgba(17, 20, 25, 0.9));
    /* Egyptian Earth to Noir de Vigne */
    color: #F8E7A4;
    /* Creased Khaki text */
    backdrop-filter: blur(3px);
}

.no-btn:hover {
    background: linear-gradient(45deg, rgba(17, 20, 25, 0.95), rgba(184, 104, 48, 0.95));
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(184, 104, 48, 0.4);
}

/* Disabled button states (if needed in future) */
.rsvp-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

.rsvp-btn:disabled:hover {
    transform: none !important;
    box-shadow: none !important;
}

/* Google Maps Section */
.maps-section {
    margin: 30px 0;
    padding: 25px;
    background: rgba(40, 65, 57, 0.08);
    /* Emerald Green background */
    border-radius: 15px;
    border: 2px solid rgba(40, 65, 57, 0.4);
    /* Emerald Green border */
    backdrop-filter: blur(5px);
    text-align: center;
}

.maps-section h3 {
    color: #284139;
    /* Emerald Green */
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.maps-section p {
    color: #111419;
    /* Noir de Vigne */
    margin-bottom: 20px;
    font-size: 1rem;
}

.maps-link {
    display: inline-block;
    background: linear-gradient(45deg, #284139, #809076);
    /* Emerald Green to Wasabi */
    color: #FAF5EB;
    /* Creased Khaki text */
    text-decoration: none;
    padding: 12px 25px;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 600;
    font-family: 'Work Sans', sans-serif;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(40, 65, 57, 0.3);
    margin-bottom: 15px;
}

.maps-link:hover {
    background: linear-gradient(45deg, #809076, #284139);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 65, 57, 0.5);
    text-decoration: none;
    color: white;
}

.maps-note {
    font-size: 0.9rem;
    color: #809076;
    /* Wasabi */
    font-style: italic;
    margin-top: 10px;
    margin-bottom: 0;
}

/* Accommodations Section */
.accommodations-section {
    margin: 30px 0;
    padding: 25px;
    background: rgba(40, 65, 57, 0.08);
    border-radius: 15px;
    border: 2px solid rgba(40, 65, 57, 0.4);
    backdrop-filter: blur(5px);
    text-align: left;
}

.accommodations-section h3 {
    color: #284139;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.accommodations-section > p {
    line-height: 1.7;
    color: #1a3320;
    margin-bottom: 20px;
    font-size: 1rem;
}

.accommodation-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.accommodation-item {
    padding: 15px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 10px;
    border: 1px solid rgba(40, 65, 57, 0.2);
}

.accommodation-item strong {
    display: block;
    color: #284139;
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.accommodation-item a {
    display: block;
    color: #809076;
    text-decoration: none;
    font-size: 0.95rem;
    margin-bottom: 8px;
    word-break: break-all;
    transition: color 0.3s ease;
}

.accommodation-item a:hover {
    color: #284139;
    text-decoration: underline;
}

.accommodation-note {
    margin-top: 8px;
    margin-bottom: 0;
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
    line-height: 1.4;
}

.group-rate-highlight {
    margin-top: 12px;
    padding: 12px 15px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15), rgba(248, 231, 164, 0.2));
    border-left: 4px solid #d4af37;
    border-radius: 8px;
    font-size: 0.95rem;
    color: #5a4a3a;
    line-height: 1.5;
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.1);
}

.group-rate-highlight strong {
    color: #8B0000;
    font-weight: 600;
    display: inline;
}

/* Travel Section */
.travel-section {
    text-align: left;
}

.travel-section h3 {
    color: #2c5530;
    margin-bottom: 20px;
    text-align: center;
    font-size: 1.3rem;
    font-weight: 600;
}

.travel-section p {
    margin-bottom: 15px;
    line-height: 1.7;
    color: #1a3320;
}

.travel-section .important-note {
    background: rgba(255, 193, 7, 0.15);
    border-left: 4px solid #ffc107;
    padding: 15px;
    margin: 20px 0;
    border-radius: 8px;
}

.travel-section .important-note p {
    margin-bottom: 0;
    color: #856404;
}

.travel-section .travel-link {
    text-align: center;
    margin-top: 20px;
    margin-bottom: 0;
}

.travel-section .travel-link a {
    display: inline-block;
    color: #2c5530;
    text-decoration: none;
    font-weight: 600;
    padding: 10px 20px;
    border: 2px solid #2c5530;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.travel-section .travel-link a:hover {
    background: #2c5530;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(44, 85, 48, 0.3);
}

.rsvp-message {
    margin-top: 15px;
    padding: 15px;
    border-radius: 10px;
    font-weight: 600;
    display: none;
    text-align: center;
    font-size: 1rem;
    line-height: 1.4;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.rsvp-message.success {
    background: rgba(164, 183, 146, 0.8);
    color: #155724;
    /* border: 2px solid rgba(195, 230, 203, 0.6); */
    backdrop-filter: blur(5px);
}

.rsvp-message.error {
    background: rgba(248, 215, 218, 0.8);
    color: #721c24;
    /* border: 2px solid rgba(245, 198, 203, 0.6); */
    backdrop-filter: blur(5px);
}

/* Neutral/info banner for not set */
.rsvp-message.info {
    background: rgba(209, 236, 241, 0.8);
    color: #0c5460;
    border: 2px solid rgba(190, 229, 235, 0.6);
    backdrop-filter: blur(5px);
}

.footer {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #d4af37;
}

.mischief {
    color: #5a4a3a;
    font-style: italic;
    font-size: 0.9rem;
}

/* Save the Date Section */
.save-date-section {
    margin: 30px 0;
    text-align: center;
}

.save-date-btn {
    background: linear-gradient(45deg, #284139, #809076);
    /* Emerald Green to Wasabi */
    color: #FAF5EB;
    /* Creased Khaki text */
    border: none;
    padding: 15px 30px;
    border-radius: 30px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Work Sans', sans-serif;
    box-shadow: 0 5px 15px rgba(40, 65, 57, 0.3);
    margin-bottom: 10px;
}

.save-date-btn:hover {
    background: linear-gradient(45deg, #809076, #284139);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(40, 65, 57, 0.5);
}

.save-date-text {
    color: #5a4a3a;
    font-style: italic;
    font-size: 0.9rem;
    margin-top: 10px;
}

/* Calendar Modal */
.calendar-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    animation: fadeIn 0.3s ease-in-out;
}

.calendar-modal-content {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border: 2px solid #d4af37;
    position: relative;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid #d4af37;
    padding-bottom: 15px;
}

.modal-header h3 {
    color: #2c1810;
    font-size: 1.4rem;
    margin: 0;
}

.close-modal {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #5a4a3a;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.close-modal:hover {
    background: rgba(212, 175, 55, 0.2);
    color: #2c1810;
}

.modal-body p {
    color: #2c1810;
    margin-bottom: 20px;
    text-align: center;
}

.calendar-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.calendar-btn {
    background: linear-gradient(45deg, #d4af37, #f4d03f);
    color: #2c1810;
    border: none;
    padding: 12px 20px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Work Sans', sans-serif;
}

.calendar-btn:hover {
    background: linear-gradient(45deg, #f4d03f, #d4af37);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
}

.google-cal {
    background: linear-gradient(45deg, #4285f4, #34a853);
    color: white;
}

.google-cal:hover {
    background: linear-gradient(45deg, #34a853, #4285f4);
}

.outlook-cal {
    background: linear-gradient(45deg, #0078d4, #106ebe);
    color: white;
}

.outlook-cal:hover {
    background: linear-gradient(45deg, #106ebe, #0078d4);
}

.download-cal {
    background: linear-gradient(45deg, #8b4513, #a0522d);
    color: white;
}

.download-cal:hover {
    background: linear-gradient(45deg, #a0522d, #8b4513);
}

.modal-note {
    font-size: 0.85rem;
    color: #5a4a3a;
    font-style: italic;
    text-align: center;
    margin: 0;
}

/* Dietary Requirements Modal */
.dietary-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1002;
    animation: fadeIn 0.3s ease-in-out;
}

.dietary-modal-content {
    background: rgba(255, 250, 240, 0.95);
    /* Creased Khaki background */
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    max-width: 450px;
    width: 90%;
    box-shadow: 0 20px 40px rgba(17, 20, 25, 0.4);
    border: 2px solid rgba(40, 65, 57, 0.8);
    /* Emerald Green border */
    position: relative;
}

.dietary-options {
    margin: 20px 0;
}

.dietary-option {
    display: flex;
    align-items: center;
    margin: 12px 0;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: background-color 0.2s ease;
}

.dietary-option:hover {
    background: rgba(40, 65, 57, 0.1);
}

.dietary-option input[type="radio"] {
    margin-right: 10px;
    transform: scale(1.2);
    accent-color: #284139;
    /* Emerald Green */
}

.dietary-option span {
    color: #111419;
    /* Noir de Vigne */
    font-weight: 500;
}

.halal-note {
    background: rgba(40, 65, 57, 0.15);
    color: #284139;
    padding: 12px;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    margin: 15px 0;
    border: 1px solid rgba(40, 65, 57, 0.3);
    font-size: 1rem;
}

/* Allergies Section */
.allergies-section {
    border-top: 2px solid rgba(40, 65, 57, 0.2);
    padding-top: 20px;
}

.allergies-radio {
    display: flex;
    gap: 15px;
    margin: 10px 0;
}

.allergies-option {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    border: 2px solid rgba(40, 65, 57, 0.3);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
}

.allergies-option:hover {
    background: rgba(40, 65, 57, 0.1);
    border-color: rgba(40, 65, 57, 0.5);
}

.allergies-option input[type="radio"] {
    margin-right: 10px;
    transform: scale(1.2);
    cursor: pointer;
}

.allergies-option span {
    color: #111419;
    font-weight: 500;
}

.allergies-input-container textarea {
    font-size: 0.95rem;
    resize: vertical;
    min-height: 60px;
}

.allergies-input-container textarea:focus {
    outline: none;
    border-color: #284139;
    box-shadow: 0 0 0 3px rgba(40, 65, 57, 0.1);
}

.modal-buttons {
    text-align: center;
    margin-top: 25px;
}

.confirm-dietary-btn {
    background: linear-gradient(45deg, #284139, #809076);
    /* Emerald Green to Wasabi */
    color: #FAF5EB;
    /* Creased Khaki text */
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Cinzel', serif;
    box-shadow: 0 4px 15px rgba(40, 65, 57, 0.3);
}

.confirm-dietary-btn:hover {
    background: linear-gradient(45deg, #809076, #284139);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 65, 57, 0.5);
}

/* Dietary Requirements Modal */
.dietary-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1002;
    animation: fadeIn 0.3s ease-in-out;
}

.dietary-modal-content {
    background: rgba(255, 250, 240, 0.95);
    /* Creased Khaki background */
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    max-width: 450px;
    width: 90%;
    box-shadow: 0 20px 40px rgba(17, 20, 25, 0.4);
    border: 2px solid rgba(40, 65, 57, 0.8);
    /* Emerald Green border */
    position: relative;
}

.dietary-options {
    margin: 20px 0;
}

.dietary-option {
    display: flex;
    align-items: center;
    margin: 12px 0;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: background-color 0.2s ease;
}

.dietary-option:hover {
    background: rgba(40, 65, 57, 0.1);
}

.dietary-option input[type="radio"] {
    margin-right: 10px;
    transform: scale(1.2);
    accent-color: #284139;
    /* Emerald Green */
}

.dietary-option span {
    color: #111419;
    /* Noir de Vigne */
    font-weight: 500;
}

.halal-note {
    background: rgba(40, 65, 57, 0.1);
    color: #284139;
    padding: 10px;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    margin: 15px 0;
    border: 1px solid rgba(40, 65, 57, 0.3);
}

.modal-buttons {
    text-align: center;
    margin-top: 25px;
}

.confirm-dietary-btn {
    background: linear-gradient(45deg, #284139, #809076);
    /* Emerald Green to Wasabi */
    color: #FAF5EB;
    /* Creased Khaki text */
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Cinzel', serif;
    box-shadow: 0 4px 15px rgba(40, 65, 57, 0.3);
}

.confirm-dietary-btn:hover {
    background: linear-gradient(45deg, #809076, #284139);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 65, 57, 0.5);
}

/* Responsive Design */
@media (max-width: 768px) {

    /* Landing Page Mobile Styles */
    .landing-page {
        align-items: flex-start;
        padding-top: 10vh;
    }

    .landing-content {
        width: 100%;
        padding: 0 10px;
    }

    .landing-card {
        width: 100%;
        max-width: 340px;
        padding: 30px 20px;
        margin: 0 auto;
        box-sizing: border-box;
    }

    .landing-title {
        font-size: 2.8rem;
    }

    .landing-subtitle {
        font-size: 1rem;
    }

    .landing-date {
        font-size: 1.2rem;
        margin-bottom: 20px;
    }

    .landing-message {
        font-size: 0.9rem;
        max-width: 280px;
        padding: 12px 15px;
        margin-bottom: 25px;
    }

    .slider-container {
        width: 240px;
        height: 50px;
    }

    .slider-button {
        width: 42px;
        height: 42px;
    }

    .slider-button::after {
        font-size: 1.2rem;
    }

    .slider-text {
        font-size: 0.85rem;
        margin-left: 50px;
    }

    /* Invitation Card Mobile Styles */
    .invitation-card {
        padding: 25px;
        /* margin: 10px; */
        /* font-size: 0.9rem; */
    }

    .couple-names {
        font-size: 2.5rem;
    }

    .subtitle {
        /* font-size: 1rem; */
    }

    .readable-box {
        padding: 15px 20px;
        /* font-size: 0.9rem; */
    }

    .readable-box h3 {
        /* font-size: 1.1rem; */
    }

    .readable-box p {
        /* font-size: 0.9rem; */
    }

    .detail-item {
        flex-direction: column;
        text-align: center;
        gap: 5px;
        /* font-size: 0.95rem; */
    }

    .quote p {
        /* font-size: 1rem; */
    }

    .quote small {
        /* font-size: 0.85rem; */
    }

    .rsvp-buttons {
        flex-direction: column;
        align-items: center;
    }

    .rsvp-btn {
        width: 100%;
        max-width: 250px;
        font-size: 0.9rem;
    }

    .save-date-btn {
        font-size: 1rem;
        padding: 12px 25px;
    }

    .save-date-text {
        /* font-size: 0.85rem; */
    }

    .calendar-modal-content {
        padding: 20px;
        margin: 20px;
    }

    .modal-header h3 {
        font-size: 1.2rem;
    }

    /* Hogwarts Seal Mobile Styles */
    .hogwarts-seal {
        width: 120px;
        height: 85px;
    }

    .seal-instruction {
        font-size: 0.9rem;
        margin-top: 12px;
    }

    /* Email Lookup Form Mobile Styles */
    .email-lookup-form {
        flex-direction: column;
    }

    .email-lookup-btn {
        width: 100%;
    }
}

/* Audio Toggle Button */
.audio-toggle {
    position: fixed;
    top: 10px;
    right: 10px;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: 1px solid rgba(40, 65, 57, 0.2);
    background: rgba(100, 111, 95, 0.7);
    color: #284139;
    font-size: 1.0rem;
    cursor: pointer;
    z-index: 1003;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(40, 65, 57, 0.3);
    backdrop-filter: blur(5px);
    color: rgba(0, 0, 0, 0.6); /* last value is alpha: 0-1 */
}

.audio-toggle:hover {
    background: rgba(40, 65, 57, 0.9);
    color: #F8E7A4;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(40, 65, 57, 0.5);
}

.audio-toggle.playing {
    animation: musicPulse 2s ease-in-out infinite;
    color: rgba(0, 0, 0, 1);
}

.audio-toggle.muted {
    opacity: 0.7;
    background: rgba(184, 104, 48, 0.9);
}

@keyframes musicPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

/* Hogwarts Seal Experience */
.hogwarts-letter {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.seal-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.hogwarts-seal {
    position: relative;
    width: 140px;
    height: 100px;
    cursor: pointer;
    transition: all 0.3s ease;
    background-image: url('img/envelope.jpg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    filter: drop-shadow(0 8px 20px rgba(139, 69, 19, 0.6));
    border-radius: 8px;
    animation: envelopeFloat 3s ease-in-out infinite;
}

.seal-wax {
    /* Hide the old wax element since we're using the image */
    display: none;
}

.seal-stamp {
    /* Hide the old stamp element since we're using the image */
    display: none;
}

.hogwarts-seal:hover {
    transform: scale(1.05) rotate(1deg);
    filter: drop-shadow(0 12px 30px rgba(139, 69, 19, 0.8)) brightness(1.1) saturate(1.2);
}

.hogwarts-seal:active {
    transform: scale(0.98) rotate(-1deg);
    filter: drop-shadow(0 6px 15px rgba(139, 69, 19, 0.9)) brightness(1.2);
}

/* Add a subtle floating animation for the envelope */
@keyframes envelopeFloat {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-3px);
    }
}

.hogwarts-seal {
    animation: envelopeFloat 3s ease-in-out infinite;
}

.seal-instruction {
    font-family: 'Cinzel', serif;
    /* color: #8B4513; */
    color: #a4b792;
    font-size: 1rem;
    /* font-style: italic; */
    text-align: center;
    margin-top: 15px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Seal breaking animation */
.hogwarts-seal.breaking {
    animation: sealBreak 1s ease-out forwards;
}

@keyframes sealBreak {
    0% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }

    50% {
        transform: scale(1.2) rotate(5deg);
        opacity: 0.8;
    }

    100% {
        transform: scale(0) rotate(15deg);
        opacity: 0;
    }
}