/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans', sans-serif, 'Arial', 'Segoe UI'; /* Fuente legible con toques retro */
    background-color: #121212; /* Negro oscuro */
    color: #f5f5f5;
    line-height: 2.10;
}

/* Aplicando una fuente tipo Dragon Ball */
@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');

h1, h2, h3 {
    font-family: 'Press Start 2P', cursive; /* Fuente inspirada en los videojuegos retro */
}

/* Estilo general */
a {
    color: #ff8c00; /* Naranja fuerte */
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Contenedor principal */
.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

/* Header */
header {
    background-color: #1e1e1e;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(255, 140, 0, 0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-size: 5rem;
    font-weight: bold;
    color: #ff8c00;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 4rem;
}

nav ul li a {
    font-weight: 500;
    transition: color 0.3s;
}

#mobile-menu-button {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #ff8c00;
}

/* Hero Section */
.hero {
    background: linear-gradient(to right, #ff8c00,#111), url('images/kame-house-background.jpg'); /* Fondo con imagen de playa */
    background-size: cover;
    color: #f5f5f5;
    padding: 5rem 3;
    text-align: center;
    background-position: center;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* Oscurecer la imagen de fondo */
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 2.5rem;
    color: #ff8c00;
    z-index: 3;
}

.hero p {
    font-size: 2.5rem;
    margin-bottom: 5rem;
    z-index: 3;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    font-weight: bold;
    transition: background 0.3s;
}

.btn-primary {
    background-color: #ff8c00;
    color: #f5f5f5;
    border: 9px solid #ff8c00;
}

.btn-primary:hover {
    background-color: #ff8c00;
    color: #121212;
}

/* Secciones */
.section-padding {
    padding: 4rem 0;
}

/* Cards */
.grid-container {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    margin-top: 2rem;
}

.card {
    background-color: #1e1e1e;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(255, 140, 0, 0.1);
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

.card-img {
    width: 100%;
    height: auto;
    display: block;
}

.card h3 {
    color: #ff8c00;
    margin: 1rem;
}

.card p {
    margin: 0 1rem 1rem 1rem;
}

.card-price, .card-condition {
    font-weight: bold;
    color: #ffa726;
}

/* WhatsApp Comunidad */
.btn-whatsapp {
    background-color: #25d366;
    color: #121212;
    padding: 0.5rem 1rem;
    border-radius: 30px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: bold;
}

.btn-whatsapp:hover {
    background-color: #1ebe5d;
}

/* Ubicación */
.dark-section {
    background-color: #1b1b1b;
}

.map-container iframe {
    width: 100%;
    border: none;
    border-radius: 12px;
}

.address-info {
    margin-top: 1.5rem;
}

/* Footer */
footer {
    background-color: #111;
    color: #f5f5f5;
    text-align: center;
    padding: 5rem 0;
    font-size: 0.9rem;
}

/* Palmera y fondo del tema */
body {
    background-image: url('images/palmera-kame-house.png'); /* Palmera estilo tropical */
    background-position: bottom left;
    background-repeat: no-repeat;
    background-size: 30%;
    height: 100vh;
}

/* Responsivo */
@media (max-width: 768px) {
    nav ul {
        display: none;
        flex-direction: column;
    }

    #mobile-menu-button {
        display: block;
    }

    nav.open ul {
        display: flex;
    }

    .hero h1 {
        font-size: 2.2rem;
    }
}
