/* assets/css/styles.css */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700;900&display=swap');

:root {
    --primary-blue: #0077B6;
    --dark-blue: #023E8A;
    --light-blue: #48CAE4;
    --white: #FFFFFF;
    --yellow: #FFB703;
    --magenta: #E91E63;
    --dark-overlay: rgba(0, 0, 0, 0.6);
    --text-color: #333333;
    --bg-light: #F8F9FA;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-color);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Animations */
.fade-in {
    opacity: 0;
    animation: fadeIn 1.5s ease-in forwards;
}

.slide-up {
    opacity: 0;
    transform: translateY(50px);
    animation: slideUp 1s ease-out forwards;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

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

h1, h2, h3, h4, h5, h6 {
    font-weight: 900;
    text-transform: uppercase;
}

.text-magenta {
    color: var(--magenta);
}

.text-yellow {
    color: var(--yellow);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--dark-overlay);
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    padding: 20px;
    z-index: 1;
}

.hero-logo {
    max-width: 140px; /* Reducido para destacar más el título */
    height: auto;
    margin-bottom: 20px;
    filter: drop-shadow(2px 4px 6px rgba(0,0,0,0.5));
}

.hero h1 {
    font-size: 3rem; /* Tamaño moderado para el primer renglón */
    margin-bottom: 20px;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.6);
    line-height: 1.1;
}

.kayak-text {
    font-size: 7.5rem; /* Tamaño masivamente grande para la palabra KAYAK */
    display: inline-block;
    margin-top: 5px;
    letter-spacing: 2px;
}

.hero h2 {
    font-size: 2rem;
    color: var(--yellow);
    margin-bottom: 20px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    font-weight: 700;
}

.btn-primary {
    display: inline-block;
    background-color: var(--yellow);
    color: var(--dark-blue);
    padding: 15px 40px;
    font-size: 1.2rem;
    font-weight: 900;
    text-decoration: none;
    border-radius: 5px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: var(--white);
    color: var(--magenta);
    transform: translateY(-3px);
    box-shadow: 0 6px 10px rgba(0,0,0,0.3);
}

/* Event Info Section */
.info-section {
    padding: 80px 20px;
    background-color: var(--white);
    text-align: center;
}

.info-section h2 {
    font-size: 2.5rem;
    color: var(--dark-blue);
    margin-bottom: 50px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.info-card {
    background-color: var(--bg-light);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border-top: 5px solid var(--primary-blue);
    transition: transform 0.3s ease;
}

.info-card:hover {
    transform: translateY(-10px);
}

.info-card h3 {
    color: var(--primary-blue);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.info-card ul {
    list-style: none;
    text-align: left;
}

.info-card li {
    margin-bottom: 10px;
    font-size: 1.1rem;
    padding-left: 20px;
    position: relative;
}

.info-card li::before {
    content: "•";
    color: var(--yellow);
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
    position: absolute;
    left: 0;
}

.extra-info {
    margin-top: 50px;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--magenta);
    padding: 20px;
    background-color: #fce4ec; /* light magenta bg */
    border-radius: 8px;
    display: inline-block;
}

/* Gallery Section */
.gallery-section {
    padding: 80px 0;
    background-color: var(--dark-blue);
    color: var(--white);
    text-align: center;
    overflow: hidden;
}

.gallery-section h2 {
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--light-blue);
}

.gallery-container {
    width: 100%;
    margin: auto;
    overflow: hidden;
    position: relative;
}

.gallery-track {
    display: flex;
    width: calc(300px * 10); /* Adjust based on JS */
    animation: scrollGallery 20s linear infinite;
}

.gallery-slide {
    width: 300px;
    height: 250px;
    margin: 0 10px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

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

/* Modal Lightbox para Galería */
.gallery-lightbox {
    display: none;
    position: fixed;
    z-index: 4000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-lightbox.show {
    display: flex;
    opacity: 1;
}

.gallery-lightbox img {
    max-width: 90%;
    max-height: 90vh;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.8);
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.gallery-lightbox.show img {
    transform: scale(1);
}

.gallery-lightbox .close-lightbox {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    cursor: pointer;
    font-weight: bold;
    z-index: 4001;
    transition: color 0.3s;
}

.gallery-lightbox .close-lightbox:hover {
    color: var(--magenta);
}

.lightbox-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    font-size: 30px;
    padding: 15px 20px;
    cursor: pointer;
    z-index: 4001;
    transition: background 0.3s, color 0.3s;
    border-radius: 50%;
}

.lightbox-arrow:hover {
    background: white;
    color: var(--dark-blue);
}

.left-arrow {
    left: 20px;
}

.right-arrow {
    right: 20px;
}

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

@keyframes scrollGallery {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-320px * 5)); }
}

/* Form Section */
.form-section {
    padding: 80px 20px;
    background-color: var(--bg-light);
    display: flex;
    justify-content: center;
}

.form-container {
    background-color: var(--white);
    max-width: 600px;
    width: 100%;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-top: 5px solid var(--magenta);
}

.form-container h2 {
    text-align: center;
    color: var(--dark-blue);
    margin-bottom: 30px;
}

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

.form-group label {
    display: block;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--text-color);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 5px rgba(0, 119, 182, 0.3);
}

.form-group small {
    display: block;
    color: #666;
    font-size: 0.8rem;
    margin-top: 5px;
}

.form-message {
    padding: 15px;
    margin-top: 20px;
    border-radius: 5px;
    display: none;
    font-weight: bold;
    text-align: center;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

/* Footer & Logos */
.footer {
    background-color: var(--dark-blue);
    padding: 40px 20px;
    text-align: center;
    border-top: 5px solid #8B0045; /* borde bordo fuxia oscuro */
}

.footer-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-bottom: 30px;
    max-width: 1000px;
    margin: 0 auto 30px;
}

.footer-logos img {
    max-height: 80px;
    object-fit: contain;
    transition: all 0.3s ease;
}

.footer-logos img:hover {
    transform: scale(1.05);
}

.footer-text {
    font-size: 0.9rem;
    color: #e0e0e0;
}

/* Floating WhatsApp */
.whatsapp-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1000;
}

.floating-whatsapp {
    position: relative;
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    text-decoration: none;
    transition: transform 0.3s ease;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
}

.whatsapp-text {
    position: absolute;
    right: 75px;
    background-color: white;
    color: #333;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.9rem;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.floating-whatsapp:hover .whatsapp-text {
    opacity: 1;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.8);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s;
}

.modal-content {
    background-color: var(--white);
    margin: auto;
    padding: 40px;
    border-radius: 15px;
    max-width: 500px;
    width: 90%;
    position: relative;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    border-top: 6px solid var(--primary-blue);
    text-align: center;
    transform: translateY(-20px);
    animation: slideUp 0.4s forwards;
}

.close-modal {
    color: #aaa;
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.close-modal:hover {
    color: var(--magenta);
}

.modal-icon {
    font-size: 60px;
    margin-bottom: 20px;
    color: var(--primary-blue);
}

.share-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 25px;
    flex-wrap: wrap;
}

.btn-share {
    padding: 10px 20px;
    border-radius: 5px;
    color: white;
    text-decoration: none;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.2s;
}

.btn-share:hover {
    transform: translateY(-3px);
}

.btn-share.fb { background-color: #1877F2; }
.btn-share.tw { background-color: #1DA1F2; }
.btn-share.wa { background-color: #25D366; }

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .kayak-text {
        font-size: 4.5rem;
    }
    
    .hero h2 {
        font-size: 1.5rem;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-logos img {
        max-height: 60px;
    }
}
