:root {
    --primary-color: #2C5F7C;
    --secondary-color: #3A7CA5;
    --accent-gold: #D4A574;
    --dark-navy: #1A3A52;
    --light-blue: #E8F3F8;
    --white: #FFFFFF;
    --text-dark: #2C2C2C;
    --soft-gray: #F5F7FA;
}

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

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-dark);
    background-color: var(--soft-gray);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    background-image: url('https://images.unsplash.com/photo-1464047736614-af63643285bf?w=1600');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
}

.hero-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(28, 58, 82, 0.85) 0%, rgba(42, 95, 124, 0.75) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    animation: fadeInUp 1s ease-in-out;
}

.save-the-date {
    font-size: 1.2rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    font-weight: 300;
}

.nombres-novios {
    font-size: 5rem;
    font-weight: 300;
    margin: 1rem 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.fecha-boda {
    font-size: 1.8rem;
    margin-top: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.fecha-boda i {
    color: var(--accent-gold);
    font-size: 2rem;
}

.hero-button {
    margin-top: 2rem;
    animation: fadeInUp 1.2s ease-in-out;
}

.btn-hero {
    background: var(--accent-gold);
    color: var(--white);
    border: none;
    padding: 1rem 3rem;
    font-size: 1.2rem;
    font-weight: 500;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(212, 165, 116, 0.4);
}

.btn-hero:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(212, 165, 116, 0.6);
}

.btn-hero i {
    margin-right: 0.5rem;
}

/* Sections */
section {
    padding: 5rem 0;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--dark-navy);
}

.decorative-line {
    width: 100px;
    height: 2px;
    background: var(--accent-gold);
    margin: 2rem auto;
    position: relative;
}

.decorative-line::before,
.decorative-line::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--accent-gold);
    border-radius: 50%;
    top: -4px;
}

.decorative-line::before {
    left: -20px;
}

.decorative-line::after {
    right: -20px;
}

/* Welcome Section */
.welcome-section {
    background: var(--white);
}

.welcome-section .lead {
    font-size: 1.2rem;
    color: var(--text-dark);
    line-height: 1.8;
}

/* Countdown */
.countdown-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
}

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

.countdown-title {
    font-size: 2rem;
    margin-bottom: 2rem;
    font-weight: 300;
}

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

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.15);
    padding: 2rem;
    border-radius: 15px;
    min-width: 120px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.countdown-item span {
    font-size: 3rem;
    font-weight: 700;
    display: block;
    font-family: 'Montserrat', sans-serif;
}

.countdown-item small {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 0.5rem;
}

/* Details Section */
.details-section {
    background: var(--soft-gray);
}

.detail-card {
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid rgba(44, 95, 124, 0.1);
}

.detail-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(44, 95, 124, 0.15);
}

.detail-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.detail-card h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--dark-navy);
}

.detail-time {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--accent-gold);
    margin-bottom: 0.5rem;
}

.detail-location {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.detail-address {
    color: #666;
    margin-bottom: 1rem;
}

.dress-code-note {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-top: 1rem;
    margin-bottom: 0;
    padding: 0;
}

.dress-code-note i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

.dress-code-note strong {
    color: var(--dark-navy);
}

/* RSVP Section */
.rsvp-section {
    background: var(--white);
}

.rsvp-disclaimer {
    font-size: 1rem;
    color: var(--text-dark);
    margin-top: 1rem;
    margin-bottom: 2rem;
    font-style: italic;
}

.rsvp-disclaimer strong {
    color: var(--primary-color);
    font-weight: 600;
}

.rsvp-card {
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(44, 95, 124, 0.1);
}

.user-info {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 2rem;
}

.user-photo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 1rem;
}

.auth-options {
    margin: 2rem 0;
}

.btn-google {
    background: #4285f4;
    color: var(--white);
    border: none;
    padding: 0.8rem;
    font-weight: 500;
    transition: background 0.3s ease;
}

.btn-google:hover {
    background: #357abd;
    color: var(--white);
}

.btn-google i {
    margin-right: 0.5rem;
}

.divider {
    position: relative;
    text-align: center;
    margin: 1.5rem 0;
}

.divider::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 45%;
    height: 1px;
    background: #ddd;
}

.divider::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    width: 45%;
    height: 1px;
    background: #ddd;
}

.divider span {
    background: var(--white);
    padding: 0 1rem;
    color: #999;
}

/* Buttons */
.btn-gold {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 0.8rem 2rem;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-gold:hover {
    background: var(--secondary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(44, 95, 124, 0.3);
}

.btn-outline-gold {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
    padding: 0.6rem 1.5rem;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-outline-gold:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* Form */
.form-control,
.form-select {
    border: 2px solid #e0e0e0;
    padding: 0.8rem;
    border-radius: 8px;
    transition: border-color 0.3s ease;
    font-size: 16px; /* Previene zoom en iOS al enfocar inputs */
}

/* Prevenir zoom en iOS al enfocar inputs */
@media screen and (max-width: 768px) {
    input[type="text"],
    input[type="email"],
    textarea,
    select {
        font-size: 16px !important;
    }
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(44, 95, 124, 0.25);
}

.form-label {
    font-weight: 500;
    color: var(--dark-navy);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.form-label .bi-info-circle {
    transition: color 0.3s ease;
}

.form-label .bi-info-circle:hover {
    color: var(--secondary-color) !important;
}

/* Stats Section */
.stats-section {
    background: var(--dark-navy);
    color: var(--white);
    padding: 3rem 0;
}

.stat-item i {
    font-size: 3rem;
    color: var(--accent-gold);
    margin-bottom: 1rem;
}

.stat-item h3 {
    font-size: 2.5rem;
    margin: 1rem 0;
}

.stat-item p {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Spotify Section */
.spotify-section {
    background: var(--soft-gray);
    padding: 4rem 0;
}

.qr-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.qr-link {
    display: inline-block;
    transition: transform 0.3s ease;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.qr-link:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.qr-image {
    max-width: 300px;
    width: 100%;
    height: auto;
    display: block;
}

.spotify-section .lead {
    font-size: 1.1rem;
    color: var(--text-dark);
    line-height: 1.8;
}

/* Footer */
.footer {
    background: var(--dark-navy);
    color: var(--white);
    padding: 3rem 0;
}

.footer h4 {
    font-size: 2rem;
    color: var(--accent-gold);
}

.footer i {
    color: var(--accent-gold);
    font-size: 1.5rem;
}

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

/* Responsive */
@media (max-width: 768px) {
    .nombres-novios {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .countdown-item {
        min-width: 80px;
        padding: 1.5rem;
    }
    
    .countdown-item span {
        font-size: 2rem;
    }
    
    .detail-card {
        padding: 2rem;
    }
    
    .rsvp-card {
        padding: 2rem;
    }
    
    .qr-image {
        max-width: 250px;
    }
    
    .spotify-section {
        padding: 3rem 0;
    }
}

/* Utility Classes */
.d-none {
    display: none !important;
}

