/* Landing Page Styles */
h1 span {font-size: medium;letter-spacing: 0;display: block;}
.wedding-hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #333;
    text-align: center;
    padding: 20px;
    overflow: hidden;
    animation: fadeIn 1.5s ease-in-out;
}

.wedding-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.wedding-hero-content,
.wedding-rsvp-invitation {
    position: relative;
    z-index: 2;
}

.wedding-hero-content h2,
.wedding-hero-content p {
    margin: 10px 0;
    color: #4a4a4a;
}

.wedding-hero-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
}

.wedding-hero-content p {
    font-size: 1.2rem;
    font-weight: 400;
}

.wedding-welcome-header {
    font-size: 1.8rem;
    margin-bottom: 20px;
    animation: fadeIn 1s ease-in-out;
}

.wedding-welcome-text {
    font-size: 1.1rem;
    margin-bottom: 25px;
    animation: fadeIn 1.5s ease-in-out;
}

.wedding-rsvp-button {
    border: none;
    padding: 15px 30px;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 5px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    color: #fff;
    background: #E4016B;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    font-family: 'Trajan Pro';
    margin:20px 0;
}

.wedding-rsvp-button:hover {
    background: #e2418c;
    transform: scale(1.05);
}

.wedding-rsvp-button .dashicons {
    font-size: 24px;
    width: 24px;
    height: 24px;
}

.wedding-section {
    display: none;
    padding: 40px 20px;
    text-align: center;
}

.wedding-section.visible {
    display: block;
    animation: fadeIn 1s ease-in-out;
}

.wedding-rsvp-error {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    text-align: center;
    font-size: 1.2rem;
    color: #d63638;
    background: #fff;
    padding: 20px;
}

.rsvp-music-control {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 1000;
}

.rsvp-music-button {
    background: #e4016b;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.rsvp-music-button:hover {
    background: #eb3d8e;
    transform: scale(1.1);
}

.rsvp-music-button:disabled {
    background: rgba(204, 204, 204, 0.9);
    cursor: not-allowed;
}

.rsvp-music-button .dashicons {
    font-size: 24px;
    width: 24px;
    height: 24px;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .wedding-hero-section {
        height: 100vh;
        padding: 15px;
    }

    .wedding-hero-content h2 {
        font-size: 2rem;
    }

    .wedding-hero-content p {
        font-size: 1rem;
    }

    .wedding-welcome-header {
        font-size: 1.2rem;
    }

    .wedding-welcome-text {
        font-size: 1rem;
    }

    .wedding-rsvp-button {
        padding: 12px 25px;
        font-size: 1rem;
    }

    .wedding-section {
        padding: 30px 15px;
    }
}

@media (max-width: 480px) {
    .wedding-hero-content h2 {
        font-size: 1.5rem;
    }

    .wedding-hero-content p {
        font-size: 0.9rem;
    }

    .wedding-welcome-header {
        font-size: 1.5rem;
    }

    .wedding-welcome-text {
        font-size: 0.9rem;
    }

    .wedding-rsvp-button {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .rsvp-music-button {
        width: 40px;
        height: 40px;
    }

    .rsvp-music-button .dashicons {
        font-size: 20px;
        width: 20px;
        height: 20px;
    }
}

/* Image Protection Styles */
.image-protection-wrapper {
    position: relative;
    display: inline-block; /* Keeps images in their natural flow */
}

.image-protection-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent; /* Invisible overlay */
    z-index: 10; /* Above the image but below interactive elements */
    pointer-events: auto; /* Captures clicks on the overlay */
}

/* Ensure interactive elements remain clickable */
.wedding-rsvp-button,
.rsvp-music-button,
.wedding-confirmation-enhanced select,
.wedding-confirmation-enhanced input,
.wedding-confirmation-enhanced button {
    z-index: 20; /* Higher than overlay to remain interactive */
}

/* Prevent text selection (optional, for completeness) */
.wedding-hero-section,
.wedding-section {
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* IE/Edge */
    user-select: none; /* Standard */
}

/* Venue Info Styling */

.venue-info {
    font-size: 18px;
    font-weight: 500;
    color: #333;
    text-align: center;
    margin: 5px 0 20px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 1px dotted #999;
    padding-bottom: 20px;
    gap: 8px; /* Space between icon and text */
}

.venue-info .dashicons-location {
    font-size: 20px;
    width: 20px;
    height: 24px;
    color: #e4016b; /* Matches your theme's pink color, adjust as needed */
}
