/* COMMON */
:root {
    --color-primary: #0475c6;
    --color-secondary: #c1ddf2;
    --color-tertiary: #ffb02d;
    --color-white: #ffffff;
    --color-darkblue: #113072;
}

@font-face {
    font-family: Exo;
    src: url(../fonts/Exo-VariableFont_wght.ttf);
}

body {
    font-family: "Exo", sans-serif;
    color: #444444;
}

a {
    color: var(--color-white);
    text-decoration: none;
    cursor: pointer;
}

a:hover {
    color: var(--color-white);
    text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Exo", sans-serif;
}

/* BACK_TO_TOP */
.back-to-top {
    position: fixed;
    visibility: hidden;
    opacity: 0;
    right: 15px;
    bottom: 15px;
    z-index: 996;
    background: var(--color-tertiary);
    width: 40px;
    height: 40px;
    border-radius: 50px;
    transition: all 0.4s;
}

.back-to-top i {
    font-size: 28px;
    color: var(--color-white);
    line-height: 0;
}

.back-to-top:hover {
    background: #FBD08A;
    color: var(--color-white);
}

.back-to-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Disable AOS delay on mobile
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/* HEADER */
#header {
    height: 120px;
    transition: all 0.5s;
    z-index: 997;
    transition: all 0.5s;
    background: rgba(42, 44, 57, 0.9);
    margin-top: 40px;
}

#header.header-transparent {
    background: transparent;
}

#header.header-scrolled {
    background: var(--color-primary);
    margin-top: 0;
    border-bottom: solid 5px var(--color-secondary);
}

#header .home a {
    font-size: 35px;
}

#header .home h1 {
    font-size: 15px;
    color: var(--color-secondary);
}

.img-logo {
    height: 80px;
    width: auto;
}

@media (max-width: 1200px) {
    #header .home a {
        font-size: 30px;
    }

    #header .home h1 {
        font-size: 10px;
    }

    .img-logo {
        height: 60px;
        width: auto;
    }
}

@media (max-width: 400px) {
    .logo-container {
        padding-top: 20px;
    }

    #home .carousel-container {
        height: 100% !important;
    }
}

/* NAVIGATION MENU */
/* Desktop Navigation */
.navbar {
    padding: 0;
}

.navbar ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
}

.navbar li {
    position: relative;
}

.navbar a,
.navbar a:focus {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px 15px 7px 15px;
    margin-left: 5px;
    font-size: 16px;
    color: var(--color-white);
    white-space: nowrap;
    transition: 0.3s;
}

.navbar a i,
.navbar a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
}

.navbar a:hover,
.navbar .active,
.navbar .active:focus,
.navbar li:hover > a {
    color: var(--color-white);
    background-color: var(--color-tertiary);
    border-radius: 10px;
}

.navbar .dropdown ul {
    display: block;
    position: absolute;
    left: 5px;
    top: calc(100% + 30px);
    margin: 5px 0 0 0;
    padding: 10px 0;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    background: var(--color-white);
    box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
    transition: 0.3s;
    border-radius: 15px;
}

.navbar .dropdown ul li {
    min-width: 200px;
}

.navbar .dropdown ul a {
    padding: 10px 20px;
    color: #2a2c39;
    margin: 0 5px;
    font-size: 14px;
}

.navbar .dropdown ul a i {
    font-size: 12px;
}

.navbar .dropdown ul a:hover,
.navbar .dropdown ul .active:hover,
.navbar .dropdown ul li:hover>a {
    color: var(--color-white);
}

.navbar .dropdown:hover>ul {
    opacity: 1;
    top: 100%;
    visibility: visible;
}

.navbar .dropdown .dropdown ul {
    top: 0;
    left: calc(100% - 30px);
    visibility: hidden;
}

.navbar .dropdown .dropdown:hover>ul {
    opacity: 1;
    top: 0;
    left: 100%;
    visibility: visible;
}

@media (max-width: 1366px) {
    .navbar .dropdown .dropdown ul {
        left: -90%;
    }

    .navbar .dropdown .dropdown:hover>ul {
        left: -100%;
    }
}

/* Mobile Navigation */
.mobile-nav-toggle {
    color: var(--color-white);
    font-size: 28px;
    cursor: pointer;
    display: none;
    line-height: 0;
    transition: 0.5s;
}

@media (max-width: 1401px) {
    .mobile-nav-toggle {
        display: block;
    }

    .navbar ul {
        display: none;
    }
}

.navbar-mobile {
    position: fixed;
    overflow: hidden;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    background: rgba(20, 21, 28, 0.9);
    transition: 0.3s;
    z-index: 999;
}

.navbar-mobile .mobile-nav-toggle {
    position: absolute;
    top: 15px;
    right: 15px;
}

.navbar-mobile ul {
    display: block;
    position: absolute;
    top: 55px;
    right: 15px;
    bottom: 15px;
    left: 15px;
    padding: 10px 0;
    border-radius: 10px;
    background-color: var(--color-white);
    overflow-y: auto;
    transition: 0.3s;
}

.navbar-mobile a,
.navbar-mobile a:focus {
    padding: 10px 20px;
    margin: 5px;
    font-size: 15px;
    color: #2a2c39;
}

.navbar-mobile a:hover,
.navbar-mobile .active,
.navbar-mobile li:hover>a {
    color: var(--color-white);
}

.navbar-mobile .getstarted,
.navbar-mobile .getstarted:focus {
    margin: 15px;
}

.navbar-mobile .dropdown ul {
    position: static;
    display: none;
    margin: 10px 20px;
    padding: 10px 0;
    z-index: 99;
    opacity: 1;
    visibility: visible;
    background: var(--color-white);
    box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
}

.navbar-mobile .dropdown ul li {
    min-width: 200px;
}

.navbar-mobile .dropdown ul a {
    padding: 10px 20px;
}

.navbar-mobile .dropdown ul a i {
    font-size: 12px;
}

.navbar-mobile .dropdown ul a:hover,
.navbar-mobile .dropdown ul .active:hover,
.navbar-mobile .dropdown ul li:hover>a {
    color: var(--color-white);
}

.navbar-mobile .dropdown>.dropdown-active {
    display: block;
}

/* HOME */
#home {
    width: 100%;
    overflow: hidden;
    position: relative;
    background: linear-gradient(0deg, var(--color-secondary) 0%, var(--color-primary) 20%);
    padding: 0;
}

#home .carousel-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    position: relative;
    height: 85vh;
    padding-top: 60px;
}

#home h2 {
    color: var(--color-darkblue);
    text-shadow: -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff, 1px 1px 0 #fff;
    margin-bottom: 30px;
    font-size: 55px;
    font-weight: 700;
}

#home h3 {
    color: var(--color-white);
    font-size: 28px;
    font-weight: 700;
    margin: 0 auto 30px auto;
}

#home p {
    width: 60%;
    animation-delay: 0.4s;
    margin: 0 auto 30px auto;
    color: var(--color-white);
}

#home .carousel-control-prev,
#home .carousel-control-next {
    width: 10%;
}

#home .carousel-control-next-icon,
#home .carousel-control-prev-icon {
    background: none;
    font-size: 48px;
    line-height: 1;
    width: auto;
    height: auto;
}

#home .btn-get-started {
    font-family: "Exo", sans-serif;
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 1px;
    display: inline-block;
    padding: 12px 32px;
    border-radius: 50px;
    transition: 0.5s;
    line-height: 1;
    margin: 10px;
    color: var(--color-white);
    animation-delay: 0.8s;
    border: 2px solid #ef6603;
}

#home .btn-get-started:hover {
    background: #ef6603;
    color: var(--color-white);
    text-decoration: none;
}

@media (min-width: 1024px) {
    #home p {
        width: 80%;
    }

    #home .carousel-control-prev,
    #home .carousel-control-next {
        width: 5%;
    }
}

@media (max-width: 1200px) {
    #home .carousel-container {
        height: 100vh;
    }

    #home h2 {
        font-size: 55px;
    }
}

@media (max-width: 1200px) {
    #home h2 {
        font-size: 55px;
    }
}

@media (max-width: 480px) {
    #home h2 {
        font-size: 30px !important;
        margin-top: 30px !important;
    }

    #home .carousel-container > p {
        font-size: 22px !important;
    }
}

@media (max-width: 400px) {
    #home h2 {
        font-size: 30px !important;
        margin-top: 60px !important;
    }

    #home .carousel-container > p {
        font-size: 20px !important;
    }
}

.home-waves {
    display: block;
    width: 100%;
    height: 60px;
    position: relative;
}

.wave1 use {
    animation: move-forever1 10s linear infinite;
    animation-delay: -2s;
}

.wave2 use {
    animation: move-forever2 8s linear infinite;
    animation-delay: -2s;
}

.wave3 use {
    animation: move-forever3 6s linear infinite;
    animation-delay: -2s;
}

@keyframes move-forever1 {
    0% {
        transform: translate(85px, 0%);
    }

    100% {
        transform: translate(-90px, 0%);
    }
}

@keyframes move-forever2 {
    0% {
        transform: translate(-90px, 0%);
    }

    100% {
        transform: translate(85px, 0%);
    }
}

@keyframes move-forever3 {
    0% {
        transform: translate(-90px, 0%);
    }

    100% {
        transform: translate(85px, 0%);
    }
}

/*--------------------------------------------------------------
# Sections General
--------------------------------------------------------------*/
section {
  padding: 50px 0;
  overflow: hidden;
}

.section-title {
  padding-bottom: 40px;
}

.section-title h2 {
    font-size: 14px;
    font-weight: 500;
    padding: 0;
    line-height: 1px;
    margin: 0 0 5px 0;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #aaaaaa;
    font-family: "Exo", sans-serif;
}

.section-title h2::after {
    content: "";
    width: 120px;
    height: 2px;
    display: inline-block;
    background: var(--color-tertiary);
    margin: 4px 10px;
}

.section-title p {
    margin: 0;
    margin: 0;
    font-size: 32px;
    font-weight: 700;
    font-family: "Exo", sans-serif;
    color: var(--color-primary);
}

/*--------------------------------------------------------------
# Gallery
--------------------------------------------------------------*/
.filter-button {
    font-size: 16px;
    text-align: center;
    color: var(--color-primary);
    border-radius: 10px;
    border-radius: 5px;
    padding: 5px 15px 7px 15px;
    margin-left: 5px;
}

.filter-button.active,
.filter-button.active:focus,
.filter-button:hover {
    color: var(--color-white);
    background-color: var(--color-secondary);
}

.photo-gallery {
    color: #313437;
    background-color: #fff;
}

.photo-gallery p {
    color: #7d8285;
}

.photo-gallery h2 {
    font-weight: bold;
    margin-bottom: 40px;
    padding-top: 40px;
    color: inherit;
}

@media (max-width:767px) {
    .photo-gallery h2 {
        margin-bottom: 25px;
        padding-top: 25px;
        font-size: 24px;
    }
}

.photo-gallery .photos {
    padding-bottom: 20px;
}

.photo-gallery .item {
    padding-bottom: 30px;
}

/* CUSTOMIZE */
#home .carousel-container > p {
    font-size: 30px;
    font-weight: 700;
    color: var(--color-darkblue);
    letter-spacing: 2px;
    text-shadow: -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff, 1px 1px 0 #fff, 5px 5px 0px rgba(0, 0, 0, 0.7), 0px 0px 20px rgba(0, 0, 0, 0.7);
    margin-bottom: 30px;
}

img {
    border-radius: 10px;
    width: 100%;
}

@media (max-width: 992px) {
    img {
        margin-top: 15px;
    }

    .img-logo {
        margin-top: 0;
    }
}

.address h5,
.email h5,
.phone h5 {
    padding: 0 0 0 60px;
}

.fs-5 {
    font-weight: bold;
    color: var(--color-primary);
}

.modal-body {
    font-size: 15px;
    text-align: left;
    padding: 20px;
    color: #444444;
}

.modal-body a {
    color: #0d6efd;
    margin-left: 5px;
}

.modal-body p {
    text-align: justify;
}

/* TOPBAR */
#topbar {
    background: var(--color-secondary);
    font-size: 15px;
    height: 40px;
    padding: 0;
}

#topbar .contatti-info a {
    line-height: 0;
    color: var(--color-white);
    transition: 0.3s;
}

#topbar .contatti-info a:hover {
    font-weight: bold;
}

#topbar .contatti-info label {
    color: var(--color-darkblue);
}

#topbar .contatti-info i {
    line-height: 0;
    color: var(--color-darkblue);
    margin-right: 5px;
}

#topbar .contatti-info .phone-icon {
    margin-left: 15px;
}

#topbar .lingua-info img {
    border-radius: 10px;
    width: auto;
    margin-left: 10px;
    cursor: pointer;
}

@media (max-width: 600px) {
    #topbar .contatti-info {
        display: none !important;
    }
}

@media (max-width: 992px) {
    #topbar .lingua-info img {
        margin-top: 0;
    }
}

/* FOOTER */
#footer {
    background: var(--color-primary);
    color: var(--color-white);
    font-size: 14px;
    text-align: center;
    padding: 15px 0;
    border-top: solid 5px var(--color-secondary);
}

#footer p {
    font-size: 15px;
    padding-top: 10px;
}

#footer i {
    margin-right: 5px;
}

/* SEZIONE */
.sezione h5 {
    font-weight: bold;
    font-size: 18px;
}

.sezione a {
    color: var(--color-darkblue);
    text-decoration: none;
}

.sezione a:hover {
    font-weight: bold;
    text-decoration: underline;
}

.sezione .content ul {
    list-style: none;
    padding: 0;
}

.sezione .content ul li {
    padding-bottom: 3px;
    padding-left: 28px;
    position: relative;
}

.sezione .content ul i {
    position: absolute;
    left: 0;
    top: 2px;
    font-size: 20px;
    color: var(--color-secondary);
    line-height: 1;
}

/* CONTATTI */
.contatti .info {
    padding: 25px;
    background: var(--color-white);
    width: 100%;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.15);
}

.contatti .info i {
    font-size: 20px;
    color: var(--color-white);
    float: left;
    width: 44px;
    height: 44px;
    background: var(--color-tertiary);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50px;
    transition: all 0.3s ease-in-out;
    opacity: 1;
}

.contatti .info p {
    margin-bottom: 20px;
    font-size: 16px;
    color: #555555;
}

.contatti .info p > a {
    padding: 0 0 10px 0;
    margin-bottom: 20px;
    font-size: 16px;
    color: #555555;
}

.contatti .info p a:hover {
    font-weight: bold;
}

.contatti .info i:hover {
    background: #FBD08A;
    color: var(--color-white);
    opacity: 1;
}

.contatti .richieste {
    width: 100%;
    padding: 25px;
    background: var(--color-white);
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.15);
}

.contatti .richieste > div:first-child {
    margin-bottom: 15px;
}

.contatti .privacy {
    color: #444444 !important;
    font-weight: normal !important;
    padding-top: 10px;
}

.contatti .richieste .error-message {
    display: none;
    color: var(--color-white);
    background: #ed3c0d;
    text-align: left;
    padding: 15px;
    font-weight: 600;
}

.contatti .richieste .error-message br + br {
    margin-top: 25px;
}

.contatti .richieste input[type=text]:focus,
.contatti .richieste input[type=date]:focus,
.contatti .richieste textarea:focus,
.contatti .richieste select:focus {
    border-color: var(--color-secondary) !important;
    box-shadow: none;
}

.contatti .richieste textarea {
    padding: 10px 12px;
}

.contatti .richieste button {
    background: var(--color-tertiary);
    border: 0;
    padding: 8px 20px;
    color: var(--color-white);
    transition: 0.4s;
    border-radius: 10px;
    font-size: 16px;
}

.contatti .richieste button:hover {
    background: #FBD08A;
}

.contatti .richieste p {
    text-align: left;
}

/* COOKIE BANNER */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border-radius: 15px;
    padding: 20px;
    z-index: 9999;
    display: none; 
    border-left: 5px solid var(--color-tertiary);
}

.cookie-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.cookie-content h3 {
    margin: 0 0 10px 0;
    font-size: 1.2rem;
    color: #333;
}

.cookie-content p {
    margin: 0;
    font-size: 0.9rem;
    color: #666;
    max-width: 700px;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

.btn-primary {
    background-color: var(--color-tertiary);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-primary:hover {
    background-color: #FBD08A;
}

.btn-secondary {
    background-color: transparent;
    color: #555;
    border: 1px solid #ccc;
    padding: 12px 25px;
    border-radius: 50px;
    cursor: pointer;
}

.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

.modal-content {
    background: white;
    padding: 30px;
    border-radius: 15px;
    max-width: 500px;
    width: 90%;
}

.cookie-option {
    margin-bottom: 15px;
    padding: 10px;
    border-bottom: 1px solid #eee;
}

@media (max-width: 768px) {
    .cookie-container {
        flex-direction: column;
        text-align: center;
    }

    .cookie-buttons {
        width: 100%;
        flex-direction: column;
    }
}

.sfondo {
    background-image: url(../images/gallery/SFONDO.jpg) !important;
    background-position: top center !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
}