:root {
    --primary-color-1: #dd9373;
    --primary-color-2: #a1af80;
    --secondary-color-1: #fff0e3;
    --secondary-color-2: #F5F5F5;
    --text-color: #333333;
    --light-text: #555555;
}

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

body {
    background-color: var(--secondary-color-2);
    color: var(--text-color);
    overflow-x: hidden;
}

/* Elementos abstractos de fondo */
.abstract-shape {
    position: fixed;
    border-radius: 50%;
    opacity: 0.1;
    z-index: -1;
    transition: transform 0.5s ease-out;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background-color: var(--primary-color-1);
    top: 10%;
    left: 5%;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background-color: var(--primary-color-2);
    bottom: 10%;
    right: 5%;
}

.shape-3 {
    width: 250px;
    height: 250px;
    background-color: var(--primary-color-1);
    top: 60%;
    left: 80%;
}

/* Estilos para el logo en el Hero */
.logo-hero {
    width: 100%;
    text-align: center;
    margin-bottom: -90px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 5;
}

.logo-img {
    max-width: 500px;
    height: auto;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
    animation: float 3s ease-in-out infinite;
    position: relative;
    z-index: 5;
}

/* Animación flotante para el logo */
@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0px);
    }
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color-2);
    text-decoration: none;
}

.logo span {
    color: var(--primary-color-1);
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary-color-1);
}

.mobile-menu-btn {
    display: none;
    font-size: 24px;
    color: var(--primary-color-2);
    background: none;
    border: none;
    cursor: pointer;
}

/* Sección Hero */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(to right, rgba(221, 147, 115, 0.1), rgba(161, 175, 128, 0.1));
    overflow: hidden;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    padding: 0 20px;
    z-index: 2;
}

.hero h1 {
    font-size: 24px;
    margin-bottom: -100px;
    color: var(--primary-color-2);
}

.hero h1 span {
    color: var(--primary-color-1);
}

.hero p {
    font-size: 16px;
    margin-bottom: 30px;
    color: var(--light-text);
}

.cta-button {
    display: inline-block;
    background-color: var(--primary-color-1);
    color: white;
    padding: 15px 40px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(221, 147, 115, 0.3);
    position: relative; /* Necesario para z-index */
    z-index: 10; /* Mayor que el logo */
}

.cta-button:hover {
    background-color: var(--primary-color-2);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(161, 175, 128, 0.3);
}

/* Secciones comunes */
section {
    padding: 100px 20px;
    max-width: 1900px;
    margin: 0 auto;
}

.section-title {
    font-size: 36px;
    margin-bottom: 50px;
    text-align: center;
    color: var(--primary-color-2);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary-color-1);
    border-radius: 2px;
}

/* Donde Encontrarnos */
.location-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.map-container {
    width: 100%;
    height: 400px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
}

.map-frame {
    width: 100%;
    height: 100%;
    border: none;
}

.location-info {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    width: 100%;
    gap: 30px;
}

.info-card {
    background-color: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    flex: 1;
    min-width: 250px;
}

.info-card i {
    font-size: 40px;
    color: var(--primary-color-1);
    margin-bottom: 20px;
}

.info-card h4 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--primary-color-2);
}

/* Footer de dos columnas */
footer {
    background-color: var(--primary-color-2);
    color: white;
    padding: 60px 20px 30px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center; /* Centrar las columnas */
    gap: 80px; /* Espacio entre columnas */
    flex-wrap: wrap; /* Para que sea responsivo */
}

.footer-column {
    flex: 0 1 400px; /* Ancho máximo de 400px cada una */
    min-width: 300px; /* Ancho mínimo */
}

.footer-column h3 {
    font-size: 24px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color-1);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    line-height: 1.5;
}

.footer-links li i {
    font-size: 18px;
    color: var(--secondary-color-1);
    margin-top: 3px;
    min-width: 20px;
}

.footer-links strong {
    color: var(--secondary-color-1);
    font-weight: 600;
}

.copyright {
    text-align: center;
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
}

/* Responsive para footer de dos columnas */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        gap: 40px;
        align-items: center;
    }
    
    .footer-column {
        width: 100%;
        max-width: 400px;
    }
    
    .footer-column h3 {
        justify-content: center;
    }
    
    .footer-column h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

/* Para pantallas muy pequeñas */
@media (max-width: 480px) {
    .footer-column {
        min-width: 250px;
    }
    
    .footer-links li {
        font-size: 15px;
    }
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    font-size: 18px;
    transition: all 0.3s;
}

.social-icons a:hover {
    background-color: var(--primary-color-1);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
}

/* Responsive */
@media (max-width: 992px) {
    .about-container, .purpose-container {
        flex-direction: column;
    }

    .about-logo {
        order: -1;
    }

    .logo-circle {
        width: 250px;
        height: 250px;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero p {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: white;
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        transform: translateY(-150%);
        transition: transform 0.5s ease;
    }

    .nav-links.active {
        transform: translateY(0);
    }

    .nav-links li {
        margin: 15px 0;
    }

    .mobile-menu-btn {
        display: block;
    }

    .section-title {
        font-size: 30px;
    }

    section {
        padding: 70px 20px;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 28px;
    }

    .hero p {
        font-size: 16px;
    }

    .cta-button {
        padding: 12px 30px;
        font-size: 16px;
    }

    .logo-circle {
        width: 200px;
        height: 200px;
    }

    .logo-circle h2 {
        font-size: 32px;
    }
    
    .carousel-slide {
        height: 300px;
    }
    
    .map-container {
        height: 300px;
    }
}