/*
 Theme Name:   Understrap Child
 Theme URI:    https://understrap.com
 Description:  Understrap Child Theme
 Author:       the Understrap Contributors
 Author URI:   https://github.com/understrap/understrap-child/graphs/contributors
 Template:     understrap
 Version:      1.2.0
 License: GNU General Public License v2 or later
 License URI: http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  understrap-child
 Tags: one-column, custom-menu, featured-images, theme-options, translation-ready
 GitHub Theme URI: understrap/understrap-child
*/


/* Cambia colore ai link del menu */
.navbar-nav .nav-link {
    color: #000000 !important; /* Sostituisci con il colore che vuoi */
	 font-weight: bold;
}

/* Cambia colore ai link del menu quando passi sopra */
.navbar-nav .nav-link:hover {
    color: red !important; /* Colore blu di Bootstrap */
}

/* Aprire il dropdown al passaggio del mouse */
.nav-item.dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
}

body {
    background-color: #f0f0f0 !important;
	
}

#main-nav {
	/*position: fixed;*/
    top: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(0, 123, 255, 0.9) !important; /* Colore iniziale */
    transition: background-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.scrolled {
    background-color: rgba(0, 123, 255, 0.2) !important; /* Leggera trasparenza */
    backdrop-filter: blur(8px);
    transition: backdrop-filter 0.3s ease-in-out, background-color 0.3s ease-in-out;
}

/* Stile per il Loader */
#loader {
    position: fixed;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    top: 0;
    left: 0;
}

/* Spinner animato */
.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(0, 0, 0, 0.2);
    border-top-color: #007bff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Animazione della rotazione */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.back-to-top {
    position: fixed;
    bottom: 2vh;
    right: 2vw;
   display: none;
   }


/* footer*/



.custom-footer {
    background-color: #222;
    color: #fff;
    text-align: center;
}
#carouselText {
    font-size: 1.2rem;
    font-weight: bold;
}

.carousel-item h5 {
    animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}



.booking-buttons .btn {
    padding: 10px 20px;
    font-size: 16px;
}

.copyright {
    font-size: 14px;
    opacity: 0.8;
}
@media (max-width: 768px) {
    footer {
        background-color: #222 !important;
    }
}