/* ==========================================
   TEMPLATES STYLES
   ========================================== */

/* ========== HERO SECTION ========== */

.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: 20px;
}

.hero-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-family: var(--font-script);
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
}

.hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 2rem);
    font-weight: 300;
    margin-bottom: 30px;
}

.hero-date {
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: bounce 2s infinite;
}

.scroll-indicator i {
    font-size: 2rem;
    color: white;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
    40% { transform: translateY(-20px) translateX(-50%); }
    60% { transform: translateY(-10px) translateX(-50%); }
}

/* ========== COUNTDOWN ========== */

.countdown-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-align: center;
}

.countdown-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 20px;
    max-width: 600px;
    margin: 40px auto 0;
}

.countdown-item {
    background: rgba(255, 255, 255, 0.2);
    padding: 30px 20px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.countdown-number {
    font-size: 3rem;
    font-weight: 700;
    display: block;
    margin-bottom: 10px;
}

.countdown-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ========== INFO SECTION ========== */

.info-section {
    background: var(--bg-light);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.info-card {
    text-align: center;
    padding: 40px 30px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.info-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.info-icon .icon-image {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.info-icon.animate-icon {
    display: inline-block;
    animation: bounce 1.5s ease-in-out infinite;
}

.info-icon.animate-icon i,
.info-icon.animate-icon img {
    display: inline-block;
    animation: shake 1.5s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { 
        transform: translateY(0);
    }
    50% { 
        transform: translateY(-15px);
    }
}

@keyframes shake {
    0%, 100% { 
        transform: rotate(0deg);
    }
    25% { 
        transform: rotate(-10deg);
    }
    75% { 
        transform: rotate(10deg);
    }
}

.info-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.info-details {
    color: var(--text-light);
    margin-bottom: 10px;
}

.info-details strong {
    color: var(--text-dark);
    display: block;
    margin-bottom: 5px;
}

/* ========== GALLERY ========== */

.gallery-section {
    background: var(--secondary-color);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 50px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    aspect-ratio: 1;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* ========== TIMELINE ========== */

.timeline-section {
    background: white;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 50px auto;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 100%;
    background: var(--primary-color);
}

.timeline-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
    position: relative;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-content {
    width: 45%;
    padding: 30px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.timeline-icon {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    z-index: 2;
}

.timeline-time {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.timeline-title {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

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

/* ========== RSVP SECTION ========== */

.rsvp-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.rsvp-form {
    max-width: 600px;
    margin: 40px auto 0;
    background: rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-family: var(--font-body);
    background: rgba(255, 255, 255, 0.9);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-submit {
    width: 100%;
    padding: 15px;
    background: white;
    color: var(--primary-color);
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.form-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* ========== MAP SECTION ========== */

.map-section {
    background: var(--bg-light);
}

.map-container {
    margin-top: 40px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.map-container iframe {
    width: 100%;
    height: 450px;
    border: none;
}

/* ========== REGALO / DATOS BANCARIOS ========== */

.regalo-section {
    background: var(--secondary-color);
    padding: 80px 20px;
}

.regalo-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    background: white;
    padding: 50px 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.regalo-icon {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    animation: float 3s ease-in-out infinite;
}

.regalo-mensaje {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 40px;
    line-height: 1.8;
}

.regalo-datos {
    background: var(--secondary-color);
    padding: 30px;
    border-radius: 15px;
    margin: 30px 0;
}

.dato-bancario {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: white;
    border-radius: 10px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.dato-bancario:last-child {
    margin-bottom: 0;
}

.dato-bancario:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transform: translateX(5px);
}

.dato-bancario i:first-child {
    font-size: 1.5rem;
    color: var(--primary-color);
    min-width: 30px;
}

.dato-bancario > div {
    flex: 1;
    text-align: left;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.dato-label {
    font-weight: 600;
    color: var(--text-dark);
    min-width: 70px;
}

.dato-valor {
    font-family: 'Courier New', monospace;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.dato-valor:hover {
    background: var(--secondary-color);
}

.copy-icon {
    font-size: 1rem;
    color: var(--primary-color);
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.6;
}

.copy-icon:hover {
    opacity: 1;
    transform: scale(1.2);
}

.regalo-nota {
    font-size: 0.9rem;
    color: var(--text-light);
    font-style: italic;
    margin-top: 30px;
}

/* ========== FOOTER ========== */

.footer {
    background: var(--bg-dark);
    color: white;
    text-align: center;
    padding: 40px 20px;
}

.footer-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
}

.footer-icon {
    font-size: 2rem;
    color: var(--primary-color);
}

.footer p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* ========== MUSIC CONTROL ========== */

.music-control {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    z-index: 1000;
    transition: all 0.3s ease;
}

.music-control:hover {
    transform: scale(1.1);
}

.music-control i {
    color: white;
    font-size: 1.5rem;
}

.music-control.playing i {
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* ========== INSTAGRAM SECTION ========== */

.instagram-section {
    padding: var(--section-padding);
    background: linear-gradient(135deg, #f5f5f5 0%, #ffffff 100%);
}

.instagram-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 30px;
}

.instagram-link {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 15px 40px;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.3rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(188, 24, 136, 0.3);
}

.instagram-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(188, 24, 136, 0.5);
}

.instagram-link i {
    font-size: 2rem;
}

/* ========== AGRADECIMIENTO SECTION ========== */

.agradecimiento-section {
    padding: 60px 20px;
    background: var(--primary-color);
    color: white;
}

.agradecimiento-texto {
    font-size: 1.5rem;
    font-family: var(--font-script);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Imagen de datos bancarios */
.regalo-imagen-datos {
    margin: 30px 0;
    display: flex;
    justify-content: center;
}

.datos-bancarios-img {
    max-width: 500px;
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    border: 2px solid rgba(212, 175, 55, 0.3);
}

/* ========== TEXTO DESTACADO WHATSAPP ========== */

.texto-destacado-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 25px;
    padding: 18px 30px;
    background: rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    max-width: 600px;
    text-align: left;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.texto-destacado-whatsapp i {
    font-size: 1.5rem;
    color: #FFF;
    flex-shrink: 0;
}

.texto-destacado-whatsapp p {
    margin: 0;
    color: #FFF;
    font-size: 1rem;
    line-height: 1.6;
    font-weight: 600;
}

