/* Global Styles */
:root {
    --primary-color: #000000;
    --secondary-color: #f8b400;
    --dark-color: #222;
    --light-color: #f9f9f9;
    --gray-color: #777;
    --light-gray: #eaeaea;
    --white: #fff;
    --black: #000;
    --transition: all 0.3s ease;
}

/* Aggiungi questo CSS al tuo file style.css */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.5s ease-out;
}

.page-loader.fade-out {
    opacity: 0;
    pointer-events: none;
}

.loader-content {
    text-align: center;
    transform: scale(0.8);
    animation: pulse 0.8s ease-in-out infinite alternate;
}

.loader-logo {
    height: 60px;
    margin-bottom: 20px;
}

.loader-bar {
    height: 3px;
    width: 100px;
    background-color: var(--light-gray);
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.loader-bar::after {
    content: '';
    position: absolute;
    left: -100%;
    top: 0;
    height: 100%;
    width: 100%;
    background-color: var(--primary-color);
    animation: loading 0.8s ease-in-out infinite;
}

@keyframes pulse {
    0% { transform: scale(0.8); }
    100% { transform: scale(1); }
}

@keyframes loading {
    0% { left: -100%; }
    100% { left: 100%; }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Helvetica', sans-serif;
    color: var(--dark-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Helvetica', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.section-padding {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--light-color);
}

.text-center {
    text-align: center;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #0d2a52;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: #e0a500;
    transform: translateY(-3px);
}

.section-title {
    font-family: 'Helvetica', sans-serif;
    font-size: 36px;
    margin-bottom: 50px;
    position: relative;
    text-align: center;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: var(--secondary-color);
    margin: 15px auto 0;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    transition: var(--transition);
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Header Base Style */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    transition: all 0.5s ease;
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Nascondi header in homepage quando in cima alla pagina */
body.homepage .header {
    transform: translateY(-100%);
    background-color: transparent;
    box-shadow: none;
}

/* Mostra header durante lo scroll in homepage */
body.homepage .header.scrolled {
    transform: translateY(0);
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Header sempre visibile nelle altre pagine */
body:not(.homepage) .header {
    transform: translateY(0);
    background-color: var(--white);
}

/* Stile per il logo e i link */
.logo img {
    height: 40px;
    transition: var(--transition);
}

.main-nav a {
    color: var(--dark-color);
    font-weight: 600;
}

/* Mobile menu button style */
.mobile-menu-btn span {
    background-color: var(--dark-color);
}

/* Stile per homepage quando header è nascosto */
body.homepage .hero {
    margin-top: 0;
}

/* JavaScript per aggiungere la classe scrolled */
document.addEventListener('DOMContentLoaded', function() {
    if (document.body.classList.contains('homepage')) {
        const header = document.querySelector('.header');
        
        window.addEventListener('scroll', function() {
            if (window.scrollY > 50) {
                header.classList.add('scrolled');
            } else {
                header.classList.remove('scrolled');
            }
        });
    }
});

/* Header quando scrolli (bianco con ombra) */
.header.scrolled {
    padding: 15px 0;
    background-color: var(--white) !important;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.header.scrolled {
    padding: 15px 0;
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 40px;
}

.main-nav ul {
    display: flex;
}

.main-nav li {
    margin-left: 30px;
}

.main-nav a {
    font-weight: 600;
    font-size: 15px;
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
}

.mobile-menu-btn span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--primary-color);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 700px;
    position: relative;
    background: url('../images/hero-bg.jpg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    margin-top: 80px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 20px;
}

.hero h1 {
    font-family: 'Calibri Light', 'Calibri', 'Candara', 'Segoe', 'Segoe UI', 'Optima', 'Arial', sans-serif;
    font-size: 72px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero .subtitle {
    font-size: 22px;
    margin-bottom: 40px;
    font-weight: 300;
}
/* Services Section - Clean Version */
.services-row {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    padding: 20px 0;
    margin-top: 40px;
    scrollbar-width: none; /* Per Firefox */
}

.services-row::-webkit-scrollbar {
    display: none; /* Per Chrome/Safari */
}

.clean-card {
    flex: 0 0 280px;
    padding: 30px;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    transition: var(--transition);
    border-left: 4px solid var(--primary-color);
}

.clean-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.clean-card h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--primary-color);
    font-weight: 600;
}

.clean-card p {
    color: var(--gray-color);
    line-height: 1.6;
    font-size: 15px;
}

/* Responsive */
@media (max-width: 1200px) {
    .services-row {
        flex-wrap: wrap;
        overflow-x: visible;
        justify-content: center;
    }
    
    .clean-card {
        flex: 0 0 calc(33.333% - 20px);
    }
}

@media (max-width: 992px) {
    .clean-card {
        flex: 0 0 calc(50% - 20px);
    }
}

@media (max-width: 768px) {
    .services-row {
        flex-direction: column;
        gap: 15px;
    }
    
    .clean-card {
        flex: 1;
        width: 100%;
    }
}
/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    text-align: center;
    padding: 40px 30px;
    border-radius: 5px;
    transition: var(--transition);
    background-color: var(--white);
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.05);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(26, 62, 114, 0.1);
    border-radius: 50%;
    color: var(--primary-color);
    font-size: 30px;
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

/* Projects Section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.project-card {
    position: relative;
    overflow: hidden;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.project-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: var(--transition);
}

.project-card:hover img {
    transform: scale(1.05);
}

.project-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: var(--white);
    transform: translateY(100%);
    transition: var(--transition);
}

.project-card:hover .project-info {
    transform: translateY(0);
}

.project-info h3 {
    margin-bottom: 5px;
}

/* Testimonials */
.testimonial-slider {
    max-width: 800px;
    margin: 0 auto;
}

.testimonial {
    background-color: var(--white);
    padding: 40px;
    border-radius: 5px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.05);
    margin: 0 15px;
}

.testimonial-content p {
    font-size: 18px;
    font-style: italic;
    margin-bottom: 25px;
    position: relative;
}

.testimonial-content p::before,
.testimonial-content p::after {
    content: '"';
    font-size: 24px;
    color: var(--secondary-color);
}

.client-info h4 {
    font-size: 18px;
    margin-bottom: 5px;
}

.client-info p {
    color: var(--gray-color);
    font-size: 14px;
}

/* Contact Page Specific Styles */
.contact-info-full {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.contact-methods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    text-align: left;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 5px;
}

.contact-method i {
    font-size: 24px;
    color: var(--primary-color);
    margin-right: 15px;
    margin-top: 5px;
}

.social-links-horizontal {
    margin-top: 50px;
}

.social-links-horizontal .social-icons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.social-links-horizontal .social-icon {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    transition: var(--transition);
}

.social-links-horizontal .social-icon:hover {
    background-color: var(--primary-color);
    color: white;
}

.social-links-horizontal .social-icon i {
    margin-right: 10px;
    font-size: 18px;
}

@media (max-width: 768px) {
    .social-links-horizontal .social-icons {
        flex-direction: column;
        align-items: center;
    }
    
    .social-links-horizontal .social-icon {
        width: 100%;
        justify-content: center;
    }
}

/* CTA Section */
.cta-section {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.cta-section h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto 30px;
}

/* Footer */
.footer {
    background-color: #1a1a1a;
    color: var(--white);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.footer-logo {
    height: 40px;
    margin-bottom: 20px;
}

.footer p {
    color: #aaa;
    margin-bottom: 20px;
}

.footer-col h3 {
    font-size: 20px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--secondary-color);
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.contact-info li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.contact-info i {
    margin-right: 10px;
    color: var(--secondary-color);
    width: 20px;
    text-align: center;
}

.social-links {
    display: flex;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #333;
    color: var(--white);
    margin-right: 10px;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid #333;
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.footer-bottom p {
    margin: 0;
}

.legal-links a {
    margin-left: 20px;
    font-size: 14px;
}

.legal-links a:hover {
    color: var(--secondary-color);
}

/* Page Hero */
.page-hero {
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: url('../images/hero-bg.jpg') no-repeat center center/cover;
    color: var(--white);
    position: relative;
    margin-top: 80px;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
}

.page-hero .container {
    position: relative;
    z-index: 1;
}

.page-hero h1 {
    font-size: 48px;
    margin-bottom: 15px;
}

/* Portfolio Filter */
.filter-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 8px 20px;
    margin: 0 10px 10px 0;
    background-color: transparent;
    border: 1px solid var(--light-gray);
    color: var(--dark-color);
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

/* Portfolio Grid */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.portfolio-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: var(--transition);
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: var(--white);
    transform: translateY(100%);
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-overlay {
    transform: translateY(0);
}

.portfolio-overlay h3 {
    margin-bottom: 5px;
    font-size: 18px;
}

.portfolio-overlay p {
    font-size: 14px;
    opacity: 0.8;
}

/* Stili per la paginazione */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
    gap: 10px;
    flex-wrap: wrap;
}

.page-numbers {
    display: flex;
    gap: 5px;
    margin: 0 10px;
}

.page-btn {
    padding: 8px 16px;
    background-color: #f5f5f5;
    color: #333;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid #ddd;
    font-weight: 600;
    min-width: 40px;
    text-align: center;
}

.page-btn:hover:not(.active):not(.disabled) {
    background-color: #ddd;
    color: var(--primary-color);
}

.page-btn.active {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.page-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.prev-btn, .next-btn {
    padding: 8px 16px;
    background-color: var(--white);
    color: var(--primary-color);
    border-radius: 4px;
    border: 1px solid var(--primary-color);
    transition: all 0.3s ease;
}

.prev-btn:hover:not(.disabled),
.next-btn:hover:not(.disabled) {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Grid per i portfolio items */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

/* Responsive */
@media (max-width: 768px) {
    .grid {
        grid-template-columns: 1fr;
    }
    
    .pagination {
        flex-direction: column;
        gap: 5px;
    }
    
    .page-numbers {
        margin: 10px 0;
    }
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 60px;
    }
    
    .section-title {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }
    
    .main-nav {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--white);
        transition: var(--transition);
        padding: 40px 0;
        overflow-y: auto;
    }
    
    .main-nav.active {
        left: 0;
    }
    
    .main-nav ul {
        flex-direction: column;
    }
    
    .main-nav li {
        margin: 0 0 20px 0;
        text-align: center;
    }
    
    .main-nav a {
        font-size: 18px;
    }
    
    .hero {
        min-height: 600px;
    }
    
    .hero h1 {
        font-size: 48px;
    }
    
    .hero .subtitle {
        font-size: 18px;
    }
    
    .section-padding {
        padding: 60px 0;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .legal-links {
        margin-top: 15px;
    }
    
    .legal-links a {
        margin: 0 10px;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 36px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .projects-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .filter-buttons {
        justify-content: flex-start;
    }
    
    .grid {
        grid-template-columns: 1fr;
    }
}

/* About Page Styles */
.page-hero {
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: url('../images/hero-bg.jpg') no-repeat center center/cover;
    color: var(--white);
    position: relative;
    margin-top: 80px;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
}

.page-hero .container {
    position: relative;
    z-index: 1;
}

.page-hero h1 {
    font-size: 48px;
    margin-bottom: 15px;
}

.page-hero p {
    font-size: 20px;
    max-width: 700px;
    margin: 0 auto;
    font-weight: 300;
}

.about-section {
    padding: 80px 0;
    text-align: center;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin: 50px auto;
    max-width: 900px;
    justify-items: center;
}

.stat-item {
    text-align: center;
    padding: 30px 50px;
    background-color: var(--white);
    border-radius: 5px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.05);
}

.stat-number {
    font-size: 42px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stat-label {
    color: var(--gray-color);
    font-size: 16px;
}

/* Stand Section */
.stand-section {
    padding: 80px 0;
    background-color: var(--light-color);
}

.stand-content {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.featured-stands {
    margin: 40px 0;
}

.featured-stands li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 20px;
    font-size: 18px;
    line-height: 1.6;
}

.featured-stands li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 15px;
    height: 15px;
    background-color: var(--primary-color);
    border-radius: 3px;
}

/* Team Section */
.team-qualities {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin: 80px auto;
    max-width: 1000px;
    padding: 0 20px;
}

.quality-item {
    flex: 1;
    min-width: 0;
    padding: 30px;
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: var(--transition);
    text-align: center;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .team-qualities {
        flex-wrap: wrap;
        justify-content: center;
    }
    .quality-item {
        flex: 0 0 calc(50% - 15px);
        margin-bottom: 30px;
    }
}

@media (max-width: 600px) {
    .quality-item {
        flex: 0 0 100%;
    }
}

.quality-item {
    text-align: center;
    padding: 40px 30px;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.quality-item:hover {
    transform: translateY(-10px);
}

.quality-item i {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.quality-item h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

/* Clients Section */
.clients-section {
    padding: 80px 0;
    background-color: var(--light-color);
}

.clients-slider {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 50px;
}

.client-logo {
    flex: 0 0 calc(20% - 40px);
    text-align: center;
    padding: 20px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: var(--transition);
}

.client-logo:hover {
    filter: grayscale(0);
    opacity: 1;
}

.client-logo img {
    max-width: 100%;
    height: auto;
    max-height: 60px;
    object-fit: contain;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .about-content {
        text-align: center;
    }
}

@media (max-width: 992px) {
    .page-hero h1 {
        font-size: 42px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .page-hero {
        height: 350px;
    }
    
    .page-hero h1 {
        font-size: 36px;
    }
    
    .page-hero p {
        font-size: 18px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .client-logo {
        flex: 0 0 calc(33.333% - 40px);
    }
}

@media (max-width: 576px) {
    .page-hero h1 {
        font-size: 32px;
    }
    
    .client-logo {
        flex: 0 0 calc(50% - 40px);
    }
    
    .featured-stands li {
        font-size: 16px;
        padding-left: 25px;
    }
    
    .featured-stands li::before {
        width: 12px;
        height: 12px;
        top: 8px;
    }
}

.stat-number::before {
    content: "+";
}

.dual-text-section {
    text-align: center;
}

.centered-title {
    margin-bottom: 40px;
}

.text-columns {
    display: flex;
    gap: 30px;
    text-align: left;
}

.text-block {
    flex: 1;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 5px;
    position: relative;
    padding-left: 40px;
}

.color-square {
    width: 20px;
    height: 20px;
    background: #1a721a;
    position: absolute;
    left: 10px;
    top: 65px;
}

@media (max-width: 768px) {
    .text-columns {
        flex-direction: column;
    }
}
/* About Section Styles */
.about-section {
    background-color: var(--white);
    position: relative;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
    align-items: center;
}

.about-title {
    text-align: right;
    padding-right: 30px;
    position: relative;
}

.about-title h2 {
    font-size: 72px;
    line-height: 1;
    color: var(--primary-color);
    margin: 0;
    position: sticky;
    top: 120px;
}

.about-content {
    border-left: 3px solid var(--light-gray);
    padding-left: 50px;
}

.about-point {
    display: flex;
    margin-bottom: 40px;
    position: relative;
}

.point-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
    margin-right: 25px;
    transition: var(--transition);
}

.about-point:hover .point-icon {
    transform: rotate(15deg) scale(1.1);
    background-color: var(--secondary-color);
}

.point-text h3 {
    color: var(--dark-color);
    margin-top: 5px;
    margin-bottom: 10px;
    font-size: 22px;
}

.point-text p {
    color: var(--gray-color);
    line-height: 1.7;
}

/* Responsive */
@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .about-title {
        text-align: center;
        padding-right: 0;
        margin-bottom: 40px;
    }
    
    .about-title h2 {
        position: static;
        font-size: 60px;
    }
    
    .about-content {
        border-left: none;
        padding-left: 0;
        border-top: 3px solid var(--light-gray);
        padding-top: 40px;
    }
}

@media (max-width: 576px) {
    .about-point {
        flex-direction: column;
    }
    
    .point-icon {
        margin-right: 0;
        margin-bottom: 20px;
    }
    
    .about-title h2 {
        font-size: 48px;
    }
}
/* About Section Styles */
.about-section {
    background-color: var(--white);
}

.about-columns {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: center; /* Allineamento verticale al centro */
}

.about-title-column {
    position: relative;
    padding-right: 30px;
    text-align: right;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.section-title-left {
    font-size: 48px;
    color: var(--primary-color);
    margin: 0;
    white-space: nowrap;
    position: relative;
    top: 0; /* Rimuove ogni offset verticale */
}

.about-content-column {
    border-left: 2px solid var(--light-gray);
    padding-left: 50px;
    height: 100%;
    display: flex;
    align-items: center;
}

.about-points {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
}

.about-point {
    margin-bottom: 40px;
}

.about-point:last-child {
    margin-bottom: 0;
}

.about-point h3 {
    color: var(--primary-color);
    font-size: 22px;
    margin-bottom: 15px;
}

.about-point p {
    color: var(--gray-color);
    line-height: 1.7;
    margin: 0;
}

/* Responsive */
@media (max-width: 992px) {
    .about-columns {
        grid-template-columns: 1fr;
        align-items: start;
    }
    
    .about-title-column {
        text-align: center;
        padding-right: 0;
        margin-bottom: 30px;
        justify-content: center;
        height: auto;
    }
    
    .section-title-left {
        white-space: normal;
        position: static;
    }
    
    .about-content-column {
        border-left: none;
        padding-left: 0;
        border-top: 2px solid var(--light-gray);
        padding-top: 40px;
        height: auto;
        align-items: flex-start;
    }
}

@media (max-width: 576px) {
    .section-title-left {
        font-size: 36px;
    }
    
    .about-point {
        margin-bottom: 30px;
    }
    
    .about-point h3 {
        font-size: 20px;
    }
}
/* References Section - Mosaic Layout */
.references-section {
    background-color: var(--white);
}

.intro-text, .highlight-text {
    max-width: 800px;
    margin: 0 auto 60px;
    padding: 0 20px;
    line-height: 1.8;
    font-size: 18px;
    color: var(--gray-color);
    text-align: center;
}

.highlight-text {
    background-color: rgba(26, 114, 26, 0.05);
    padding: 40px;
    border-left: 4px solid var(--primary-color);
    position: relative;
}

.highlight-text::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 60px;
    color: var(--primary-color);
    opacity: 0.2;
    font-family: serif;
}

.mosaic-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 200px;
    gap: 20px;
    margin: 60px 0;
}

.mosaic-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
}

.mosaic-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.mosaic-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.mosaic-item:hover img {
    transform: scale(1.1);
}

.overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    color: white;
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    opacity: 0;
}

.mosaic-item:hover .overlay {
    transform: translateY(0);
    opacity: 1;
}

.overlay h3 {
    margin-bottom: 5px;
    font-size: 18px;
}

.overlay p {
    font-size: 14px;
    opacity: 0.8;
}

/* Mosaic Item Sizes */
.mosaic-item.big {
    grid-column: span 2;
    grid-row: span 2;
}

.mosaic-item.wide {
    grid-column: span 2;
}

.mosaic-item.tall {
    grid-row: span 2;
}

/* Responsive */
@media (max-width: 992px) {
    .mosaic-gallery {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .mosaic-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .intro-text, .highlight-text {
        font-size: 16px;
        margin-bottom: 40px;
        padding: 0 10px;
    }
    
    .highlight-text {
        padding: 30px 20px;
    }
}

@media (max-width: 576px) {
    .mosaic-gallery {
        grid-template-columns: 1fr;
        grid-auto-rows: 250px;
    }
    
    .mosaic-item.big, 
    .mosaic-item.wide, 
    .mosaic-item.tall {
        grid-column: span 1;
        grid-row: span 1;
    }
}
/* Minimal Highlight Box */
.minimal-highlight-box {
    max-width: 800px;
    margin: 0 auto 60px;
    padding: 40px;
    background-color: var(--white);
    position: relative;
}

.minimal-highlight-box p {
    font-size: 22px;
    line-height: 1.6;
    color: var(--dark-color);
    text-align: center;
    margin: 0;
    font-weight: 400;
    position: relative;
    z-index: 1;
}

.minimal-highlight-box::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    border: 1px solid var(--primary-color);
    opacity: 0.2;
    z-index: 0;
}

.minimal-highlight-box::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--primary-color);
}

/* Responsive */
@media (max-width: 768px) {
    .minimal-highlight-box {
        padding: 30px 25px;
    }
    
    .minimal-highlight-box p {
        font-size: 19px;
    }
}

@media (max-width: 576px) {
    .minimal-highlight-box {
        padding: 25px 20px;
        margin-bottom: 40px;
    }
    
    .minimal-highlight-box p {
        font-size: 17px;
    }
    
    .minimal-highlight-box::before {
        top: 15px;
        left: 15px;
        right: 15px;
        bottom: 15px;
    }
}
/* Team Section */
.team-hero {
    background-image: url('../images/team-hero.jpg');
}

.team-intro {
    max-width: 800px;
    margin: 0 auto 60px;
    font-size: 18px;
    line-height: 1.8;
    color: var(--gray-color);
    text-align: center;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.team-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    text-align: center;
    border-top: 3px solid var(--primary-color);
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.team-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(26, 114, 26, 0.1);
    border-radius: 50%;
    color: var(--primary-color);
    font-size: 28px;
}

.team-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.team-card p {
    color: var(--gray-color);
    line-height: 1.7;
}

.team-photos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.team-photo {
    position: relative;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.team-photo img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-photo:hover img {
    transform: scale(1.03);
}

.photo-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px;
    background: rgba(0,0,0,0.7);
    color: white;
    text-align: center;
    font-size: 16px;
}

/* Responsive */
@media (max-width: 768px) {
    .team-intro {
        font-size: 16px;
        margin-bottom: 40px;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .team-photos {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .team-card {
        padding: 30px 20px;
    }
    
    .team-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
}
/* Language Switcher */
.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.language-switcher {
    display: flex;
    align-items: center;
    padding: 5px;
    border-radius: 4px;
    transition: var(--transition);
}

.language-switcher:hover {
    background-color: rgba(0,0,0,0.05);
}

.language-switcher img {
    display: block;
    border: 1px solid rgba(0,0,0,0.1);
}

/* Mobile adaptation */
@media (max-width: 768px) {
    .header-actions {
        gap: 15px;
    }
    
    .language-switcher img {
        width: 20px;
        height: auto;
    }
}
.language-switcher i {
    font-size: 18px;
    color: #1a721a; /* Colore verde del tuo tema */
    transition: var(--transition);
}

.language-switcher:hover i {
    color: #0d4d0d; /* Verde più scuro al hover */
}