﻿html {
    font-size: 14px;
    scroll-behavior: smooth;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
        scroll-behavior: smooth;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
/*    max-width: 100%;
    overflow-x: hidden;*/
}

body {
    margin-bottom: 60px;
/*    max-width: 100%;
    overflow-x: hidden;*/
}

#custom-cursor {
    cursor: url('/media/Cursore-01-Large.ico') 48 48, auto;
}

/* Assicura che le sezioni occupino tutta la larghezza senza creare spazi extra */
section {
    width: 100%;
}




.eliminaBordi {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
   overflow-x: hidden !important; /* Evita lo scrolling orizzontale */
}

.hidden-navbar {
    transform: translateY(-100%);
    transition: transform 0.3s ease-in-out;
}


/*//---------bottone navbar*/

.my-navbar {
    background-color: var(--primary-color) !important; /* Cambia il colore di sfondo */
}

    .my-navbar .navbar-brand,
    .my-navbar .nav-link {
        color: #ffffff !important; /* Cambia il colore del testo */
    }

    /*.my-navbar .navbar-toggler-icon {
        filter: invert(1);*/ /* Cambia colore icona menu */
    /*}*/
    .my-navbar .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba(255,255,255,1)' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
    }

    .my-navbar .navbar-toggler {
        border: 1px solid rgba(255, 255, 255, 0.6); /* Bordo bianco semi-trasparente */
        padding: 5px 8px; /* Riduce la dimensione del padding */
    }

        /* Quando viene cliccato, mantiene il bordo bianco */
        .my-navbar .navbar-toggler:focus,
        .my-navbar .navbar-toggler:active {
            outline: none; /* Rimuove l'outline blu predefinito */
            box-shadow: 0 0 5px rgba(255, 255, 255, 0.8); /* Aggiunge un leggero effetto glow bianco */
        }

/*scritta home*/
.logo-img, .construction-text {
    max-width: 50%;
    height: auto;
}

.construction-text {
    font-size: 4.33vw; /* regola questa unità per aumentare la grandezza del testo in proporzione allo schermo */
}





/*//----------------------------FONT*/
@font-face {
    font-family: 'Century Gothic';
    src: url('/fonts/GOTHIC.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Century Gothic';
    src: url('/fonts/GOTHICB.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Century Gothic';
    src: url('/fonts/GOTHICI.ttf') format('truetype');
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: 'Century Gothic';
    src: url('/fonts/GOTHICBI.ttf') format('truetype');
    font-weight: bold;
    font-style: italic;
}

/* Imposta il font come predefinito in Bootstrap */
body, .navbar, .btn, .form-control, .table, p {
    font-family: "Century Gothic", Arial, sans-serif !important;
}

/* Se vuoi applicarlo anche a titoli */
h1, h2, h3, h4, h5, h6 {
    font-family: "Century Gothic", Arial, sans-serif !important;
    font-weight: bold;
}

.fw-bold {
    font-weight: bold;
}

/* Corsivo */
.fw-italic {
    font-style: italic;
}

/* Grassetto + Corsivo */
.bold-italic {
    font-weight: bold;
    font-style: italic;
}
.fw-normal {
    font-weight: normal;
}

/*//gestione colori------------------------*/
:root {
    --primary-color: #ec1c63; /* Colore iniziale (Fucsia) */
}

body {
    transition: background-color 0.5s ease-in-out;
}

/* Tutti gli elementi che devono cambiare colore */
.bg-primary {
    background-color: var(--primary-color) !important;
}

.text-primary {
    color: var(--primary-color) !important;
}

.btn-primary {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

    .btn-primary:hover {
        background-color: darken(var(--primary-color), 10%);
    }


/* 🔹 Assicura che il footer sia centrato e non abbia problemi di overflow */
.footer {
    width: 100vw !important;
    max-width: 100%;
    min-height: 140px; /* Aumenta altezza per evitare tagli */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* 🔹 Forza il titolo del footer ad adattarsi */
.footer-title {
    font-size: 2rem; /* Dimensione su desktop */
    text-align: center;
    white-space: normal; /* Evita che rimanga su una sola riga */
    word-wrap: break-word;
    line-height: 1.2;
}

/* 🔹 Aggiusta il titolo su dispositivi più piccoli */
@media (max-width: 768px) {
    .footer-title {
        font-size: 1.5rem; /* Adatta su tablet */
    }
}

@media (max-width: 576px) {
    .footer-title {
        font-size: 1.2rem; /* Adatta su smartphone */
    }

    .footer p {
        font-size: 0.9rem; /* Adatta il testo del copyright */
    }
}

/* Per dispositivi mobili (sotto 768px) */
@media (max-width: 1700px) {
    .logo-img {
        max-width: 47%;
    }

    .construction-text {
        max-width: 80%;
        font-size: 4vw;
    }
}

/* Per dispositivi mobili (sotto 768px) */
@media (max-width: 767px) {
    .logo-img {
        max-width: 80%;
    }

    .construction-text {
        max-width: 80%;
        font-size: 6.5vw;
    }
}




/*stile per contenuto section,scritte*/
.big-content h1 {
    font-size: 4rem; /* Puoi regolare secondo necessità */
}

.big-content h2 {
    font-size: 3rem;
}

.big-content h3,
.big-content h4 {
    font-size: 2.3rem;
}

.big-content .locations {
    padding: 1rem 2rem;
}

/* Responsive per mobile */
@media (max-width: 767px) {
    .big-content h1 {
        font-size: 2rem;
    }

    .big-content h2 {
        font-size: 1.5rem;
    }

    .big-content h3,
    .big-content h4 {
        font-size: 1.3rem;
    }
}

