:root {
    --primary-color: #f8b5d6;
    --secondary-color: #7ec4cf;
    --accent-color: #ff9e6d;
    --text-color: #333;
    --light-color: #fff9fc;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--light-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 100%;
    padding: 0 20px;
    margin: 0 auto;
}

/* Header */
header {
    padding: 30px 20px;
    text-align: center;
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

header h1 {
    font-size: 2.5rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
    margin-bottom: 10px;
}

header p {
    font-size: 1.2rem;
    color: white;
    opacity: 0.9;
}

.header-decoration {
    position: absolute;
    width: 100px;
    height: 100px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    top: 10px;
}

.decoration-1 { left: 5%; }
.decoration-2 { right: 5%; top: 20px; }
.decoration-3 { left: 15%; bottom: 10px; width: 60px; height: 60px; }

/* Secciones generales */
section {
    padding: 40px 0;
    border-bottom: 1px dashed var(--primary-color);
}

h2 {
    text-align: center;
    color: var(--secondary-color);
    margin-bottom: 30px;
    font-size: 2rem;
    position: relative;
}

h2:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--accent-color);
    margin: 10px auto;
    border-radius: 2px;
}

/* Información del evento */
.event-info {
    background-color: white;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    margin-top: 20px;
    text-align: center;
}

.event-info-item {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.event-info-item i {
    color: var(--secondary-color);
        align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-right: 15px;
    width: 30px;
}

/* Contador */
#countdown {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.countdown-item {
    background-color: var(--primary-color);
    color: white;
    padding: 15px;
    border-radius: 10px;
    min-width: 70px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.countdown-number {
    font-size: 2rem;
    font-weight: bold;
    display: block;
}

.countdown-label {
    font-size: 0.8rem;
    margin-top: 5px;
    opacity: 0.9;
}

/* Galería */
.gallery-container {
    position: relative;
    max-width: 100%;
    overflow: hidden;
    margin: 30px 0;
}

.gallery {
    display: flex;
    transition: transform 0.5s ease;
}

.gallery-item {
    min-width: 100%;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.gallery-nav {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.gallery-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--primary-color);
    cursor: pointer;
    transition: background-color 0.3s;
}

.gallery-dot.active {
    background-color: var(--secondary-color);
}

/* Botones */
.buttons-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
}

.btn {
    padding: 18px 25px;
    border-radius: 50px;
    border: none;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.btn-confirm {
    background-color: var(--secondary-color);
    color: white;
}

.btn-calendar {
    background-color: var(--accent-color);
    color: white;
}

.btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* Modal de confirmación */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: white;
    padding: 30px;
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
    position: relative;
}

.modal h3 {
    color: var(--secondary-color);
    margin-bottom: 20px;
    text-align: center;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-color);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-color);
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border-radius: 10px;
    border: 2px solid #eee;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus {
    border-color: var(--secondary-color);
    outline: none;
}

.btn-submit {
    background-color: var(--secondary-color);
    color: white;
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-submit:hover {
    background-color: #6aa9b3;
}

/* Lista de confirmados */
#guests-list {
    background-color: white;
    border-radius: 15px;
    padding: 20px;
    margin-top: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    max-height: 300px;
    overflow-y: auto;
}

.guest-item {
    padding: 10px 15px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
}

.guest-item:last-child {
    border-bottom: none;
}

/* Footer */
footer {
    color: white;
    text-align: center;
    padding: 30px 20px;
    margin-top: 40px;
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
}

footer p {
    margin-bottom: 10px;
}

/* Controles de música */
.music-controls {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 100;
}

.music-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--secondary-color);
    color: white;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

/* Mapa */
#map {
    width: 100%;
    z-index: 1;
}

/* Responsive */
@media (min-width: 768px) {
    .container {
        max-width: 750px;
    }
    
    header h1 {
        font-size: 3.5rem;
    }
    
    .gallery-item img {
        height: 350px;
    }
    
    .buttons-container {
        flex-direction: row;
        justify-content: center;
    }
    
    .btn {
        min-width: 250px;
    }
    
    #countdown {
        gap: 20px;
    }
    
    .countdown-item {
        min-width: 100px;
        padding: 20px;
    }
}