/* Reset y Variables */
:root {
    --color-primary: #d4af37;
    --color-secondary: #8b7355;
    --color-accent: #f5e6d3;
    --color-dark: #2c2c2c;
    --color-light: #ffffff;
    --color-text: #4a4a4a;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;
    --transition: all 0.3s ease;
}

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

body {
    font-family: var(--font-body);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    text-align: center;
    color: var(--color-dark);
    margin-bottom: 60px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: var(--color-primary);
    margin: 20px auto;
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(139, 115, 85, 0.1) 100%),
                url('https://images.unsplash.com/photo-1519741497674-611481863552?w=1920') center/cover no-repeat;
    background-attachment: fixed;
}

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

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--color-light);
    animation: fadeInUp 1s ease;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    letter-spacing: 3px;
}

.hero-subtitle {
    font-size: 1.8rem;
    font-weight: 300;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.hero-date {
    font-size: 1.3rem;
    font-weight: 400;
    letter-spacing: 1px;
    margin-bottom: 40px;
}

/* Countdown Timer */
.countdown-container {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin: 40px 0;
    flex-wrap: wrap;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 20px 25px;
    border-radius: 15px;
    min-width: 90px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.countdown-number {
    font-size: 2.5rem;
    font-weight: 700;
    font-family: var(--font-heading);
    color: var(--color-light);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1;
    margin-bottom: 8px;
}

.countdown-label {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--color-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
}

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

.scroll-indicator span {
    font-size: 2rem;
    color: var(--color-light);
}

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

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    text-decoration: none;
    letter-spacing: 2px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    color: var(--color-dark);
    text-decoration: none;
    font-weight: 400;
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--color-dark);
    transition: var(--transition);
}

/* Nosotros Section */
.nosotros {
    background: var(--color-accent);
}

.nosotros-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.nosotros-text {
    font-size: 1.1rem;
    line-height: 1.8;
}

.nosotros-text p {
    margin-bottom: 20px;
}

.nosotros-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.nosotros-content-segunda {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-top: 80px;
}

.nosotros-text-segunda {
    font-size: 1rem;
    line-height: 1.8;
    text-align: right;
}

.nosotros-text-segunda p {
    margin-bottom: 0;
}

.nosotros-imagen-vertical {
    display: flex;
    justify-content: center;
}

.image-placeholder-vertical {
    aspect-ratio: 2/3;
    background: var(--color-accent);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--color-secondary);
    border: 2px dashed var(--color-primary);
    overflow: hidden;
    position: relative;
    max-width: 300px;
    width: 100%;
}

.image-placeholder-vertical img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    position: absolute;
    top: 0;
    left: 0;
}

.image-placeholder-vertical:has(img) {
    border: none;
}

.image-placeholder-vertical:has(img) span {
    display: none;
}

.image-placeholder {
    aspect-ratio: 1;
    background: var(--color-accent);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--color-secondary);
    border: 2px dashed var(--color-primary);
    overflow: hidden;
    position: relative;
}

.image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    position: absolute;
    top: 0;
    left: 0;
}

.image-placeholder:has(img) {
    border: none;
}

.image-placeholder:has(img) span {
    display: none;
}

/* Ceremonia y Banquete Sections */
.ceremonia {
    background: var(--color-light);
}

.banquete {
    background: var(--color-accent);
}

.evento-detalle {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.evento-detalle-reverse {
    direction: rtl;
}

.evento-detalle-reverse > * {
    direction: ltr;
}

.evento-imagen {
    position: relative;
}

.evento-foto {
    aspect-ratio: 4/3;
    width: 100%;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border: none;
    flex-direction: column;
    gap: 10px;
}

.evento-foto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}

.evento-foto small {
    font-size: 0.85rem;
    color: var(--color-secondary);
    opacity: 0.8;
}

.evento-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.evento-hora {
    font-size: 2.5rem;
    font-family: var(--font-heading);
    color: var(--color-primary);
    font-weight: 700;
    margin-bottom: 10px;
}

.evento-nombre {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--color-dark);
    margin-bottom: 10px;
    line-height: 1.3;
}

.evento-direccion {
    font-size: 1.1rem;
    color: var(--color-text);
    line-height: 1.6;
    margin-bottom: 20px;
}

.evento-mapa {
    margin-top: 20px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.evento-mapa .map-placeholder {
    aspect-ratio: 16/9;
    background: var(--color-accent);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--color-secondary);
    border: 2px dashed var(--color-primary);
    padding: 20px;
}

.evento-mapa .map-instructions {
    font-size: 0.85rem;
    margin-top: 10px;
    text-align: center;
    padding: 0 20px;
    color: var(--color-secondary);
    opacity: 0.8;
}

.evento-mapa iframe {
    width: 100%;
    height: 100%;
    min-height: 300px;
    border: none;
    border-radius: 15px;
}

.evento-autobus-info {
    margin-top: 25px;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 10px;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--color-text);
    border-left: 4px solid var(--color-primary);
}

/* Recuerdos Section */
.recuerdos {
    background: var(--color-light);
}

.recuerdos-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.recuerdos-texto {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--color-text);
    margin-bottom: 40px;
}

.recuerdos-qr {
    display: flex;
    justify-content: center;
    align-items: center;
}

.qr-placeholder {
    width: 250px;
    height: 250px;
    background: var(--color-light);
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border: 2px dashed var(--color-primary);
    padding: 20px;
}

.qr-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 10px;
}

.qr-placeholder span {
    font-size: 1.5rem;
    color: var(--color-secondary);
    margin-bottom: 10px;
}

.qr-placeholder small {
    font-size: 0.9rem;
    color: var(--color-secondary);
    opacity: 0.8;
    text-align: center;
}

.qr-placeholder:has(img) {
    border: none;
    padding: 0;
}

.qr-placeholder:has(img) span,
.qr-placeholder:has(img) small {
    display: none;
}

/* Hotel Section */
.hotel {
    background: var(--color-accent);
}

.hotel-content {
    max-width: 1000px;
    margin: 0 auto;
}

.hotel-text {
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 50px;
    color: var(--color-text);
}

.hotel-text p {
    margin: 0;
}

.hotel-details {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    align-items: start;
}

.hotel-imagen {
    position: relative;
}

.hotel-foto {
    aspect-ratio: 4/3;
    width: 100%;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border: none;
    position: relative;
}

.hotel-foto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}

.hotel-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hotel-nombre {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--color-dark);
    margin-bottom: 10px;
    line-height: 1.3;
}

.hotel-direccion {
    font-size: 1.1rem;
    color: var(--color-text);
    line-height: 1.6;
    margin-bottom: 20px;
}

.hotel-contacto {
    background: var(--color-accent);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.hotel-contacto p {
    margin-bottom: 10px;
    font-size: 1rem;
    color: var(--color-text);
}

.hotel-contacto p:last-child {
    margin-bottom: 0;
}

.hotel-contacto strong {
    color: var(--color-primary);
    font-weight: 600;
}

.hotel-contacto a {
    color: var(--color-primary);
    text-decoration: none;
    transition: var(--transition);
}

.hotel-contacto a:hover {
    text-decoration: underline;
}

.hotel-mapa {
    margin-top: 20px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.hotel-mapa .map-placeholder {
    aspect-ratio: 16/9;
    background: var(--color-accent);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--color-secondary);
    border: 2px dashed var(--color-primary);
    padding: 20px;
}

.hotel-mapa .map-instructions {
    font-size: 0.85rem;
    margin-top: 10px;
    text-align: center;
    padding: 0 20px;
    color: var(--color-secondary);
    opacity: 0.8;
}

.hotel-mapa iframe {
    width: 100%;
    height: 100%;
    min-height: 300px;
    border: none;
    border-radius: 15px;
}

/* RSVP Section */
.rsvp {
    background: var(--color-light);
}

.rsvp-subtitle {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--color-text);
}

.rsvp-fecha-limite {
    text-align: center;
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-primary);
    margin: 0 auto 40px auto;
    padding: 10px 20px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 8px;
    display: block;
    width: 100%;
    max-width: 600px;
}

.rsvp-form {
    max-width: 600px;
    margin: 0 auto;
    background: var(--color-light);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--color-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
}

.form-group input[readonly] {
    background-color: #f5f5f5;
    cursor: not-allowed;
}

.radio-group {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.radio-group-asistentes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 15px;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-weight: 400;
}

.radio-label input[type="radio"] {
    width: auto;
    cursor: pointer;
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 10px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-weight: 400;
    padding: 10px;
    border-radius: 8px;
    transition: var(--transition);
}

.checkbox-label:hover {
    background: var(--color-accent);
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--color-primary);
}

.btn-submit {
    width: 100%;
    padding: 15px;
    background: var(--color-primary);
    color: var(--color-light);
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-body);
}

.btn-submit:hover {
    background: var(--color-secondary);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.rsvp-success {
    max-width: 600px;
    margin: 30px auto 0;
    padding: 20px;
    background: #d4edda;
    border: 2px solid #28a745;
    border-radius: 8px;
    text-align: center;
    color: #155724;
    font-weight: 600;
}

/* Footer */
.footer {
    background: var(--color-dark);
    color: var(--color-light);
    padding: 40px 0;
    text-align: center;
}

.footer p {
    margin-bottom: 10px;
}

.footer-date {
    font-size: 1.2rem;
    color: var(--color-primary);
    margin-bottom: 20px;
}

.footer-contact {
    margin-top: 20px;
    font-size: 0.95rem;
    opacity: 0.9;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.3rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .countdown-container {
        gap: 15px;
        margin: 30px 0;
    }

    .countdown-item {
        padding: 15px 20px;
        min-width: 70px;
    }

    .countdown-number {
        font-size: 2rem;
    }

    .countdown-label {
        font-size: 0.75rem;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--color-light);
        width: 100%;
        text-align: center;
        transition: var(--transition);
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 20px 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nosotros-content {
        grid-template-columns: 1fr;
    }

    .nosotros-content-segunda {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-top: 60px;
    }

    .nosotros-text-segunda {
        text-align: left;
    }

    .image-placeholder-vertical {
        max-width: 100%;
    }

    .evento-detalle {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .evento-detalle-reverse {
        direction: ltr;
    }

    .evento-hora {
        font-size: 2rem;
    }

    .evento-nombre {
        font-size: 1.6rem;
    }

    .hotel-details {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .hotel-nombre {
        font-size: 1.6rem;
    }

    .rsvp-fecha-limite {
        font-size: 0.9rem;
        padding: 8px 15px;
    }

    .recuerdos-texto {
        font-size: 1.1rem;
    }

    .qr-placeholder {
        width: 200px;
        height: 200px;
    }

    .rsvp-form {
        padding: 30px 20px;
    }

    .radio-group {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .section {
        padding: 60px 0;
    }

    .nosotros-images {
        grid-template-columns: 1fr;
    }

    .countdown-container {
        gap: 10px;
    }

    .countdown-item {
        padding: 12px 15px;
        min-width: 60px;
    }

    .countdown-number {
        font-size: 1.5rem;
    }

    .countdown-label {
        font-size: 0.7rem;
    }
}

