/* Estilos generales */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Helvetica Neue', Arial, sans-serif;
}

body {
    color: #333;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Header */
header {
    background-color: rgba(255, 255, 255, 0.95);
    position: fixed;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: #222;
}

.logo span {
    color: #b8860b;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    font-weight: 500;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #b8860b;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://images.unsplash.com/photo-1560448204-e02f11c3d0e2');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding-top: 80px;
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 30px;
    max-width: 700px;
}

.search-box {
    background: white;
    padding: 30px;
    border-radius: 5px;
    max-width: 800px;
    margin: 0 auto;
}

.search-tabs {
    display: flex;
    margin-bottom: 20px;
}

.search-tab {
    padding: 10px 20px;
    background: #f5f5f5;
    cursor: pointer;
    flex: 1;
    text-align: center;
}

.search-tab.active {
    background: #b8860b;
    color: white;
}

.search-form {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.search-form select,
.search-form input {
    flex: 1;
    min-width: 200px;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.search-btn {
    background: #b8860b;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s;
}

.search-btn:hover {
    background: #a67c10;
}

/* Featured Properties */
.featured {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

.section-title p {
    color: #777;
    max-width: 600px;
    margin: 0 auto;
}

.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.property-card {
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.property-card:hover {
    transform: translateY(-10px);
}

.property-img {
    height: 250px;
    background-size: cover;
    background-position: center;
}

.property-info {
    padding: 20px;
    background: white;
}

.property-price {
    font-size: 22px;
    font-weight: bold;
    color: #b8860b;
    margin-bottom: 10px;
}

.property-title {
    font-size: 20px;
    margin-bottom: 10px;
}

.property-location {
    color: #777;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.property-features {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid #eee;
    padding-top: 15px;
    margin-top: 15px;
}

.feature {
    display: flex;
    align-items: center;
}

/* Services */
.services {
    background: #f9f9f9;
    padding: 80px 20px;
    text-align: center;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    padding: 40px 20px;
    background: white;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.service-icon {
    font-size: 40px;
    color: #b8860b;
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 15px;
}

/* Testimonials */
.testimonials {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Footer */
footer {
    background: #222;
    color: white;
    padding: 60px 20px 30px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-column h3 {
    margin-bottom: 20px;
    font-size: 18px;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a:hover {
    color: #b8860b;
}

.copyright {
    text-align: center;
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid #444;
}

/* Airbnb Link */
.airbnb-link {
    display: inline-block;
    margin-top: 15px;
    padding: 8px 15px;
    background-color: #FF5A5F;
    color: white;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-align: center;
    width: 100%;
}

.airbnb-link:hover {
    background-color: #E04A50;
    transform: translateY(-2px);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.property-info {
    position: relative;
    padding-bottom: 50px;
    /* Añade espacio para el botón */
}

/* Responsive */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
    }

    nav ul {
        margin-top: 20px;
    }

    nav ul li {
        margin: 0 10px;
    }

    .hero-content h1 {
        font-size: 36px;
    }

    .hero-content p {
        font-size: 18px;
    }
}

/* Botón de WhatsApp */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
    z-index: 1000;
    transition: all 0.3s ease;
}

.whatsapp-btn:hover {
    background-color: #128C7E;
    transform: scale(1.1);
}

.whatsapp-btn img {
    width: 36px;
    height: 36px;
}

/* Efecto de burbuja flotante */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

.whatsapp-btn {
    animation: float 3s ease-in-out infinite;
}

/* Para pantallas pequeñas */
@media (max-width: 768px) {
    .whatsapp-btn {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-btn img {
        width: 30px;
        height: 30px;
    }
}