/*
Theme Name: Bootscore
Theme URI: https://bootscore.me/
Author: Bootscore
Author URI: https://bootscore.me
Description: Flexible Bootstrap WordPress starter-theme for developers with full WooCommerce support. <a href="https://bootscore.me/category/documentation/" target="_blank">Documentation</a>
Version: 6.3.0
Requires at least: 5.0
Tested up to: 6.8
Requires PHP: 7.4
License: MIT License
License URI: https://github.com/bootscore/bootscore/blob/main/LICENSE
Text Domain: bootscore
Tags: featured-images, threaded-comments, translation-ready

Use this theme to make something cool, have fun, and share what you've learned with others.

Bootscore is based on Underscores https://underscores.me/, (C) 2012-2024 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.
*/

/* 
All style editing is done via /assets/scss/_bootscore-custom.scss
*/

.offcanvas{
    width: 100% !important;
}
button.btn-close {
    margin-right: 15px !important;
}
.offcanvas .navbar-nav .nav-link{
    text-transform: uppercase;
    font-weight: 500;
    color: var(--bs-light);
    padding: 0.5rem 1rem;
    transition: color 0.2s ease;
}

.decorator-gray-obl{
    background-color: transparent;
    background-image: linear-gradient(210deg, #ffffff 50%, #f9f9f9 0%);
}
.decorator-gray-obl-right{
    background-color: transparent;
    background-image: linear-gradient(40deg, #ffffff 50%, #f9f9f9 0%);
}

.decorator-divider-vertical{
    border-left: 1px solid #c2c3c4;
    height: 60px;
}

.bg-gray{ background-color: #e2e0e0 !important;}
.bg-before-gray{
    position: relative;
}
.bg-before-gray:before{
    content: '';
    background-color: #e2e0e0;
    width: 150%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

/* Sezione Presentazione */
.section-presentazione {
    padding: 40px 0;
}

.video-placeholder {
    background: #cccccc;
    border-radius: 15px;
    aspect-ratio: 16/9;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.video-placeholder:hover {
    transform: scale(1.02);
}

.bg-cover{ background-size: cover; background-repeat:no-repeat; background-position:center; }
.bg-contain{ background-size: contain; background-repeat:no-repeat; background-position:center; }

.play-button {
    width: 80px;
    height: 80px;
    background: gray;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.play-button:hover {
    background: #BC4A3C;
    transform: scale(1.1);
}

.play-button i {
    font-size: 2rem;
    color: white;
    margin-left: 5px;
}

/* Sezione Costruzioni - Numeri */
.section-costruzioni {
    background: #f8f9fa;
    padding: 40px 0;
}

.stat-box {
    text-align: center;
    padding: 30px 20px;
    transition: transform 0.3s ease;
}

.stat-box:hover {
    transform: translateY(-10px);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 10px;
    font-family: 'Arial', sans-serif;
}

.stat-label {
    font-size: 0.95rem;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Sezione Obiettivi */
.section-obiettivi {
    padding: 40px 0;
}

.objective-cards {
    position: relative;
    height: 300px;
}

.objective-card {
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}

.objective-card:nth-child(1) {
    background: var(--primary-color);
    top: 0;
    left: 0;
    z-index: 4;
}

.objective-card:nth-child(2) {
    top: 50px;
    left: 80px;
    z-index: 3;
}

.objective-card:nth-child(3) {
    background: #95a5a6;
    top: 100px;
    left: 160px;
    z-index: 2;
}

.objective-card:hover {
    transform: scale(1.05);
    z-index: 10 !important;
}

/* Sezione Partner */
.section-partner {
    padding: 40px 0;
}

.partner-carousel {
    position: relative;
    overflow: hidden;
}

.partner-item {
    background: #ecf0f1;
    height: 120px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.partner-item:hover {
    background: white;
    transform: scale(1.05);
}

.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
}

.carousel-control-prev {
    left: -60px;
}

.carousel-control-next {
    right: -60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 0.95rem;
    opacity: 0.8;
    margin-bottom: 3rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Animazioni */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.btn-custom{
    background-color: rgba(0, 0, 0, 0);
    font-family: "Poppins", Sans-serif;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 3.4px;
    fill: #000000;
    color: #000000;
    border-style: solid;
    border-width: 0px 0px 1px 0px;
    border-color: rgba(0, 0, 0, 0.23);
    border-radius: 0px 0px 0px 0px;
    padding: 0px 0px 08px 0px;
    text-decoration: none;
}
.btn-custom:hover{
    color: #7a7a7a;
    border-color: #000000;
}

.committees-section {
    padding: 80px 0;
    max-width: 1200px;
    margin: 0 auto;
}

.committee-item {
    padding: 50px 0;
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.3s ease;
}

.committee-item:last-child {
    border-bottom: none;
}

.committee-item:hover {
    background-color: var(--hover-color);
    padding-left: 20px;
    padding-right: 20px;
    margin-left: -20px;
    margin-right: -20px;
}

.committee-number {
    font-size: 3.5rem;
    font-weight: 300;
    color: #ddd;
    line-height: 1;
    margin-bottom: 0;
}

.committee-title {
    font-size: 2rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.committee-subtitle {
    font-size: 0.9rem;
    color: var(--secondary-color);
    margin-bottom: 2rem;
}

.committee-content h5 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.8rem;
    margin-top: 1.5rem;
}

.committee-content h5:first-child {
    margin-top: 0;
}

.committee-content p {
    font-size: 0.95rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    line-height: 1.7;
}

.committee-content ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.committee-content ul li {
    font-size: 0.95rem;
    color: var(--secondary-color);
    padding: 0.4rem 0;
    position: relative;
    padding-left: 20px;
}

.committee-content ul li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.logo-placeholder {
    width: 100%;
    max-width: 180px;
    height: 120px;
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fafafa;
    font-size: 0.9rem;
    color: var(--secondary-color);
    font-weight: 500;
    transition: all 0.3s ease;
}

.logo-placeholder:hover {
    border-color: var(--primary-color);
    background: #fff;
}

.president-icon {
    width: 100%;
    max-width: 180px;
    height: 120px;
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fafafa;
    position: relative;
    transition: all 0.3s ease;
}

.president-icon:hover {
    border-color: var(--primary-color);
    background: #fff;
}

.president-icon i {
    font-size: 3rem;
    color: var(--secondary-color);
}

.president-name {
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 0.85rem;
    color: var(--primary-color);
    font-weight: 500;
    background: rgba(255,255,255,0.9);
    padding: 5px;
}

/* Animazioni */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-in {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.animate-in:nth-child(1) { animation-delay: 0.1s; }
.animate-in:nth-child(2) { animation-delay: 0.2s; }
.animate-in:nth-child(3) { animation-delay: 0.3s; }
.animate-in:nth-child(4) { animation-delay: 0.4s; }

/* Responsive */
@media (max-width: 768px) {
    .committee-number {
        font-size: 2.5rem;
    }

    .committee-title {
        font-size: 1.5rem;
    }

    .logo-placeholder,
    .president-icon {
        max-width: 140px;
        height: 100px;
    }

    .committees-section {
        padding: 40px 0;
    }

    .committee-item {
        padding: 30px 0;
    }
}

/* FOOTER STYLES */
.footer {
    background: #BC4A3C;
    color: #fff;
}

.footer a{ color: white; }

.footer-top {
    padding-bottom: 60px;
}

.footer-bottom {
    background: #BC4A3C;
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Social Media Bar */
.social-bar {
    background: rgba(0, 0, 0, 0.2);
    padding: 20px 0;
    margin-bottom: 60px;
}

.social-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.social-link {
    color: var(--footer-text);
    text-decoration: none;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.social-link:hover {
    color: var(--social-hover);
    transform: translateY(-2px);
}

.social-link i {
    font-size: 1.1rem;
}

/* Footer Columns */
.footer-column h5 {
    color: var(--footer-heading);
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 25px;
}

.footer-column p,
.footer-column address {
    font-size: 0.9rem;
    line-height: 1.8;
    margin-bottom: 10px;
}

.footer-column address {
    font-style: normal;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--footer-text);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--footer-link-hover);
    padding-left: 5px;
}

/* Footer Bottom */
.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-shield {
    width: 50px;
    height: 60px;
    background: var(--footer-heading);
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--footer-bg);
    font-size: 1.5rem;
}

.footer-copyright {
    font-size: 0.85rem;
    line-height: 1.6;
}

.footer-nav {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-nav a {
    color: var(--footer-text);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: var(--footer-link-hover);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--social-hover);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

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

.back-to-top:hover {
    background: #3a8eef;
    transform: translateY(-5px);
}

/* Responsive */
@media (max-width: 768px) {
    .footer {
        padding-top: 50px;
    }

    .footer-top {
        padding-bottom: 40px;
    }

    .social-links {
        gap: 25px;
    }

    .social-link {
        font-size: 0.8rem;
    }

    .footer-column {
        margin-bottom: 40px;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-nav {
        justify-content: center;
    }

    .footer-logo {
        justify-content: center;
    }
}

.nav-tabs {
    border-bottom: 2px solid #dee2e6;
}

.nav-tabs .nav-link {
    color: #495057;
    font-weight: 500;
    padding: 12px 24px;
    border: none;
    background: transparent;
    transition: all 0.3s ease;
}

.nav-tabs .nav-link:hover {
    border: none;
    color: #212529;
}

.nav-tabs .nav-link.active {
    color: #212529;
    border: none;
    border-bottom: 3px solid #BC4A3C;
}

.tab-content {
    padding: 30px 0px;
    min-height: 400px;
}

.content-section-tabbed {
    background: white;
    /*padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);*/
    margin-bottom: 20px;
}

.content-section-tabbed h5 {
    font-weight: 600;
    margin-bottom: 15px;
    color: #212529;
}

.content-section-tabbed p {
    line-height: 1.6;
    color: #495057;
}

.link-list {
    list-style: none;
    padding: 0;
}

.link-list li {
    padding: 8px 0;
    border-bottom: 1px solid #e9ecef;
}

.link-list li:last-child {
    border-bottom: none;
}

.link-list a {
    text-decoration: none;
}

.link-list a:hover {
    text-decoration: underline;
}

.w-60px{
    width: 60px;
}

.box-info-contact{
    padding: 80px 60px;
}
.box-info-contact .icon{
    font-size: 36px;
    fill: white;
    color: white;
    margin-left:-5px;
}

.icon-event{
    position: absolute;
    top: 5px;
    left: 0;
    font-size: 35px;
    opacity: .4;
}

@media screen and (min-width:992px){
    .cover-project-image{
        margin-top: -12rem;
        position: relative;
        z-index: 9;
    }
}

/* LOGIN PAGE */
.mask-login{
    background-color: #BC4A3C;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.login-container {
    max-width: 420px;
    width: 100%;
    padding: 20px;
}

.login-container .login-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.login-container .login-header {
    background: #BC4A3C;
    color: white;
    padding: 40px 30px;
    text-align: center;
}

.login-container .login-header h2 {
    margin: 0;
    font-size: 28px;
    font-weight: 600;
}

.login-container .login-body {
    padding: 40px 30px;
}

.login-container .form-label {
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.login-container .form-control {
    border-radius: 8px;
    border: 2px solid #e0e0e0;
    padding: 12px 16px;
    font-size: 15px;
    transition: all 0.3s ease;
}

.login-container .form-control:focus {
    border-color: #BC4A3C;
    box-shadow: 0 0 0 0.2rem rgba(188, 74, 60, 0.25);
}

.login-container .btn-login {
    background: #BC4A3C;
    border: none;
    border-radius: 8px;
    padding: 14px;
    font-size: 16px;
    font-weight: 600;
    width: 100%;
    color: white;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.login-container .btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(188, 74, 60, 0.4);
    color: white;
}

.login-container .btn-login:active {
    transform: translateY(0);
}

.login-container .form-check-input:checked {
    background-color: #BC4A3C;
    border-color: #BC4A3C;
}

.login-container .alert {
    border-radius: 8px;
    border: none;
}

.login-container .forgot-password {
    text-align: center;
    margin-top: 20px;
}

.login-container .forgot-password a {
    color: #BC4A3C;
    text-decoration: none;
    font-weight: 500;
}

.login-container .forgot-password a:hover {
    text-decoration: underline;
}
/* END LOGIN PAGE */

@media screen and (max-width:991px){
	.offcanvas-header{ background-color: #BC4A3C !important; color: white !important; }
    .offcanvas-header .btn-close{ filter: brightness(0) invert(1);
    opacity: 1; }
	.offcanvas-body{ overflow-y: inherit !important; background-color: #BC4A3C; margin-top: -10px; }
    .navbar-nav{ border-left: 0px !important; }
}
@media screen and (min-width:992px){
	.only-mobile{ display: none !important; }
}

.mh-250{ min-height: 250px; }

.line-clamp-1{
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
}
.line-clamp-2{
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}
.line-clamp-3{
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}

.site-header[data-header-scrolled="true"] .navbar-nav .nav-link:hover{
	color: white !important;
}

.site-header[data-header-scrolled="true"] .navbar-brand img {
    max-height: 70px !important;
}

/* Mobile - dropdown a cascata */
@media (max-width: 991px) {
  .navbar-collapse .dropdown-menu {
    display: none;
    position: static !important;
    transform: none !important;
    border: none;
    box-shadow: none;
    background-color: transparent;
    padding-left: 1.5rem;
    margin: 0;
    float: none;
  }
  
  .navbar-collapse .dropdown-menu.show {
    display: block;
  }
  
  .navbar-collapse .dropdown-toggle::after {
    float: right;
    margin-top: 0.5rem;
  }
  
  .navbar-collapse .dropdown-item {
    padding: 0.5rem 1rem;
    white-space: normal;
  }
}

/* Desktop - comportamento Bootstrap normale */
@media (min-width: 992px) {
  .navbar-collapse .dropdown-menu {
    position: absolute !important;
  }
}
@media screen and (max-width:991px){
  ul.dropdown-menu {
    position: initial !important;
    margin: initial !important;
    inset: initial !important;
    transform: initial !important;
    background: transparent;
    border: 0px;
    margin-left: 20px !important;
  }
  ul.dropdown-menu li a {
  	color: white !important;
    /*border-bottom: 1px dotted #ffffff3b !important;*/
  }
  #menu-profile .nav-link{
  	display: none !important;
  }
  #menu-profile .dropdown-menu{
  	display: block !important;
    margin-left: 0px !important;
  }
}