/* Language Switcher Styles - Make more visible */
.language-switcher-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    background: rgba(45, 146, 255, 0.7);
    /* Dark background */
    border-radius: 25px;
    padding: 8px 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

.language-switcher-container select {
    border: none;
    background: transparent;
    font-size: 14px;
    font-weight: 500;
    color: rgb(51, 0, 255);
    /* White text */
    cursor: pointer;
    outline: none;
    padding: 5px 10px;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.language-switcher-container select:hover {
    background: rgba(255, 255, 255, 0.1);
}

.language-switcher-container select:focus {
    background: rgba(255, 255, 255, 0.2);
}

/* RSVP Form Styles */
.rsvp-section {
    background: linear-gradient(135deg, #28ba71 0%, #7ba3d7 100%);
    color: white;
    padding: 80px 0;
}

.rsvp-form {
    max-width: 600px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.rsvp-form .form-group {
    margin-bottom: 25px;
}

.rsvp-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: white;
}

.rsvp-form input,
.rsvp-form select,
.rsvp-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 16px;
    transition: all 0.3s ease;
}

.rsvp-form input::placeholder,
.rsvp-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.rsvp-form input:focus,
.rsvp-form select:focus,
.rsvp-form textarea:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.2);
}

.rsvp-form button {
    width: 100%;
    padding: 15px;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: white;
    font-size: 18px;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.rsvp-form button:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.8);
    transform: translateY(-2px);
}

.rsvp-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    font-weight: 500;
    display: none;
}

.rsvp-message.alert-success {
    background: rgba(40, 167, 69, 0.2);
    border: 1px solid rgba(40, 167, 69, 0.5);
    color: #d4edda;
}

.rsvp-message.alert-danger {
    background: rgba(220, 53, 69, 0.2);
    border: 1px solid rgba(220, 53, 69, 0.5);
    color: #f8d7da;
}

/* Bienvenidos Section Styles */
.story-section {
    background: #f8f9fa;
    padding: 80px 0;
}

.story-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    line-height: 1.8;
    font-size: 18px;
    color: #666;
    white-space: pre-line;
}

.story-content p {
    margin-bottom: 30px;
}

/* Enhanced Navigation Styles - Keep original transparent style */
.fh5co-nav {
    background: transparent !important;
    /* Revert to transparent */
    backdrop-filter: none;
    /* Remove backdrop blur */
}

.fh5co-nav ul li a {
    color: rgba(255, 255, 255, 0.5) !important;
    /* Original white text */
    transition: all 0.3s ease;
    position: relative;
}

.fh5co-nav ul li a:hover {
    color: white !important;
    /* White on hover */
}

.fh5co-nav ul li a:focus,
.fh5co-nav ul li a:active {
    color: white !important;
}

.fh5co-nav ul li.active>a {
    color: white !important;
    /* Active state white */
}

.fh5co-nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: white;
    /* White underline */
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.fh5co-nav ul li a:hover::after {
    width: 100%;
}

/* Responsive Design */
@media (max-width: 768px) {
    .language-switcher-container {
        top: 10px;
        right: 10px;
        padding: 5px 10px;
    }

    .language-switcher-container select {
        font-size: 12px;
        padding: 3px 8px;
    }

    .rsvp-form {
        padding: 30px 20px;
        margin: 0 20px;
    }

    .story-content {
        padding: 0 20px;
        font-size: 16px;
    }
}

/* Animation for language switching */
[data-translate] {
    transition: opacity 0.3s ease;
}

[data-translate].updating {
    opacity: 0.5;
}

/* Countdown timer enhancements */
.flipTimebox {
    margin: 30px 0;
}

.clock {
    font-size: 2.5em;
    font-weight: bold;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Gallery enhancements */
#fh5co-gallery-list li {
    transition: transform 0.3s ease;
}

#fh5co-gallery-list li:hover {
    transform: scale(1.05);
}

/* Event section enhancements */
.event-wrap {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.event-wrap:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.event-wrap h3 {
    color: #667eea;
    margin-bottom: 20px;
    font-size: 24px;
    font-weight: 600;
}

.event-col {
    margin: 15px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.event-col i {
    color: #667eea;
    font-size: 18px;
}

.event-col span {
    font-size: 16px;
    font-weight: 500;
    color: #333;
}