/* Plantilla Ocean Twilight Dark - Estilos Globales */
:root {
    /* Paleta marina elegante oscura */
    --bg-primary: #0d1b2a;           /* Azul marino profundo */
    --bg-secondary: #1b263b;         /* Azul noche */
    --bg-card: #253649;              /* Azul pizarra */
    --accent-teal: #73bfb8;          /* Turquesa suave */
    --accent-aqua: #a8dadc;          /* Aguamarina */
    --accent-sand: #f1d4af;          /* Arena dorada */
    --text-primary: #e6f4f1;         /* Blanco azulado */
    --text-secondary: #cde7e3;       /* Menta claro */
    --text-muted: #6d9197;           /* Gris azulado */
    --highlight: #5fa8d3;            /* Azul cielo */
    --border-subtle: rgba(115, 191, 184, 0.15);
    
    /* Tipografías fluidas elegantes - Ocean Theme */
    --font-serif: 'Playfair Display', serif;      /* Elegancia clásica para títulos */
    --font-script: 'Dancing Script', cursive;     /* Elegante sin ser exagerado */
    --font-elegant: 'Cormorant Garamond', serif;  /* Elegante pero legible - NUEVA */
    --font-sans: 'Montserrat', sans-serif;        /* Modernidad y legibilidad */
    
    /* Espaciado y tamaños */
    --container-max: 1200px;
    --border-radius: 8px;
    --section-padding: 120px 0;
    
    /* Sombras suaves marinas */
    --shadow-soft: 0 10px 40px rgba(0, 0, 0, 0.5);
    --shadow-card: 0 5px 25px rgba(0, 0, 0, 0.6);
    --shadow-glow: 0 0 20px rgba(115, 191, 184, 0.2);
    
    /* Overlays */
    --overlay-dark: rgba(13, 27, 42, 0.85);
    --overlay-gradient: linear-gradient(135deg, rgba(13, 27, 42, 0.9) 0%, rgba(27, 38, 59, 0.8) 100%);
    
    /* Transiciones elegantes */
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-wave: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset y base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    overflow-x: hidden;
    font-weight: 300;
    position: relative;
}

/* Efecto de olas de fondo sutil */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 20% 80%, rgba(115, 191, 184, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(95, 168, 211, 0.06) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

body > * {
    position: relative;
    z-index: 1;
}

/* Container responsive */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* Tipografías jerarquizadas con estilo marino */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-script);
    font-weight: 400;
    line-height: 1.3;
    margin-bottom: 0.5em;
    color: var(--text-primary);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

h1 {
    font-family: var(--font-script);
    font-size: clamp(3.5rem, 8vw, 7rem);
    font-weight: 400;
    letter-spacing: 0.02em;
    color: var(--accent-aqua);
}

h2 {
    font-family: var(--font-script);
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--accent-teal);
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 400;
}

h3 {
    font-family: var(--font-elegant);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    color: var(--accent-aqua);
    font-weight: 400;
}

h4 {
    font-family: var(--font-serif);
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    color: var(--text-secondary);
    font-weight: 600;
    font-style: italic;
}

/* Clases específicas para diferentes elementos */
.hero-names {
    font-family: var(--font-script);
    font-size: clamp(4rem, 10vw, 8rem);
    font-weight: 400;
    color: var(--accent-aqua);
    text-shadow: 0 4px 12px rgba(115, 191, 184, 0.4);
    letter-spacing: 0.03em;
}

.section-title {
    font-family: var(--font-script);
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--accent-teal);
    text-align: center;
    margin-bottom: 1.5rem;
    font-weight: 400;
    position: relative;
    display: inline-block;
    width: 100%;
}

.event-title, .ubicacion-nombre {
    font-family: var(--font-elegant);
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--accent-aqua);
    font-weight: 400;
}

/* Párrafos elegantes */
p {
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.lead {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    color: var(--text-primary);
    font-weight: 400;
    font-style: italic;
}

/* Líneas decorativas con estilo marino */
.decorative-line {
    width: 120px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-teal), var(--accent-aqua), transparent);
    margin: 2rem auto;
    position: relative;
    box-shadow: var(--shadow-glow);
}

.decorative-line::before,
.decorative-line::after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: var(--accent-teal);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(115, 191, 184, 0.5);
}

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

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

.decorative-line .line-accent {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    background: var(--accent-aqua);
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(168, 218, 220, 0.6);
}

/* Botones elegantes con efecto de ola */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 32px;
    background: transparent;
    color: var(--accent-teal);
    text-decoration: none;
    border: 2px solid var(--accent-teal);
    border-radius: var(--border-radius);
    font-family: var(--font-serif);
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    letter-spacing: 1px;
    text-transform: uppercase;
    min-width: 180px;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, var(--accent-teal) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    border-radius: 50%;
    opacity: 0.2;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn:hover {
    background: var(--accent-teal);
    color: var(--bg-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft), var(--shadow-glow);
    border-color: var(--accent-aqua);
}

/* Secciones */
section {
    padding: var(--section-padding);
    position: relative;
}

.section-alternate {
    background: var(--bg-secondary);
}

/* Headers de sección */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

.section-header h2 {
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
    font-style: italic;
}

/* Cards elegantes con efecto de brillo marino */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    transition: var(--transition-wave);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(115, 191, 184, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: var(--transition-wave);
}

.card:hover::before {
    opacity: 1;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-soft), var(--shadow-glow);
    border-color: rgba(115, 191, 184, 0.3);
}

/* Texto cursivo destacado */
.script-text {
    font-family: var(--font-script);
    font-size: 1.8rem;
    color: var(--accent-sand);
    text-align: center;
    margin: 2rem 0;
    font-weight: 400;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Citas y frases especiales */
.quote-text {
    font-family: var(--font-script);
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    color: var(--accent-aqua);
    font-style: italic;
    text-align: center;
    line-height: 1.4;
}

.quote-author {
    font-family: var(--font-elegant);
    font-size: 1.2rem;
    color: var(--accent-sand);
    text-align: center;
    margin-top: 1rem;
}

/* Subtítulos elegantes */
.section-subtitle {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    color: var(--text-muted);
    text-align: center;
    font-style: italic;
    font-weight: 300;
}

/* Animaciones con movimiento de olas */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.fade-in-up {
    animation: fadeInUp 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

/* Estados de hover elegantes */
.hover-elegant {
    transition: var(--transition-wave);
}

.hover-elegant:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-soft), var(--shadow-glow);
}

/* Iconos con estilo marino */
.icon-marine {
    color: var(--accent-teal);
    filter: drop-shadow(0 0 5px rgba(115, 191, 184, 0.3));
}

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 0 20px;
    }
    
    section {
        padding: 100px 0;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 80px 0;
    }
    
    .container {
        padding: 0 16px;
    }
    
    .btn {
        padding: 14px 24px;
        font-size: 0.85rem;
        min-width: 160px;
    }
    
    .card {
        padding: 2rem;
    }
    
    .hero-names {
        font-size: clamp(3rem, 8vw, 6rem);
    }
    
    .script-text {
        font-size: 1.5rem;
    }
    
    .decorative-line {
        width: 80px;
    }
}

@media (max-width: 480px) {
    section {
        padding: 60px 0;
    }
    
    p {
        font-size: 0.95rem;
    }
    
    .quote-text {
        font-size: clamp(1.25rem, 4vw, 1.8rem);
    }
    
    .card {
        padding: 1.5rem;
    }
}

/* Utilidades */
.text-center {
    text-align: center;
}

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
.mb-4 { margin-bottom: 4rem; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mt-4 { margin-top: 4rem; }

/* Accesibilidad */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Animación de carga suave */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

body {
    animation: fadeIn 0.5s ease-in;
}