/* Reset y configuración general */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #f5f5f5;
    color: #333;
}

/* ========================================
   HEADER SECTION
======================================== */
.header {
    background: linear-gradient(135deg, #2c3e80 0%, #4a5fa8 100%);
    padding: 40px 20px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,112C672,96,768,96,864,112C960,128,1056,160,1152,160C1248,160,1344,128,1392,112L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 0.3;
}

.header-content {
    position: relative;
    z-index: 1;
}

.header h2 {
    font-size: 14px;
    letter-spacing: 3px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.profile-img {
    width: 150px;
    height: 150px;
    border-radius: 30px;
    border: 5px solid white;
    margin: 20px auto;
    display: block;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.header h1 {
    font-size: 28px;
    margin: 20px 0 10px;
}

.header p {
    font-size: 14px;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ========================================
   BUTTONS SECTION
======================================== */
.buttons {
    padding: 30px 20px;
    max-width: 600px;
    margin: 0 auto;
}

.btn {
    display: block;
    width: 100%;
    padding: 15px;
    margin: 15px 0;
    border-radius: 50px;
    text-decoration: none;
    text-align: center;
    font-weight: bold;
    font-size: 14px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-whatsapp {
    background: #25D366;
    color: white;
}

.btn-whatsapp:hover {
    background: #1fbd58;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

.btn-email {
    background: #4285F4;
    color: white;
}

.btn-email:hover {
    background: #3367d6;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(66, 133, 244, 0.3);
}

.btn-web {
    background: #1a1a4a;
    color: white;
}

.btn-web:hover {
    background: #0f0f30;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(26, 26, 74, 0.3);
}

/* ========================================
   SECTION TITLE
======================================== */
.section-title {
    text-align: center;
    font-size: 18px;
    letter-spacing: 5px;
    color: #999;
    text-transform: uppercase;
    margin: 50px 0 30px;
    font-weight: 300;
}

/* ========================================
   CAROUSEL SECTION
======================================== */
carousel-container {
    max-width: 900px;
    margin: 0 auto 50px;
    padding: 0 20px;
    position: relative;
}

.carousel {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    min-height: 550px; /* Altura mínima para acomodar las imágenes completas */
}

.carousel-inner {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-item {
    min-width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

/* Cambios clave para mostrar imágenes completas */
.carousel-item img {
    width: 100%;
    max-height: 500px; /* Limita la altura máxima */
    object-fit: contain; /* Muestra la imagen completa sin recortar */
    display: block;
    margin: 0 auto; /* Centra la imagen horizontalmente */
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    z-index: 10;
    transition: all 0.3s ease;
}

.carousel-btn:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn.prev {
    left: 20px;
}

.carousel-btn.next {
    right: 20px;
}

.carousel-dots {
    text-align: center;
    padding: 20px 0;
}

.dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ccc;
    margin: 0 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #2c3e80;
    transform: scale(1.2);
}

/* ========================================
   MAP SECTION
======================================== */
.map-container {
    max-width: 900px;
    margin: 0 auto 50px;
    padding: 0 20px;
}

.map-wrapper {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    height: 400px;
    background: #e5e3df;
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ========================================
   QR CODE SECTION
======================================== */
.qr-container {
    max-width: 600px;
    margin: 0 auto 50px;
    padding: 0 20px;
    text-align: center;
}

.qr-box {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.qr-code {
    width: 250px;
    height: 250px;
    margin: 20px auto;
    background: white;
    padding: 20px;
    border-radius: 10px;
    border: 3px solid #2c3e80;
}

.qr-code img {
    width: 100%;
    height: 100%;
}

.qr-title {
    font-size: 16px;
    color: #666;
    margin-top: 15px;
    font-style: italic;
}

/* ========================================
   SOCIAL ICONS
======================================== */
.social-icons {
    text-align: center;
    padding: 30px 20px 50px;
}

.social-icon {
    display: inline-block;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin: 0 10px;
    line-height: 50px;
    text-align: center;
    color: white;
    text-decoration: none;
    font-size: 24px;
    transition: all 0.3s ease;
}

.social-icon.facebook {
    background: #1877F2;
}

.social-icon.facebook:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(24, 119, 242, 0.4);
}

.social-icon.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-icon.instagram:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(188, 24, 136, 0.4);
}

/* ========================================
   RESPONSIVE DESIGN
======================================== */
@media (max-width: 768px) {
    /* Ajustamos la altura también en móviles */
    .carousel-item img {
        height: 350px; /* Altura menor en móviles */
    }

    .map-wrapper {
        height: 300px;
    }

    .qr-code {
        width: 200px;
        height: 200px;
    }

    .header h1 {
        font-size: 24px;
    }

    .header h2 {
        font-size: 12px;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .carousel-btn.prev {
        left: 10px;
    }

    .carousel-btn.next {
        right: 10px;
    }
}

/* ========================================
   WAVE SEPARATOR (OLAS)
======================================== */
.wave-separator {
    width: 100%;
    height: 60px; /* Ajusta altura */
    display: block;
    position: relative;
    z-index: 2;
    transform: rotate(180deg); /* Gira para que las olas vayan hacia abajo */
}