/* home.css */
/* Tutti i diritti riservati © 2025*/
/* Avvocato Gigliola Rubano, via Nino Bixio 4 (TO) */

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

:root {
    --bordeaux: #8B1538;
    --dark-bordeaux: #6B0F2B;
    --light-bordeaux: #A91D42;
    --black: #2C2C2C;
    --dark-gray: #4A4A4A;
    --light-gray: #F8F8F8;
    --medium-gray: #666666;
    --white: #FFFFFF;
    --cream: #FEFEFE;
    --gold: #C9A96B;
}

body {
    font-family: 'Lato', sans-serif;
    line-height: 1.7;
    color: var(--black);
    background: var(--white);
}

/* NAVIGATION */

nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(139, 21, 56, 0.1);
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    font-family: 'Crimson Text', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--bordeaux);
    text-decoration: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--black);
    font-weight: 300;
    transition: color 0.3s ease;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-menu a:hover {
    color: var(--bordeaux);
}

.mobile-menu {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--bordeaux);
    cursor: pointer;
}

/* MOBILE NAVIGATION */

.mobile-menu {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--bordeaux);
    cursor: pointer;
    z-index: 1001;
    position: relative;
    transition: transform 0.2s ease;
}

.mobile-menu:hover {
    transform: scale(1.1);
}

.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 320px;
    height: 100vh;
    background: linear-gradient(135deg, var(--white) 0%, var(--cream) 100%);
    backdrop-filter: blur(20px);
    box-shadow: -10px 0 30px rgba(139, 21, 56, 0.15);
    z-index: 1000;
    transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    padding-top: 5rem;
    border-left: 1px solid rgba(139, 21, 56, 0.1);
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(44, 44, 44, 0.6);
    backdrop-filter: blur(5px);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-menu {
    list-style: none;
    padding: 2rem 0;
    margin: 0;
}

.mobile-nav-menu li {
    border-bottom: 1px solid rgba(139, 21, 56, 0.08);
    transform: translateX(50px);
    opacity: 0;
    transition: all 0.3s ease;
}

.mobile-nav.active .mobile-nav-menu li {
    transform: translateX(0);
    opacity: 1;
}

.mobile-nav.active .mobile-nav-menu li:nth-child(1) { transition-delay: 0.1s; }
.mobile-nav.active .mobile-nav-menu li:nth-child(2) { transition-delay: 0.15s; }
.mobile-nav.active .mobile-nav-menu li:nth-child(3) { transition-delay: 0.2s; }
.mobile-nav.active .mobile-nav-menu li:nth-child(4) { transition-delay: 0.25s; }
.mobile-nav.active .mobile-nav-menu li:nth-child(5) { transition-delay: 0.3s; }

.mobile-nav-menu a {
    display: block;
    padding: 1.5rem 2.5rem;
    text-decoration: none;
    color: var(--black);
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.mobile-nav-menu a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: var(--bordeaux);
    transform: scaleY(0);
    transition: transform 0.3s ease;
    transform-origin: bottom;
}

.mobile-nav-menu a:hover::before {
    transform: scaleY(1);
}

.mobile-nav-menu a:hover {
    background: rgba(139, 21, 56, 0.05);
    color: var(--bordeaux);
    padding-left: 3rem;
    font-weight: 400;
}

.mobile-nav-close {
    position: absolute;
    top: 1.5rem;
    right: 1rem;
    background: rgba(139, 21, 56, 0.1);
    border: none;
    font-size: 1.3rem;
    color: var(--bordeaux);
    cursor: pointer;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    backdrop-filter: blur(10px);
}

.mobile-nav-close:hover {
    background: rgba(139, 21, 56, 0.2);
    transform: rotate(90deg) scale(1.1);
}

/* HERO SECTION */


.news-header {
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, var(--light-gray) 0%, var(--cream) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.news-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 30%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(139, 21, 56, 0.05), transparent);
    transform: rotate(15deg);
}

.news-header-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 10;
}

.news-header-title {
    font-family: 'Crimson Text', serif;
    font-size: 3.5rem;
    font-weight: 400;
    color: var(--black);
    margin-bottom: 1rem;
}

.news-header-subtitle {
    font-size: 1.1rem;
    color: var(--bordeaux);
    font-weight: 300;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.news-divider {
    width: 80px;
    height: 2px;
    background: var(--bordeaux);
    margin: 2rem auto;
}

/* SECTIONS */

.section {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-family: 'Crimson Text', serif;
    font-size: 2.8rem;
    color: var(--black);
    text-align: center;
    margin-bottom: 4rem;
    font-weight: 400;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--bordeaux);
    text-align: center;
    margin-bottom: 3rem;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 1px;
}





/* ACTIVITY AREA */

.aree-attivita {
    background: var(--light-gray);
}

.aree-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
    margin-top: 3rem;
    justify-items: center;
}

.area-item {
    background: var(--white);
    width: 280px;
    height: 230px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: all 0.4s ease;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    position: relative;
    overflow: hidden;
    padding: 2rem;
}

.area-item::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(139, 21, 56, 0.05), transparent);
    transition: transform 0.6s ease;
    transform: rotate(-45deg);
}

.area-item:hover::before {
    transform: rotate(135deg);
}

.area-item:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 20px 40px rgba(139, 21, 56, 0.15);
}

.area-icon {
    font-size: 3.5rem;
    color: var(--bordeaux);
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
    z-index: 2;
    position: relative;
}

.area-item:hover .area-icon {
    transform: scale(1.2);
    color: var(--dark-bordeaux);
}

.area-title {
    font-family: 'Crimson Text', serif;
    font-size: 1.2rem;
    color: var(--black);
    margin-bottom: 0.5rem;
    font-weight: 600;
    line-height: 1.3;
    z-index: 2;
    position: relative;
}

.area-subtitle {
    color: var(--bordeaux);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 300;
    z-index: 2;
    position: relative;
}

/* AREA DETAIL PAGE */

.area-detail {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    z-index: 2000;
    display: none;
    overflow-y: auto;
}

.area-detail.active {
    display: block;
    animation: slideInFromRight 0.4s ease-out;
}

.area-detail-header {
    background: linear-gradient(135deg, var(--black) 0%, var(--dark-bordeaux) 100%);
    color: var(--white);
    padding: 4rem 0 3rem;
    position: relative;
    overflow: hidden;
}

.area-detail-header::before {
    content: '';
    position: absolute;
    top: 0;
    right: -20%;
    width: 40%;
    height: 100%;
    background: rgba(139, 21, 56, 0.1);
    transform: skewX(-15deg);
}

.area-detail-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 10;
}

.close-detail {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999; 
}

.close-detail:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: rotate(90deg);
}

.area-detail-title {
    font-family: 'Crimson Text', serif;
    font-size: 3.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    font-weight: 300;
}

.area-detail-icon {
    font-size: 4rem;
    color: var(--gold);
}

.area-detail-content {
    padding: 5rem 0;
    background: var(--white);
}

.area-detail-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--dark-gray);
    max-width: 800px;
    margin: 0 auto;
}

.area-detail-text h3 {
    font-family: 'Crimson Text', serif;
    font-size: 2rem;
    color: var(--bordeaux);
    margin: 3rem 0 1.5rem 0;
    position: relative;
    padding-left: 2rem;
}

.area-detail-text h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 30px;
    background: var(--gold);
}

.area-detail-text p {
    margin-bottom: 1.5rem;
    text-align: justify;
}

.area-detail-text ul {
    margin: 2rem 0;
    padding-left: 0;
    list-style: none;
}

.area-detail-text li {
    margin-bottom: 1rem;
    padding-left: 2rem;
    position: relative;
    background: var(--light-gray);
    padding: 1rem 1rem 1rem 3rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.area-detail-text li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--bordeaux);
    font-size: 0.9rem;
}

.area-detail-text li:hover {
    background: rgba(139, 21, 56, 0.05);
    transform: translateX(10px);
}

/* HOW IT WORKS */

.come-lavoriamo {
    background: var(--white);
}

.come-lavoriamo-content {
    max-width: 900px;
    margin: 0 auto;
}

.come-lavoriamo-subtitle {
    font-family: 'Crimson Text', serif;
    font-size: 1.8rem;
    color: var(--bordeaux);
    margin-bottom: 2rem;
    text-align: center;
    font-style: italic;
}

.come-lavoriamo-text {
    font-size: 1.1rem;
    line-height: 1.8;
    margin: 0 15px 0 15px;
    color: var(--dark-gray);
    text-align: justify;
}

.come-lavoriamo-text p {
    margin-bottom: 1.5rem;
}

/* NEWS */

.news {
    background: var(--light-gray);
    padding: 6rem 0;
}

.news-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-left: 1rem !important;
    margin-right: 1rem !important;
    margin-top: 3rem;
}

.news-item {
    background: var(--white);
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.news-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.news-image {
    width: 100%;
    height: 220px;
    background: linear-gradient(135deg, var(--bordeaux), var(--light-bordeaux));
    overflow: hidden;
    position: relative;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.news-item:hover .news-image img {
    transform: scale(1.05);
}

.news-image .news-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-image .news-placeholder i {
    font-size: 3.5rem;
    color: rgba(255, 255, 255, 0.8);
}

.news-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-title {
    font-family: 'Crimson Text', serif;
    font-size: 1.3rem;
    color: var(--black);
    margin-bottom: 1rem;
    font-weight: 600;
    line-height: 1.4;
}

.news-excerpt {
    color: var(--medium-gray);
    line-height: 1.6;
    font-size: 0.95rem;
    flex: 1;
}

.news-meta {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--light-gray);
}

.news-date {
    color: var(--bordeaux);
    font-size: 0.9rem;
    font-weight: 500;
}

/* TEXT */

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

/* BTN */

.btn-altri-articoli {
    display: inline-block;
    margin: 4rem auto 0;
    padding: 1rem 3rem;
    background: transparent;
    color: var(--bordeaux);
    text-decoration: none;
    border: 2px solid var(--bordeaux);
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    border-radius: 50px;
}


.btn-refresh {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: transparent;
    color: var(--bordeaux);
    text-decoration: none;
    border: 2px solid var(--bordeaux);
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border-radius: 50%;
}

.btn-refresh:hover {
    color: var(--bordeaux);
    transform: translateY(-2px) rotate(180deg);
    box-shadow: 0 8px 25px rgba(139, 21, 56, 0.3);
}
.btn-altri-articoli:hover {

    color: var(--bordeaux);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 21, 56, 0.3);
}

.btn-altri-articoli:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 21, 56, 0.3);
}


.btn-indicazioni {
    display: none;
    width: 100%;
    padding: 1.2rem 2rem;
    background: linear-gradient(135deg, var(--bordeaux) 0%, var(--dark-bordeaux) 100%);
    color: var(--white);
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(139, 21, 56, 0.3);
    text-decoration: none;
    text-align: center;
    margin-top: 1rem;
}

.btn-indicazioni:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 21, 56, 0.4);
}

.btn-indicazioni i {
    margin-right: 0.5rem;
    font-size: 1.2rem;
}

/* CONTACT */

.contatti {
    background: var(--white);
}

.contatti-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1100px;
    margin: 0 auto;
    align-items: start;
}

.contatti-info {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.contatto-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 2rem;
    background: var(--light-gray);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contatto-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--bordeaux);
    transform: scaleY(0);
    transition: transform 0.3s ease;
    transform-origin: bottom;
}

.contatto-item:hover::before {
    transform: scaleY(1);
}

.contatto-item:hover {
    background: rgba(139, 21, 56, 0.05);
    transform: translateX(10px);
}

.contatto-icon {
    width: 50px;
    height: 50px;
    background: var(--bordeaux);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.contatto-icon i {
    color: var(--white);
    font-size: 1.2rem;
}

.contatto-item:hover .contatto-icon {
    background: var(--dark-bordeaux);
    transform: scale(1.1);
}

.contatto-content {
    flex: 1;
}

.contatto-title {
    font-family: 'Crimson Text', serif;
    font-size: 1.3rem;
    color: var(--black);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.contatto-info-text {
    color: var(--dark-gray);
    line-height: 1.6;
}

.contatto-info-text a {
    color: var(--bordeaux);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contatto-info-text a:hover {
    color: var(--dark-bordeaux);
    text-decoration: underline;
}

.orario-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    padding: 0.5rem 0;
    border-bottom: 1px dotted rgba(139, 21, 56, 0.2);
}

.orario-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.giorno {
    font-weight: 500;
    color: var(--black);
}

.orario {
    color: var(--bordeaux);
    font-weight: 400;
}

/* MAPS */

.contatti-mappa {
    position: relative;
}

.mappa-container {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}

.mappa-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.mappa-container iframe {
    width: 100%;
    height: 450px;
    filter: grayscale(20%);
    transition: filter 0.3s ease;
}

.mappa-container:hover iframe {
    filter: grayscale(0%);
}

.mappa-overlay {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border: 1px solid rgba(139, 21, 56, 0.1);
}

.studio-marker {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--black);
}

.studio-marker i {
    color: var(--bordeaux);
    font-size: 1.2rem;
    animation: bounce 2s infinite;
}

.studio-marker span {
    font-weight: 500;
    font-size: 0.9rem;
}

/* ANIMATIONS */

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-5px);
    }
    60% {
        transform: translateY(-3px);
    }
}

@keyframes slideInFromRight {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(0);
    }
}


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

.fade-in-up {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}


/* RESPONSIVE */

@media (max-width: 1024px) and (min-width: 769px) {
    .news-container {
        padding: 0 1.5rem;
    }
    
    .news-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
    
    .news-image {
        height: 200px;
    }
    
    .news-content {
        padding: 1.5rem;
    }
    
    .news-title {
        font-size: 1.2rem;
    }
    
    .news-excerpt {
        font-size: 0.9rem;
    }
}

/* RESPONSIVE */
@media (max-width: 768px) {
   
    .btn-indicazioni {
        display: none;
    }

    .contatti-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }
    
    .contatti-info {
        gap: 1.5rem;
    }
    
    .contatto-item {
        padding: 1.5rem;
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .contatto-item:hover {
        transform: translateY(-5px);
    }
    
    .contatto-icon {
        width: 60px;
        height: 60px;
        align-self: center;
    }
    
    .contatto-icon i {
        font-size: 1.5rem;
    }
    
    .contatto-title {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }
    
    .orario-item {
        flex-direction: column;
        text-align: center;
        gap: 0.3rem;
    }
    
    .contatti-mappa {
        display: none;
    }
   
    .btn-indicazioni {
        display: block;
    }

    .contatti-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }
    
    .contatti-info {
        gap: 1.5rem;
    }
    
    .contatto-item {
        padding: 1.5rem;
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .contatto-item:hover {
        transform: translateY(-5px);
    }
    
    .contatto-icon {
        width: 60px;
        height: 60px;
        align-self: center;
    }
    
    .contatto-icon i {
        font-size: 1.5rem;
    }
    
    .contatto-title {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }
    
    .orario-item {
        flex-direction: column;
        text-align: center;
        gap: 0.3rem;
    }
    
    .contatti-mappa {
        display: none;
    }
    
    .btn-indicazioni {
        display: block;
        width: 100%;
        padding: 1.2rem 2rem;
        background: linear-gradient(135deg, var(--bordeaux) 0%, var(--dark-bordeaux) 100%);
        color: var(--white);
        border: none;
        border-radius: 12px;
        font-size: 1.1rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 1px;
        cursor: pointer;
        transition: all 0.3s ease;
        box-shadow: 0 4px 15px rgba(139, 21, 56, 0.3);
        text-decoration: none;
        text-align: center;
        margin-top: 1rem;
    }
    
    .btn-indicazioni:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(139, 21, 56, 0.4);
    }
    
    .btn-indicazioni i {
        margin-right: 0.5rem;
        font-size: 1.2rem;
    }

    .contatti-container {
        padding: 0 0.5rem;
    }
    
    .contatto-item {
        padding: 1.2rem;
    }
    
    .contatto-title {
        font-size: 1.1rem;
    }
    
    .contatto-info-text {
        font-size: 0.95rem;
    }
    
    .btn-indicazioni {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }


    .nav-menu {
        display: none;
    }

    .mobile-menu {
        display: block;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .section {
        padding: 4rem 1rem;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .chi-siamo-text {
        margin: 0 15px 0 15px;
    }


    .come-lavoriamo-text {
        margin: 0 15px 0 15px;
    }

    .aree-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        max-width: 600px;
        margin: 0 15px 0 15px;
    }

    .area-item {
        width: 200px;
        height: 200px;
        padding: 1.5rem;
    }

    .area-title {
        font-size: 1rem;
        margin-bottom: 0.3rem;
    }

    .area-subtitle {
        font-size: 0.7rem;
    }

   
    .news {
        padding: 4rem 0;
    }
    
    .news-container {
        padding: 0 1rem;
    }
    

    .news-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.2rem;
        margin-top: 2rem;
    }
    
    .news-image {
        height: 160px;
    }
    
    .news-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }
    
    .news-image .news-placeholder i {
        font-size: 2.5rem;
    }
    
    .news-content {
        padding: 1.2rem;
    }
    
    .news-title {
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
        line-height: 1.3;
    }
    
    .news-excerpt {
        font-size: 0.85rem;
        line-height: 1.4;
    }
    
    .news-meta {
        margin-top: 1rem;
        padding-top: 0.8rem;
    }
    
    .news-date {
        font-size: 0.8rem;
    }
    
    .news-actions {
        margin-top: 3rem;
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn-altri-articoli {
        padding: 0.8rem 2rem;
        font-size: 0.8rem;
    }
    
    .btn-refresh {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }


    .area-detail-title {
        font-size: 2.5rem;
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .area-detail-icon {
        font-size: 3rem;
    }

    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .aree-grid {
        max-width: 400px;
    }

    .area-item {
        width: 160px;
        height: 160px;
        padding: 1rem;
    }

    .area-icon {
        font-size: 2rem;
    }

    .area-title {
        font-size: 0.9rem;
    }
 .news-container {
        padding: 0 0.8rem;
    }
    
    .news-grid {
        gap: 1rem;
    }
    .news-image {
        height: 160px;
    }
    
    .news-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }
    
    .news-image .news-placeholder i {
        font-size: 2.5rem;
    }
    .news-content {
        padding: 1rem;
    }
    
    .news-title {
        font-size: 1rem;
        margin-bottom: 0.6rem;
    }
    
    .news-excerpt {
        font-size: 0.8rem;
        line-height: 1.3;
    }
    
    .btn-altri-articoli {
        padding: 0.7rem 1.5rem;
        font-size: 0.75rem;
    }

    .close-detail {
        width: 35px;
        height: 35px;
        font-size: 1.1rem;
    }

}


