/* Stili generali */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    background: url('../images/decor.jpg') no-repeat center center fixed;
    background-size: cover;
    color: white;
    font-weight: bold;
}

/* Navbar */
.navbar {
    background-color: transparent !important;
    backdrop-filter: blur(5px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar-dark .navbar-nav .nav-link {
    color: white;
    font-weight: bold;
}

/* Dropdown Menu */
.dropdown-menu {
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
}

.dropdown-item {
    color: white;
    font-weight: bold;
}

.dropdown-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
}

/* Hero Section */
.hero-section {
    background: transparent;
    color: white;
    padding: 100px 0;
    font-weight: bold;
}

.min-vh-75 {
    min-height: 75vh;
}

/* Cards */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: none;
    background: transparent;
    color: white;
    backdrop-filter: blur(5px);
}

.card-title, .card-text {
    font-weight: bold;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 5px 15px rgba(255, 255, 255, 0.2);
}

/* Chat */
.chat-container {
    height: 400px;
    overflow-y: auto;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    background: rgba(0, 0, 255, 0.1);
    padding: 15px;
    margin-bottom: 20px;
}

.message {
    margin-bottom: 15px;
    padding: 10px;
    border-radius: 5px;
    font-weight: bold;
    color: white;
}

.message.sent {
    background-color: rgba(0, 0, 255, 0.2);
    color: white;
    margin-left: 20%;
    text-align: right;
}

.message.received {
    background-color: rgba(255, 255, 255, 0.1);
    margin-right: 20%;
}

/* Video Chat */
.video-container {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    margin-bottom: 20px;
}

.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Form */
.form-control {
    color: black !important;
    background-color: white !important;
    border: 1px solid rgba(0, 0, 0, 0.3);
}

.form-control::placeholder {
    color: rgba(0, 0, 0, 0.5);
    font-weight: normal;
}

.form-control:focus {
    color: black !important;
    background-color: white !important;
    border-color: rgba(0, 0, 255, 0.5);
    box-shadow: 0 0 5px rgba(0, 0, 255, 0.3);
}

/* Buttons */
.btn-primary {
    background-color: rgba(0, 0, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.1);
    font-weight: bold;
    color: white;
}

.btn-primary:hover {
    background-color: rgba(0, 0, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Footer */
footer {
    background-color: transparent;
    color: white;
    font-weight: bold;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
}

footer a {
    text-decoration: none;
    color: white;
    font-weight: bold;
}

footer a:hover {
    text-decoration: underline;
}

/* Home Button */
.home-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: transparent;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: bold;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    z-index: 1000;
}

.home-button:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section {
        padding: 50px 0;
    }
    
    .min-vh-75 {
        min-height: 50vh;
    }
}

/* Banner Cookie - Stile Specifico */
#cookieConsent {
    display: none; /* Nascondi per impostazione predefinita */
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 99999;
    width: 100%;
    max-width: 100%;
    padding: 1rem;
    text-align: center;
    background-color: #000;
    color: white;
    font-size: 1rem;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

#cookieConsent.show {
    display: block; /* Mostra il banner */
}.navbar .nav-link {
    display: block !important;
    visibility: visible !important;
}