/* casa.css */

/* Mantiene estilos base de home.css si lo cargas también */
/* Añadimos estilos específicos para esta página */

/* Ajustes generales */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #fdfdfd;
    color: #333;
    margin: 0;
    padding: 0;
}

/* Top bar */
.top-bar {
    font-size: 0.95rem;
    background-color: #f8f9fa;
    border-bottom: 1px solid #ddd;
}

.social-icons a {
    margin-left: 10px;
}

.social-icons .icon {
    width: 24px;
    height: 24px;
    object-fit: cover;
    border-radius: 4px;
    transition: transform 0.3s ease;
}

.social-icons .icon:hover {
    transform: scale(1.1);
}

/* Navbar */
.navbar {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.navbar-brand img {
    max-height: 50px;
}

.navbar-brand img {
    height: auto;
    width: 80px;
}

.nav-link {
    color: #fff !important;
    margin-left: 15px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #ffd700 !important;
}

/* Estilo para íconos de redes sociales en la barra superior */
.social-icons .icon {
    width: 24px;
    height: 24px;
    margin-left: 12px;
    border-radius: 4px;
    object-fit: cover;
}

.descripcion{
    text-align: center;
    margin: 3%;
}


/* Carrusel general */
#carouselHabitacion {
    max-width: 900px; /* tamaño máximo del carrusel */
    margin: 20px auto; /* centrado horizontal */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Imágenes dentro del carrusel */
#carouselHabitacion .carousel-item img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.5s ease;
}

#carouselHabitacion .carousel-item img:hover {
    transform: scale(1.05); /* efecto zoom al pasar ratón */
}

/* Botones de control */
#carouselHabitacion .carousel-control-prev,
#carouselHabitacion .carousel-control-next {
    width: 5%;
}

#carouselHabitacion .carousel-control-prev-icon,
#carouselHabitacion .carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.5); /* icono con fondo semitransparente */
    border-radius: 50%;
    width: 40px;
    height: 40px;
    background-size: 100%, 100%;
}

/* Puntos del carrusel (indicadores) */
#carouselHabitacion .carousel-indicators button {
    background-color: #000; /* negro */
    opacity: 0.7;
}

#carouselHabitacion .carousel-indicators .active {
    background-color: #ffd700; /* dorado para el activo */
}



footer {
    background-color: #222; /* azul oscuro elegante */
    color: #ecf0f1;            /* gris claro */
    text-align: center;
    padding: 25px 15px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    margin-top: 50px;
    border-top: 3px solid #000000;
}

footer nav {
    margin: 10px 0;
}

footer a {
    color: #ffcc00;
    text-decoration: none;
    margin: 0 10px;
    font-weight: 500;
}

footer a:hover {
    text-decoration: underline;
    color: #ffd700; /* dorado más brillante */
}

/* Ajustes para pantallas pequeñas */
@media (max-width: 768px) {

    /* Hacer los textos del menú más pequeños */
    .navbar .nav-link {
        font-size: 0.85rem;
        padding: 6px 4px;
        margin-left: 5px;
        margin-right: 5px;
    }

    /* Reducir el logo */
    .navbar-brand img {
        width: 55px;
    }

    /* Hacer que la navbar no crezca demasiado */
    .navbar-nav {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* Ajustes extra para móviles muy pequeños (iPhone SE, Android pequeños) */
@media (max-width: 480px) {

    .navbar .nav-link {
        font-size: 0.75rem;
        padding: 4px 3px;
        margin-left: 3px;
        margin-right: 3px;
    }

    .navbar-brand img {
        width: 45px;
    }
}

/* TOP BAR */
@media (max-width: 768px) {
    .top-bar {
        padding: 6px 10px;
        font-size: 0.8rem;
    }

    .social-icons .icon {
        width: 18px;
        height: 18px;
        margin-left: 6px;
    }
}

/* LOGO MÁS PEQUEÑO EN MÓVIL */
@media (max-width: 768px) {
    .navbar-brand img {
        width: 55px;
        height: auto;
    }
}

@media (max-width: 480px) {
    .navbar-brand img {
        width: 45px;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .top-bar {
        flex-direction: column;
        text-align: center;
    }

    .navbar-brand img {
        max-height: 40px;
    }

    .nav-link {
        margin-left: 0;
        margin-right: 10px;
    }

    .info-principal {
        text-align: center;
    }

    .info-principal .row > div {
        margin-bottom: 20px;
    }
}



/* Ajustes para pantallas pequeñas */
@media (max-width: 768px) {

    /* Hacer los textos del menú más pequeños */
    .navbar .nav-link {
        font-size: 0.85rem;
        padding: 6px 4px;
        margin-left: 5px;
        margin-right: 5px;
    }

    /* Reducir el logo */
    .navbar-brand img {
        width: 55px;
    }

    /* Hacer que la navbar no crezca demasiado */
    .navbar-nav {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* Ajustes extra para móviles muy pequeños (iPhone SE, Android pequeños) */
@media (max-width: 480px) {

    .navbar .nav-link {
        font-size: 0.75rem;
        padding: 4px 3px;
        margin-left: 3px;
        margin-right: 3px;
    }

    .navbar-brand img {
        width: 45px;
    }
}

/* Ajustes para pantallas pequeñas */
@media (max-width: 768px) {

    /* Hacer los textos del menú más pequeños */
    .navbar .nav-link {
        font-size: 0.85rem;
        padding: 6px 4px;
        margin-left: 5px;
        margin-right: 5px;
    }

    /* Reducir el logo */
    .navbar-brand img {
        width: 55px;
    }

    /* Hacer que la navbar no crezca demasiado */
    .navbar-nav {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* Ajustes extra para móviles muy pequeños (iPhone SE, Android pequeños) */
@media (max-width: 480px) {

    .navbar .nav-link {
        font-size: 0.75rem;
        padding: 4px 3px;
        margin-left: 3px;
        margin-right: 3px;
    }

    .navbar-brand img {
        width: 45px;
    }
}

/* TOP BAR */
@media (max-width: 768px) {
    .top-bar {
        padding: 6px 10px;
        font-size: 0.8rem;
    }

    .social-icons .icon {
        width: 18px;
        height: 18px;
        margin-left: 6px;
    }
}

/* LOGO MÁS PEQUEÑO EN MÓVIL */
@media (max-width: 768px) {
    .navbar-brand img {
        width: 55px;
        height: auto;
    }
}

@media (max-width: 480px) {
    .navbar-brand img {
        width: 45px;
    }
}

@media (max-width: 768px) {
    h1, h2, h3 {
        font-size: 1.8rem;
    }

    p {
        font-size: 1.1rem;
        line-height: 1.5;
    }

    button, a.btn {
        padding: 14px 20px;
        font-size: 1.2rem;
    }

    section, .container {
        padding-bottom: 40px;
    }
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

footer {
    margin-top: auto;
}
