/* RESET Y ESTILOS GENERALES */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    color: #333;
    line-height: 1.6;
    background-color: #f9f9f9;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

section {
    padding: 80px 0;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
}

h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: #2a7d2e;
    margin: 10px auto;
    border-radius: 2px;
}

/* HEADER Y NAVEGACIÓN */
header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    position: relative;
}

.logo-img {
    height: 50px;
    width: auto;
}

.menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
    position: relative;
}

nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
    padding: 5px 0;
}

nav ul li a:hover {
    color: #2a7d2e;
}

.submenu {
    display: none;
    position: absolute;
    background: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-radius: 5px;
    padding: 10px 0;
    min-width: 200px;
    top: 100%;
    left: 0;
    z-index: 100;
}

.submenu li {
    margin: 0;
    width: 100%;
}

.submenu a {
    display: block;
    padding: 10px 20px;
    width: 100%;
}

nav ul li:hover .submenu {
    display: block;
}

/* HERO SECTION */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('images/glamping-6490987.jpg');
    background-size: cover;
    background-position: bottom center;
    height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
    margin-top: 70px;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-logo {
    width: 50%;
    max-width: 400px;
    height: auto;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    font-weight: 600;
}

.btn {
    display: inline-block;
    background: #2a7d2e;
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background: #1f5c22;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* QUIÉNES SOMOS */
.about {
    background: white;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.about-text {
    flex: 1;
}

.about-text p {
    margin-bottom: 20px;
    font-weight: 500;
}

.about-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.about-image img,
.about-image video {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s;
}

.about-image:hover img,
.about-image:hover video {
    transform: scale(1.05);
}

/* CÓMO FUNCIONA */
.how-it-works {
    background: #f5f5f5;
}

.steps {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.step {
    flex: 1;
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s;
}

.step:hover {
    transform: translateY(-10px);
}

.step-icon {
    font-size: 40px;
    color: #2a7d2e;
    margin-bottom: 20px;
}

.step h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.step p {
    font-weight: 500;
}

/* MISIÓN Y VISIÓN */
.mission-vision {
    background: white;
}

.mv-container {
    display: flex;
    gap: 40px;
}

.mission, .vision {
    flex: 1;
    padding: 30px;
    background: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.mission h3, .vision h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #2a7d2e;
    display: flex;
    align-items: center;
}

.mission h3 i, .vision h3 i {
    margin-right: 10px;
}

/* PROYECTOS */
.projects {
    background: #f5f5f5;
}

.project-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.project-card {
    flex: 1;
    min-width: 300px;
    max-width: 350px;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.project-card:hover {
    transform: translateY(-10px);
}

.project-image {
    height: 200px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-info {
    padding: 20px;
}

.project-info h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.project-info .price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2a7d2e;
    margin: 15px 0;
}

/* FORMULARIO DE CONTACTO */
.contact {
    background: white;
}

.contact-container {
    display: flex;
    gap: 40px;
}

.contact-info {
    flex: 1;
}

.contact-form {
    flex: 1;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: #2a7d2e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    margin-right: 15px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border 0.3s;
}

.form-control:focus {
    border-color: #2a7d2e;
    outline: none;
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

/* FOOTER */
footer {
    background: #19521c;
    color: white;
    padding: 60px 0 30px;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: space-between;
}

.footer-col {
    flex: 1;
    min-width: 200px;
}

.footer-col h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background: #d4af37;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #e0e0e0;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: white;
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: white;
    transition: all 0.3s;
}

.social-links a:hover {
    background: #d4af37;
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9rem;
    color: #e0e0e0;
}

/* BOTÓN DE WHATSAPP */
.whatsapp-float-custom {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 30px;
    height: 30px;
    background: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    animation: whatsapp-pulse 2s infinite;
}

.whatsapp-icon-spin {
    width: 40px;
    height: 40px;
    transition: transform 0.6s;
}

.whatsapp-float-custom:hover .whatsapp-icon-spin {
    transform: rotate(360deg) scale(1.1);
}

@keyframes whatsapp-pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .about-content, .mv-container, .contact-container {
        flex-direction: column;
    }
    
    .steps {
        flex-wrap: wrap;
    }
    
    .step {
        min-width: 100%;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    nav ul {
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        display: none;
    }
    
    nav ul.show {
        display: flex;
    }
    
    nav ul li {
        margin: 0;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid #f0f0f0;
    }
    
    nav ul li a {
        display: block;
        padding: 15px;
    }
    
    .header-container {
        position: relative;
    }
    
    .submenu {
        position: static;
        box-shadow: none;
        display: none;
        background: #f9f9f9;
    }
    
    nav ul li:hover .submenu {
        display: none;
    }
    
    .submenu.show {
        display: block;
    }
    
    .mobile-title { 
        display: none;
        font-size: 18px;
        font-weight: bold; 
        color: #020202; 
        position: absolute; 
        top: 50%; 
        left: 0; 
        z-index: 1001; 
        background: transparent; 
        padding: 15px;
        transform: translateY(-50%);
        display: flex;
        align-items: center;
    }

    @media screen and (max-width: 768px) and (orientation: portrait) { 
        .mobile-title { 
            display: block; 
        } 
    }
    
    .hero-logo {
        width: 80%;
    }
}