/* =========================================
   Paleta Oficial California Zephyr S.L. & ERB
   Fondo Azul Marino Elegante: #081a2d / #0b2d53
   Detalles: #0e8743 (Verde), #f7b928 (Oro/Amarillo)
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #081a2d; /* FONDO AZUL OSCURO ELEGANTE (NUNCA NEGRO PLANO) */
    color: #ecf0f1;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    padding: 0 15px;
}

/* Encabezado */
.header {
    background-color: #0b2d53;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 10px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#site-logo {
    max-height: 65px;
    display: block;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.8)); /* Para que resalte el logo */
}

.nav a {
    margin-left: 20px;
    text-decoration: none;
    color: #ecf0f1;
    font-weight: 600;
    transition: color 0.3s;
}

.nav a:hover {
    color: #f7b928;
}

.btn-nav {
    background: #e67e22;
    color: #fff !important;
    padding: 8px 18px;
    border-radius: 20px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #0b2d53 0%, #081a2d 100%);
    color: #fff;
    padding: 70px 0;
    border-bottom: 3px solid #f7b928;
}

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

.hero-text h1 {
    font-size: 2.8rem;
    margin-bottom: 15px;
    color: #f7b928;
}

.subtitle {
    font-size: 1.2rem;
    margin-bottom: 25px;
    color: #bdc3c7;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 22px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-whatsapp {
    background-color: #25d366;
    color: #fff;
}

.btn-whatsapp-secondary {
    background-color: #128c7e;
    color: #fff;
}

.hero-img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
    border: 3px solid #0b2d53;
}

/* Servicios */
.services {
    padding: 80px 0;
    background-color: #0b2d53;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 40px;
    color: #f7b928;
}

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

.card {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid rgba(247, 185, 40, 0.2);
    text-align: center;
}

.card .icon {
    font-size: 2.5rem;
    color: #f7b928;
    margin-bottom: 15px;
}

.card h3 {
    color: #fff;
    margin-bottom: 10px;
}

.card p {
    color: #bdc3c7;
}

/* Eventos */
.events {
    background: #081a2d;
    padding: 70px 0;
}

.events-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    max-width: 900px;
    margin: auto;
}

.events-list li {
    font-size: 1.1rem;
    font-weight: 600;
    background: rgba(14, 135, 67, 0.15);
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #0e8743;
    display: flex;
    align-items: center;
}

.events-list i {
    color: #f7b928;
    margin-right: 10px;
}

/* Historia */
.story {
    padding: 80px 0;
    background: #0b2d53;
    border-top: 2px solid #0e8743;
    border-bottom: 2px solid #0e8743;
}

.story-content {
    max-width: 800px;
    margin: auto;
    background: rgba(0,0,0,0.2);
    padding: 40px;
    border-radius: 15px;
}

.story-text h2 {
    color: #f7b928;
    margin-bottom: 5px;
}

.story-text h3 {
    margin-bottom: 20px;
    color: #ecf0f1;
}

.story-text p {
    margin-bottom: 15px;
    color: #bdc3c7;
}

.story-text strong {
    color: #0e8743;
}

/* Contacto WhatsApp */
.contact {
    padding: 80px 0;
    background: #081a2d;
}

.contact-subtitle {
    text-align: center;
    max-width: 700px;
    margin: -20px auto 40px auto;
    color: #bdc3c7;
}

.whatsapp-cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.wa-card {
    background: rgba(11, 45, 83, 0.7);
    border-top: 5px solid #0e8743;
    padding: 35px 25px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    text-align: center;
    min-width: 280px;
    max-width: 380px;
    flex: 1;
}

.wa-card-main {
    border-top: 5px solid #f7b928;
}

.wa-icon {
    font-size: 3rem;
    color: #25d366;
    margin-bottom: 15px;
}

.wa-card h3 {
    color: #fff;
    font-size: 1.4rem;
    margin-bottom: 5px;
}

.wa-card p {
    color: #bdc3c7;
    margin-bottom: 20px;
}

.btn-wa-card {
    background-color: #25d366;
    color: #ffffff;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 25px;
    display: inline-block;
    font-weight: bold;
}

/* Botón flotante */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 1001;
}

.wa-btn {
    background: #25d366;
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 32px;
    box-shadow: c-shadow: 0 4px 10px rgba(0,0,0,0.5);
    text-decoration: none;
}

.footer {
    background: #05101a;
    color: #7f8c8d;
    text-align: center;
    padding: 25px 0;
}

@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-buttons {
        justify-content: center;
    }
    .nav {
        display: none;
    }
}