/* ========================================
   CUMPLE 43 - LANDING PAGE
   Temática: Buceo / Naturaleza
   ======================================== */

/* === CSS VARIABLES === */
:root {
    --color-deep-sea: #0A1628;
    --color-ocean: #1E3A5F;
    --color-ocean-light: #2A4A73;
    --color-turquoise: #00D4AA;
    --color-turquoise-glow: rgba(0, 212, 170, 0.3);
    --color-sand: #F4B942;
    --color-coral-white: #F8F9FA;
    --color-text-muted: rgba(248, 249, 250, 0.7);
    --color-whatsapp: #25D366;
    --color-whatsapp-hover: #128C7E;

    --font-main: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;

    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;

    --shadow-soft: 0 4px 30px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 40px var(--color-turquoise-glow);

    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* === RESET & BASE === */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background: var(--color-deep-sea);
    color: var(--color-coral-white);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* === BURBUJAS ANIMADAS === */
.bubbles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.bubble {
    position: absolute;
    bottom: -100px;
    background: radial-gradient(circle at 30% 30%,
            rgba(255, 255, 255, 0.4),
            rgba(0, 212, 170, 0.1));
    border-radius: 50%;
    animation: rise 8s infinite ease-in;
    opacity: 0.6;
}

.bubble:nth-child(1) {
    left: 10%;
    width: 40px;
    height: 40px;
    animation-delay: 0s;
    animation-duration: 8s;
}

.bubble:nth-child(2) {
    left: 20%;
    width: 20px;
    height: 20px;
    animation-delay: 1s;
    animation-duration: 10s;
}

.bubble:nth-child(3) {
    left: 35%;
    width: 50px;
    height: 50px;
    animation-delay: 2s;
    animation-duration: 7s;
}

.bubble:nth-child(4) {
    left: 50%;
    width: 25px;
    height: 25px;
    animation-delay: 0.5s;
    animation-duration: 9s;
}

.bubble:nth-child(5) {
    left: 65%;
    width: 35px;
    height: 35px;
    animation-delay: 3s;
    animation-duration: 11s;
}

.bubble:nth-child(6) {
    left: 75%;
    width: 45px;
    height: 45px;
    animation-delay: 1.5s;
    animation-duration: 8s;
}

.bubble:nth-child(7) {
    left: 85%;
    width: 30px;
    height: 30px;
    animation-delay: 2.5s;
    animation-duration: 10s;
}

.bubble:nth-child(8) {
    left: 95%;
    width: 15px;
    height: 15px;
    animation-delay: 4s;
    animation-duration: 12s;
}

@keyframes rise {
    0% {
        transform: translateY(0) scale(1);
        opacity: 0.6;
    }

    50% {
        opacity: 0.4;
    }

    100% {
        transform: translateY(-110vh) scale(0.5);
        opacity: 0;
    }
}

/* === HERO SECTION === */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: url('img1.jpg') center/cover no-repeat;
    z-index: 2;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(10, 22, 40, 0.7) 0%,
            rgba(10, 22, 40, 0.85) 50%,
            rgba(10, 22, 40, 0.95) 100%);
    z-index: -1;
}

.hero-content {
    padding: 24px;
    animation: fadeInUp 1s ease-out;
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-tag {
    display: inline-block;
    background: var(--color-turquoise-glow);
    border: 1px solid var(--color-turquoise);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 24px;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 var(--color-turquoise-glow);
    }

    50% {
        box-shadow: 0 0 20px 5px var(--color-turquoise-glow);
    }
}

.hero-title {
    font-size: clamp(3rem, 12vw, 7rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 16px;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.hero-title .highlight {
    background: linear-gradient(135deg, var(--color-turquoise), var(--color-sand));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1.2rem, 4vw, 1.8rem);
    font-weight: 300;
    color: var(--color-text-muted);
    margin-bottom: 32px;
}

.hero-date {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
    margin-bottom: 40px;
}

.date-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 12px 24px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.date-icon {
    font-size: 1.3rem;
}

.date-text {
    font-weight: 500;
}

/* Google Maps link styling */
.date-item-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: inherit;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.date-item-link:hover {
    color: var(--color-turquoise);
}

.date-item-link:hover .date-text {
    text-decoration: underline;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--color-turquoise), #00B894);
    color: var(--color-deep-sea);
    padding: 16px 36px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-glow);
}

.hero-cta:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 40px var(--color-turquoise-glow);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--color-text-muted);
    font-size: 0.85rem;
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    border-right: 2px solid var(--color-turquoise);
    border-bottom: 2px solid var(--color-turquoise);
    transform: rotate(45deg);
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(10px);
    }
}

/* === INFO SECTION === */
.info-section {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(180deg, var(--color-deep-sea) 0%, var(--color-ocean) 100%);
    z-index: 2;
}

.section-title {
    font-size: clamp(2rem, 6vw, 3rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
}

.section-title.light {
    color: var(--color-coral-white);
}

.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.info-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    text-align: center;
    transition: var(--transition-smooth);
}

.info-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--color-turquoise);
    box-shadow: var(--shadow-glow);
}

.info-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.info-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--color-turquoise);
}

.info-card p {
    color: var(--color-text-muted);
    line-height: 1.7;
}

.info-card strong {
    color: var(--color-coral-white);
}

/* === DIVERS SECTION === */
.divers-section {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(135deg, var(--color-ocean) 0%, var(--color-ocean-light) 50%, var(--color-ocean) 100%);
    z-index: 2;
    overflow: hidden;
}

.divers-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, var(--color-turquoise-glow) 0%, transparent 40%);
    animation: rotate 20s linear infinite;
    z-index: -1;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.divers-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--color-turquoise), var(--color-sand));
    color: var(--color-deep-sea);
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 24px;
    text-align: center;
}

.divers-section .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.divers-schedule {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 40px;
    margin: 50px 0;
}

.schedule-item {
    text-align: center;
    padding: 30px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: var(--radius-lg);
    border: 2px solid var(--color-turquoise);
    min-width: 200px;
    transition: var(--transition-smooth);
}

.schedule-item:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-glow);
}

.schedule-time {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--color-turquoise), var(--color-sand));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.schedule-label {
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 8px 0 12px;
    color: var(--color-turquoise);
}

.schedule-desc {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.schedule-divider {
    display: flex;
    align-items: center;
    gap: 16px;
}

.divider-line {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-turquoise), transparent);
}

.divider-icon {
    font-size: 2rem;
    animation: wave 2s ease-in-out infinite;
}

@keyframes wave {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    25% {
        transform: translateY(-5px) rotate(-5deg);
    }

    75% {
        transform: translateY(5px) rotate(5deg);
    }
}

.divers-note {
    text-align: center;
    max-width: 500px;
    padding: 20px 30px;
    background: rgba(244, 185, 66, 0.15);
    border-left: 4px solid var(--color-sand);
    border-radius: var(--radius-sm);
    color: var(--color-text-muted);
}

.divers-note strong {
    color: var(--color-sand);
}

/* === RSVP SECTION === */
.rsvp-section {
    position: relative;
    padding: 100px 0;
    background: var(--color-deep-sea);
    z-index: 2;
}

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

.rsvp-form {
    max-width: 500px;
    margin: 0 auto;
    padding: 40px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
}

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

/* Checkbox estilo custom */
.checkbox-container {
    display: flex;
    align-items: center;
    gap: 14px;
    cursor: pointer;
    font-size: 1.1rem;
    user-select: none;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    width: 28px;
    height: 28px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    flex-shrink: 0;
}

.checkbox-container:hover .checkmark {
    border-color: var(--color-turquoise);
}

.checkbox-container input:checked~.checkmark {
    background: var(--color-turquoise);
    border-color: var(--color-turquoise);
}

.checkmark::after {
    content: '';
    display: none;
    width: 8px;
    height: 14px;
    border: solid var(--color-deep-sea);
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
}

.checkbox-container input:checked~.checkmark::after {
    display: block;
}

.checkbox-label {
    font-weight: 500;
}

/* Equipment field */
.equipment-group {
    display: none;
    animation: slideDown 0.3s ease-out;
}

.equipment-group.visible {
    display: block;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.equipment-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--color-turquoise);
}

.equipment-group textarea {
    width: 100%;
    padding: 16px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    color: var(--color-coral-white);
    font-family: var(--font-main);
    font-size: 1rem;
    resize: vertical;
    transition: var(--transition-smooth);
}

.equipment-group textarea:focus {
    outline: none;
    border-color: var(--color-turquoise);
    box-shadow: 0 0 0 3px var(--color-turquoise-glow);
}

.equipment-group textarea::placeholder {
    color: var(--color-text-muted);
}

.form-hint {
    display: block;
    margin-top: 8px;
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

/* WhatsApp Button */
.whatsapp-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 32px;
    background: var(--color-whatsapp);
    color: white;
    border: none;
    border-radius: 50px;
    font-family: var(--font-main);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
}

.whatsapp-btn:hover {
    background: var(--color-whatsapp-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
}

.whatsapp-icon {
    width: 24px;
    height: 24px;
}

/* === CLOSING SECTION === */
.closing-section {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 2;
}

.closing-image {
    position: absolute;
    inset: 0;
    background: url('img2.jpg') center/cover no-repeat;
    z-index: -2;
}

.closing-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            var(--color-deep-sea) 0%,
            rgba(10, 22, 40, 0.8) 30%,
            rgba(10, 22, 40, 0.8) 70%,
            var(--color-deep-sea) 100%);
    z-index: -1;
}

.closing-content {
    padding: 40px;
}

.closing-quote {
    font-size: clamp(1.5rem, 5vw, 2.5rem);
    font-weight: 600;
    font-style: italic;
    max-width: 700px;
    margin: 0 auto 24px;
    line-height: 1.4;
}

.closing-emoji {
    display: block;
    font-size: 4rem;
    margin-bottom: 20px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

.closing-tagline {
    font-size: 1.2rem;
    color: var(--color-turquoise);
    font-weight: 500;
    margin-bottom: 30px;
}

.map-link {
    display: inline-block;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.map-link:hover {
    transform: scale(1.03);
}

.map-image {
    width: 100%;
    max-width: 400px;
    border-radius: var(--radius-lg);
    border: 3px solid var(--color-turquoise);
    box-shadow: var(--shadow-glow);
    margin-bottom: 12px;
}

.map-caption {
    display: block;
    color: var(--color-coral-white);
    font-weight: 600;
    font-size: 1rem;
}

/* === FOOTER === */
.footer {
    position: relative;
    padding: 30px;
    text-align: center;
    background: var(--color-deep-sea);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 2;
}

.footer p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .hero-date {
        flex-direction: column;
        gap: 12px;
    }

    .date-item {
        width: 100%;
        justify-content: center;
    }

    .divers-schedule {
        flex-direction: column;
        gap: 20px;
    }

    .schedule-divider {
        transform: rotate(90deg);
    }

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

@media (max-width: 480px) {
    .hero-cta {
        width: 100%;
        justify-content: center;
    }

    .info-card {
        padding: 28px 20px;
    }

    .schedule-item {
        min-width: 100%;
    }
}