/* Wedding Website Styles - Light Pink & Purple Theme */
:root {
    --primary-pink: #f8d7da;
    --primary-purple: #e2d5f1;
    --accent-pink: #f5c2c7;
    --accent-purple: #d1a7dd;
    --dark-purple: #9b4dca;
    --dark-pink: #dc3545;
    --light-bg: #fdf8f9;
    --light-grey: #c3c3c3;
    --text-dark: #333;
    --text-light: #666;
    --white: #ffffff;
    --border-color: #e2d5f1;
    --super-light-purple: rgb(250 245 255 / var(--tw-bg-opacity, 1));
}

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

body {
    font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue",
        Helvetica, Arial, "Lucida Grande", sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-pink) 100%);
    min-height: 100vh;
}

/* List styling */
ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

li {
    margin-bottom: 0.5rem;
    list-style-type: disc;
    list-style-position: outside;
}

.w-100 {
    width: 100%;
}

.w-90 {
    width: 90%
}

.pt-5 {
    padding-top:5px;
}

.row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
    margin-top: 1rem
}

.column {
    display: flex;
    flex-direction: column;
    flex-basis: 100%;
    flex: 1;
}

.column-double-width {
    display: flex;
    flex-direction: column;
    flex: 2 0 0%; /* flex-grow: 2, flex-shrink: 0, flex-basis: 0% */
}

.horizontal-right-padded {
    padding: 0 1rem 0 0;
}

.top-padding {
    padding-top: 1rem;
}

.all-padding {
    padding: 1rem;
}

.bottom-padding {
    padding-bottom: 2rem;
}

.small-top-margin {
    margin-top: 1rem;
}

.small-bottom-margin {
    margin-bottom: 1rem;
}

.bottom-margin {
    margin-bottom: 3rem;
}

.top-margin {
    margin-top: 3rem;
}

hr.purple {
    border-width: 1px;
    border-color: var(--primary-purple);
    background-color: var(--primary-purple);
    border-style: solid;
}

/* Header & Navigation Combined */
header {
    background-color: white;
    padding: 1.5rem 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.fancy-font {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

.cursive-font {
    font-family: 'Dancing Script', cursive;
    font-weight: 400;
}

.purple-font {
    color: var(--dark-purple);
}

.huge-font {
    font-size: 3rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.big-font {
    font-size: 2rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.medium-font {
    font-size: 1.5rem;
    font-weight: 400;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.font-normal-weight {
    font-weight: 500;
}

.font-heavy-weight {
    font-weight: 700;
}


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

.logo-section h1 {
    font-size: 2.5rem;
    color: var(--dark-purple);
    margin: 0;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.5);
    font-weight: 700;
    font-family: 'Playfair Display', serif;
}

.logo-link {
    text-decoration: none;
    color: inherit;
}

.logo-link:hover {
    text-decoration: none;
    color: inherit;
}

.logo-link h1:hover {
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

.logo-section p {
    font-size: 0.9rem;
    color: var(--dark-purple);
    opacity: 0.8;
    font-style: italic;
    margin: 0;
    text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.3);
}

.header-nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

/* Remove the separate nav section */
nav {
    display: none;
}

.nav-link {
    text-decoration: none;
    color: var(--dark-purple);
    font-weight: 500;
    font-family: 'Playfair Display', serif;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-link:hover {
    background: var(--accent-purple);
    color: var(--white);
    border-color: var(--dark-purple);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(155, 77, 202, 0.3);
}

.nav-link.active {
    background: var(--super-light-purple);
    color: var(--dark-purple);
    border-color: var(--dark-purple);
    font-weight: 600;
}

/* Main Content */
main {
    margin: 0 auto;
    padding: 0;
}

/* Hero Section Styles */
.hero-section {
    padding: 0;
    animation: fadeInUp 0.8s ease-out;
}

.hero-content {
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    height: 500px;
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-pink) 100%);
}

.hero-image {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.castle-image {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Placeholder for missing image */
.hero-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-pink) 100%);
    z-index: -1;
}

.hero-image.placeholder-active::after,
.hero-image:not(:has(.couple-photo))::after {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 500;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    white-space: pre-line;
    z-index: 1;
    line-height: 1.6;
}

.couple-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top,
            rgba(0, 0, 0, 0.8) 0%,
            rgba(0, 0, 0, 0.4) 50%,
            transparent 100%);
    padding: 3rem 2rem 2rem 2rem;
    color: var(--white);
    text-align: center;
}

.hero-title {
    font-size: 3rem;
    font-weight: 300;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-family: 'Dancing Script', cursive;
}

.hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    font-style: italic;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Animation for hero section */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

/* Hide the placeholder text when image loads */
.couple-photo:not([src=""]):not([src*="placeholder"])+.hero-overlay::before {
    display: none;
}

.transparent-container {
    padding: 0 2rem;
    margin-bottom: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.container {
    background-color: rgb(0 0 0 / 0.2);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Timeline Toggle Styles */
.timeline-toggle-section {
    text-align: center;
    margin-bottom: 3rem;
}

.timeline-toggle-container {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Timeline Styles */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 2rem auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--light-bg) 0%, var(--light-bg) 100%);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    width: 50%;
    padding: 1rem;
    margin-bottom: 2rem;
}

.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
    text-align: left;
}

.timeline-content {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border: 2px solid var(--light-bg);
    position: relative;
}

.timeline-item:nth-child(odd) .timeline-content::after {
    content: '';
    position: absolute;
    right: -12px;
    top: 20px;
    width: 0;
    height: 0;
    border-left: 12px solid var(--light-bg);
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
}

.timeline-item:nth-child(even) .timeline-content::after {
    content: '';
    position: absolute;
    left: -12px;
    top: 20px;
    width: 0;
    height: 0;
    border-right: 12px solid var(--light-bg);
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
}

.timeline-date {
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--accent-purple);
    margin-bottom: 0.5rem;
}

.timeline-title {
    font-size: 1.3rem;
    color: var(--dark-purple);
    margin-bottom: 0.5rem;
}

.timeline-description {
    color: var(--text-light);
    line-height: 1.6;
}

.timeline-description img {
    width: 100%;
}

/* RSVP Styles */
.rsvp-form {
    max-width: 600px;
    margin: 0 auto;
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--dark-purple);
    font-weight: 500;
    font-size: 1.1rem;
}

input[type="text"],
input[type="password"],
input[type="email"],
textarea,
select {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--white);
    color: var(--text-dark);
}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--accent-purple);
    box-shadow: 0 0 10px rgba(155, 77, 202, 0.2);
    transform: translateY(-2px);
}

/* Password form styles */
.password-form {
    max-width: 500px;
    margin: 0 auto 2rem auto;
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 15px;
    border: 2px solid var(--primary-purple);
    box-shadow: 0 4px 15px rgba(155, 77, 202, 0.1);
}

.password-form .form-group {
    margin-bottom: 1.5rem;
}

.password-form input[type="password"] {
    text-align: center;
    font-size: 1.2rem;
}

.password-form input[type="password"]:focus {
    text-align: center;
}

/* Hide meal choice and dietary restrictions by default - will be shown when guest selects attending */
.meal-choice-group,
.dietary-restrictions-group {
    display: none;
}

.guest-list {
    background: var(--light-bg);
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    border: 2px solid var(--border-color);
}


.border {
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background: var(--white);
}

.guest-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    margin-bottom: 1rem;
}

.guest-name {
    font-weight: 500;
    color: var(--dark-purple);
}

.attendance-buttons {
    display: flex;
    gap: 0.5rem;
}

.btn-attendance {
    padding: 0.5rem 1rem;
    border: 2px solid var(--border-color);
    background: var(--white);
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-attendance:hover {
    background: var(--border-color);
}

.btn-attendance.yes {
    background: var(--primary-pink);
    border-color: var(--accent-pink);
}

.btn-attendance.no {
    background: var(--primary-purple);
    border-color: var(--accent-purple);
}

/* Button Styles */
button.btn {
    padding: 15px 30px;
}

.btn {
    display: inline-block;
    padding: 10px 30px 10px 30px;
    background: linear-gradient(135deg, var(--dark-purple) 0%, var(--dark-pink) 100%);
    color: var(--white);
    text-decoration: none;
    border-radius: 25px;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    text-align: center;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.btn-primary {
    background: var(--dark-purple);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-pink);
    border-color: var(--primary-pink);
    color: var(--dark-purple);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(155, 77, 202, 0.4);
}

.btn-secondary {
    background: var(--white);
    color: var(--dark-purple);
    border: 1px solid var(--light-grey);
}

.btn-secondary:hover {
    background: var(--primary-pink);
    border-color: var(--primary-pink);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 53, 69, 0.4);
}

/* Travel Guide Styles */
.travel-section {
    margin-bottom: 2rem;
}

.travel-section h2 {
    color: var(--dark-purple);
    margin-bottom: 1rem;
    font-size: 1.8rem;
}


.attraction-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.attraction-card {
    background: var(--light-bg);
    padding: 1.5rem;
    border-radius: 10px;
    border: 2px solid var(--border-color);
    transition: transform 0.3s ease;
}

.attraction-card img {
    width: 100%;
}

.attraction-card:hover {
    transform: translateY(-5px);
}

.attraction-card h4 {
    color: var(--dark-purple);
    margin-bottom: 0.5rem;
}

.attraction-card p {
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.attraction-distance {
    font-size: 0.9rem;
    color: var(--dark-pink);
    font-weight: 500;
}

/* Travel icon styles */
.card-with-icon {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.travel-icon {
    width: 48px !important;
    height: 48px !important;
    flex-shrink: 0;
    margin-top: 0.25rem;
    object-fit: contain;
}

.card-content {
    flex: 1;
}

/* Wedding Party Section */
.wedding-party-section {
    padding: 4rem 0;
}

.wedding-party-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin: 2rem 0;
    justify-items: center;
}

.couple-grid {
    max-width: 500px;
    margin: 2rem auto;
    grid-template-columns: repeat(2, 1fr);
}

.party-member {
    text-align: center;
    transition: transform 0.3s ease;
}

.party-member:hover {
    transform: translateY(-5px);
}

.party-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 1rem;
    border: 4px solid var(--light-pink);
    transition: border-color 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.wedding-party-section .couple-photo {
    width: 180px;
    height: 180px;
    border-width: 5px;
}

.party-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.party-member:hover .party-photo {
    border-color: var(--dark-pink);
}

.party-member:hover .party-photo img {
    transform: scale(1.05);
}

.party-member h4 {
    color: var(--dark-purple);
    font-size: 1.2rem;
    margin: 0.5rem 0 0.25rem;
    font-weight: 600;
    font-family: 'Playfair Display', serif;
}

.party-member p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
    font-style: italic;
}

/* Mobile responsive for wedding party */
@media (max-width: 1024px) {
    .wedding-party-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .wedding-party-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .couple-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .party-photo {
        width: 120px;
        height: 120px;
    }
    
    .wedding-party-section .couple-photo {
        width: 140px;
        height: 140px;
    }
    
    .party-member h4 {
        font-size: 1rem;
    }
    
    .party-member p {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .wedding-party-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .party-photo {
        width: 100px;
        height: 100px;
    }
    
    .wedding-party-section .couple-photo {
        width: 120px;
        height: 120px;
    }
}

/* Message Styles */
.message {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    text-align: center;
    font-weight: 500;
}

.message.success {
    background: var(--primary-pink);
    color: var(--dark-pink);
    border: 2px solid var(--accent-pink);
}

.message.error {
    background: var(--primary-purple);
    color: var(--dark-purple);
    border: 2px solid var(--accent-purple);
}

/* Footer */
footer {
    /*background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-pink) 100%);*/
    color: var(--dark-purple);
    text-align: center;
    padding: 0;
    margin-top: 0;
}

/* Home Page Specific Styles */
.home-hero {
    margin: 0 auto;
    padding: 0;
}

.home-hero-content {
    background: var(--primary-purple);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
    height: 550px;
}

.home-hero-image {
    position: relative;
    height: 100%;
    overflow: hidden;
}

.home-hero-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(155, 77, 202, 0.4) 0%, 
        rgba(220, 53, 69, 0.4) 140%);
    z-index: 1;
    pointer-events: none;
}

.home-hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top,
            rgba(0, 0, 0, 0.8) 0%,
            rgba(0, 0, 0, 0.4) 50%,
            transparent 100%);
    padding: 4rem 2rem 2rem 2rem;
    color: var(--white);
    text-align: center;
    z-index: 2;
}

.home-announcement {
    font-size: 3.5rem;
    font-weight: 300;
    margin-bottom: 0rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    font-family: "WindSong", cursive;
    line-height: 1.2;
}

.home-subdetails {
    margin-top: -5px;
    margin-bottom: 1rem;
}

.home-details {
    font-size: 1.4rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
    font-style: italic;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.home-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

section.white-bg {
    background: var(--white);
    padding: 2rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    border-radius: 0;
}

section.white-bg h2 {
    color: var(--dark-purple);
}

.countdown {
    padding: 0px 0;
    text-align: center;
}

.countdown h2 {
    font-size: 2rem;
    font-family: 'Dancing Script', cursive;
    margin-bottom: 1rem;
    color: var(--dark-purple);
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.time-unit {
    background: var(--light-bg);
    color: var(--text-dark);
    padding: 1rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    min-width: 120px;
}

.time-unit span {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--dark-purple);
}

.time-unit label {
    font-size: 1.2rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Mobile Styles for Home Page */
@media (max-width: 768px) {

    /* Timeline Toggle Mobile */
    .timeline-toggle-container {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }

    .timeline-toggle-btn {
        min-width: 250px;
        font-size: 1rem;
        padding: 0.875rem 1.5rem;
    }

    /* Home Page Mobile */
    .home-hero-content {
        height: 500px;
        border-radius: 15px;
    }

    .home-announcement {
        font-size: 2.5rem;
    }

    .home-details {
        font-size: 1.2rem;
        margin-bottom: 1.5rem;
    }

    .home-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .btn {
        min-width: 200px;
        font-size: 1rem;
    }

    .home-hero-overlay {
        padding: 2rem 1rem 1.5rem 1rem;
    }

    /* Wedding Details Section Mobile - Make castle image and address stack vertically */
    .row {
        flex-direction: column;
    }

    .column {
        flex: none;
        width: 100%;
        margin-bottom: 1rem;
    }

    .horizontal-right-padded {
        padding: 0;
    }

    .castle-image img {
        width: 100%;
        height: auto;
        max-width: 100%;
    }

    /* Countdown Timer Mobile - Keep all four boxes on one line */
    .countdown-timer {
        gap: 0.5rem;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding: 0 0.5rem;
    }

    .time-unit {
        min-width: 80px;
        padding: 0.75rem 0.5rem;
        flex-shrink: 0;
    }

    .time-unit span {
        font-size: 2rem;
        margin-bottom: 0.25rem;
    }

    .time-unit label {
        font-size: 0.9rem;
    }

    /* Google Maps Mobile - Make iframe responsive */
    iframe {
        max-width: 100% !important;
        width: 100% !important;
        height: 300px !important;
    }

    /* Timeline Mobile - Make timeline items full width */
    .timeline {
        max-width: 100%;
        padding: 0 1rem;
    }

    .timeline::before {
        display: none;
    }

    .timeline-item {
        width: 100%;
        left: 0 !important;
        padding: 0;
        text-align: left !important;
        margin-bottom: 2rem;
    }

    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        left: 0;
        text-align: left;
    }

    .timeline-content {
        margin-left: 0;
    }

    .timeline-item:nth-child(odd) .timeline-content::after,
    .timeline-item:nth-child(even) .timeline-content::after {
        display: none;
    }

    .timeline-content::before {
        display: none;
    }

    /* RSVP Mobile - Stack guest name and attendance buttons */
    .guest-item {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .guest-item h3 {
        margin-bottom: 0;
    }

    .attendance-buttons {
        width: 100%;
        justify-content: space-between;
    }

    .btn-attendance {
        flex: 1;
        text-align: center;
    }

    /* RSVP Form Buttons Mobile - Add spacing when buttons wrap */
    .rsvp-form div[style*="text-align: center"] {
        display: flex;
        flex-wrap: wrap;
        gap: 1rem;
        justify-content: center;
    }

    .rsvp-form .btn {
        margin: 0;
        min-width: 150px;
    }

    /* ...existing code... */
}

/* Mobile Hamburger Menu */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--dark-purple);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle:hover {
    background: rgba(155, 77, 202, 0.1);
    border-radius: 8px;
}

@media (max-width: 768px) {

    /* Header and Navigation Responsive */
    .header-nav-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 0 1rem;
    }

    .logo-section {
        align-items: flex-start;
    }

    .logo-section h1 {
        font-size: 1.8rem;
    }

    .logo-section p {
        font-size: 0.75rem;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .header-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        gap: 0;
        padding: 0;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        border-top: 1px solid var(--border-color);
    }

    .header-nav.active {
        display: flex;
    }

    .nav-link {
        padding: 1.2rem 1rem;
        text-align: left;
        border-radius: 0;
        margin-bottom: 0;
        border: none;
        border-bottom: 1px solid var(--border-color);
        color: var(--dark-purple);
        background: var(--white);
        display: block;
        width: 100%;
        transition: background-color 0.2s ease;
    }

    .nav-link:hover {
        background: var(--light-bg);
        color: var(--dark-purple);
        border-bottom: none;
    }

    .nav-link.active {
        background: var(--primary-purple);
        color: var(--dark-purple);
        font-weight: 600;
        border-bottom: none;
    }

    .nav-link:last-child {
        border-bottom: none;
    }
}

/* Party Selection Styles */
.party-selection {
    max-width: 600px;
    margin: 0 auto;
}

.party-option {
    margin-bottom: 1rem;
}

.party-option input[type="radio"] {
    display: none;
}

.party-label {
    display: block;
    background: var(--light-bg);
    border: 2px solid var(--border-color);
    border-radius: 10px;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.party-label:hover {
    border-color: var(--accent-purple);
    background: var(--primary-purple);
}

.party-option input[type="radio"]:checked + .party-label {
    border-color: var(--dark-purple);
    background: var(--primary-purple);
    box-shadow: 0 4px 12px rgba(155, 77, 202, 0.2);
}

.party-details h4 {
    color: var(--dark-purple);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.party-members {
    color: var(--text-light);
    font-size: 1rem;
    margin: 0;
    font-style: italic;
}

/* Northern Ireland Map Styles */
.map-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    background: linear-gradient(135deg, #f8f9ff 0%, #fff 100%);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(155, 77, 202, 0.1);
    margin: 2rem 0;
}

.ni-map-wrapper {
    width: 100%;
    max-width: 800px;
    border-radius: 15px;
    overflow: hidden;
    border: 3px solid var(--accent-purple);
    box-shadow: 0 8px 25px rgba(155, 77, 202, 0.15);
}

.ni-map {
    width: 100%;
    height: auto;
    display: block;
    background: linear-gradient(135deg, #f0f8ff 0%, #e6f3ff 100%);
}

.ni-map-fallback {
    width: 100%;
    height: auto;
    display: block;
}

/* SVG Interactive Elements */
.ni-map-wrapper object {
    pointer-events: auto;
}

/* Mobile responsive styles for NI Map */
@media (max-width: 768px) {
    .map-container {
        padding: 1rem;
        margin: 1rem 0;
    }
    
    .ni-map-wrapper {
        max-width: 100%;
        border-width: 2px;
    }
}

@media (max-width: 480px) {
    .map-container {
        padding: 0.5rem;
    }
}

/* County Modal Styles */
.county-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    padding: 1rem;
}

.county-modal-content {
    background: var(--white);
    border-radius: 20px;
    padding: 2rem;
    max-width: 700px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border: 2px solid var(--border-color);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}



.county-modal-close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-light);
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 1001;
}

.county-modal-close:hover {
    color: var(--dark-purple);
}

.county-modal-content h2 {
    color: var(--dark-purple);
    font-family: 'Dancing Script', cursive;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
    padding-right: 2rem; /* Space for close button */
}

.county-modal-content h3 {
    color: var(--dark-purple);
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin: 1.5rem 0 0.5rem 0;
    padding-bottom: 0.5rem;
}

.county-description {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    text-align: center;
    font-style: italic;
}

.county-attractions, .county-accommodation {
    list-style: none;
    padding: 0;
}

.county-attractions li, .county-accommodation li {
    list-style-type: none;
}

.county-accommodation li {
    background: var(--light-bg);
    margin: 0.5rem 0;
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid var(--accent-purple);
    transition: all 0.3s ease;
}

/* Collapsible sections */
.collapsible-section {
    margin: 1.5rem 0;
}

.collapsible-header {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 2px solid var(--border-color);
    transition: all 0.3s ease;
    user-select: none;
}

.collapsible-header:hover {
    color: var(--dark-purple);
    border-bottom-color: var(--dark-purple);
}

.collapsible-header.active {
    color: var(--dark-purple);
    border-bottom-color: var(--dark-purple);
}

.collapse-icon {
    font-size: 2rem;
    font-weight: normal;
    color: var(--dark-purple);
    /*background: var(--accent-purple);*/
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.collapsible-header:hover{
    color: var(--dark-purple);
    padding-left: 10px;
    padding-right: 10px;;
}

.collapsible-content {
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.collapsible-content[style*="display: none"] {
    max-height: 0;
}

.collapsible-content[style*="display: block"] {
    max-height: 2000px;
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hide meal choice by default - will be shown when guest selects attending */
.form-group:has(select[name*="[mealChoice]"]) {
    display: none;
}