/*
Theme Name: Sandbox Materdomini
Theme URI: https://farmaciamaterdomini.it
Author: Sandbox
Author URI: https://farmaciamaterdomini.it
Description: Tema WordPress onepage per Farmacia Materdomini. Mobile-first, Bootstrap 5, Brandon Grotesque.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sandbox-materdomini
Tags: one-page, medical, pharmacy, bootstrap, mobile-first
*/

/* ===== BRANDON GROTESQUE ===== */
/* Nota: caricare i file WOFF2 in assets/fonts/ */
@font-face {
    font-family: 'Brandon Grotesque';
    src: url('assets/fonts/BrandonGrotesque-Thin.woff2') format('woff2'),
         url('assets/fonts/BrandonGrotesque-Thin.ttf') format('truetype');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Brandon Grotesque';
    src: url('assets/fonts/BrandonGrotesque-Regular.woff2') format('woff2'),
         url('assets/fonts/BrandonGrotesque-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Brandon Grotesque';
    src: url('assets/fonts/BrandonGrotesque-Bold.woff2') format('woff2'),
         url('assets/fonts/BrandonGrotesque-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --verde-oliva: #74992F;
    --verde-scuro: #3E4E3A;
    --malva-rosato: #785163;
    --verde-bottiglia: #1A3B02;
    --verde-muschio: #617952;
    --salvia-chiara: #9AA990;
    --verde-menta: #BECA9E;
    --grigio-perla: #E4E0E0;
    --sfondo-chiaro: #F2F3F4;
    --bianco: #FFFFFF;
}

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

body {
    font-family: 'Brandon Grotesque', 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--sfondo-chiaro);
    color: var(--verde-scuro);
    font-size: 1.33rem;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--verde-bottiglia);
}

/* ===== TOPBAR ===== */
.topbar {
    background-color: var(--bianco);
    color: #444444;
    padding: 0.4rem 0;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.topbar a {
    color: #444444;
    text-decoration: none;
    transition: color 0.2s;
}

.topbar a:hover {
    color: var(--verde-oliva);
}

.topbar-address {
    color: #444444;
}

.topbar-email {
    color: #444444;
}

.topbar-social a {
    color: #444444;
    margin-left: 0.5rem;
    font-size: 0.85rem;
}

.topbar .container {
    max-width: 65%;
}

/* ===== NAVBAR ===== */
.navbar {
    background-color: var(--bianco);
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    padding: 1rem 0;
}

.navbar-brand img {
    width: 350px;
    max-width: 100%;
    height: auto;
    transition: all 0.3s ease;
}

.navbar-scrolled .navbar-brand img {
    max-width: 80% !important;
}

.navbar-nav .nav-link {
    color: var(--verde-muschio);
    font-weight: 400;
    font-size: 1rem;
    font-family: 'brandon-grotesque', 'Brandon Grotesque', sans-serif;
    text-transform: uppercase;
    padding: 0.5rem 1rem;
    transition: color 0.2s;
    line-height: 1.2rem;
}

.navbar-nav li {
    text-align: center;
    margin-left: 15px;
    margin-right: 15px;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--verde-oliva);
}

.navbar-toggler {
    border: none;
}

.navbar-toggler:focus,
.navbar-toggler:active {
    outline: none;
    box-shadow: none;
}

.navbar-toggler-icon {
    background-image: none;
}

.navbar-toggler-icon::before {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%2374992F' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    background-size: 24px 24px;
    background-position: center;
    background-repeat: no-repeat;
}

/* ===== MOBILE MENU ===== */
@media (max-width: 991.98px) {
    .navbar {
        padding-top: 0.75rem;
        padding-bottom: 0.75rem;
    }

    .navbar-collapse {
        background-color: var(--bianco);
        border-top: 1px solid rgba(116,153,47,0.2);
        padding: 1rem 0;
        margin-top: 0.5rem;
    }

    .navbar-nav {
        text-align: center;
        padding: 0;
    }

    .navbar-nav li {
        margin-left: 0;
        margin-right: 0;
        border-bottom: 1px solid rgba(116,153,47,0.1);
    }

    .navbar-nav li:last-child {
        border-bottom: none;
    }

    .navbar-nav .nav-link {
        padding: 1rem;
        font-size: 1.1rem;
    }

    .navbar-nav .btn-call {
        margin: 1rem auto 0;
        display: inline-block;
    }

    .navbar-toggler {
        border-radius: 8px;
        padding: 0.5rem 0.75rem;
        border: none;
    }

    .navbar-brand img {
        width: 250px;
    }
}

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--verde-scuro) 0%, var(--verde-muschio) 100%);
    color: var(--bianco);
    text-align: center;
    padding: 4rem 1rem;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(62, 78, 58, 0.4);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.hero-logo {
    width: 180px;
    max-width: 60vw;
    margin-bottom: 2rem;
}

.hero h1 {
    font-size: 2.5rem;
    color: var(--bianco);
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
}

.hero .payoff {
    font-size: 1.3rem;
    font-style: italic;
    color: var(--verde-menta);
    margin-bottom: 2rem;
}

.hero-divider {
    width: 60px;
    height: 3px;
    background-color: var(--verde-oliva);
    margin: 0 auto 2rem;
}

.btn-primary-custom {
    background-color: var(--verde-oliva);
    color: var(--bianco);
    border: none;
    padding: 0.875rem 2.5rem;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-primary-custom:hover {
    background-color: var(--verde-bottiglia);
    color: var(--bianco);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(116, 153, 47, 0.4);
}

.btn-outline-custom {
    background-color: transparent;
    color: var(--verde-oliva);
    border: 2px solid var(--verde-oliva);
    padding: 0.75rem 2rem;
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-outline-custom:hover {
    background-color: var(--verde-oliva);
    color: var(--bianco);
}

/* ===== CTA BANNER ===== */
.cta-banner {
    background-color: var(--verde-oliva);
    color: var(--bianco);
    padding: 1.5rem 0;
    text-align: center;
}

.cta-banner h3 {
    color: var(--bianco);
    font-size: 1.1rem;
    font-weight: 400;
    margin: 0;
}

.cta-banner .phone {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--bianco);
    text-decoration: none;
}

.cta-banner .phone:hover {
    color: var(--verde-menta);
}

/* ===== SECTIONS ===== */
.section {
    padding: 5rem 0;
}

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

.section-dark {
    background-color: var(--verde-scuro);
    color: var(--bianco);
}

.section-dark h2,
.section-dark h3 {
    color: var(--bianco);
}

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

#app h3 {
    text-align: center;
    color: var(--salvia-chiara);
    margin-bottom: 1rem;
    font-size: 1.5rem;
    display: none;
}

.section-description {
    max-width: 85%;
    margin: 0 auto 1rem;
    text-align: center;
    color: #444444;
    line-height: 2rem;
    font-size: 1.33rem;
}

.section-divider {
    width: 50px;
    height: 3px;
    background-color: var(--verde-oliva);
    margin: 0 auto 2rem;
}

/* Servizi row max-width */
#servizi .row.g-4 {
    max-width: 1024px;
    margin: 0 auto;
}

/* Chi siamo — nascosta */
#chi-siamo {
    display: none;
}

/* ===== SERVIZI CARDS ===== */
.servizi-card {
    position: relative;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    height: 100%;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}

.servizi-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(26,59,2,0.6) 0%, rgba(26,59,2,0.6) 100%);
    z-index: 1;
}

.servizi-card > * {
    position: relative;
    z-index: 2;
}

.servizi-card h2 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    color: var(--bianco);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.servizi-card p {
    color: var(--bianco);
    font-size: 1.33rem;
    margin-bottom: 0;
    line-height: 1.5rem;
}

.servizi-icon,
.servizi-icon-img {
    display: none;
}

.container .text-center {
    max-width: 1024px;
    margin: 0 auto;
}

/* ===== STATEMENT SECTION ===== */
.statement {
    position: relative;
    background: linear-gradient(135deg, var(--verde-scuro) 0%, var(--verde-bottiglia) 100%);
    color: var(--bianco);
    padding: 5rem 0;
    text-align: center;
}

.statement h2 {
    color: var(--bianco);
    font-size: 2rem;
    font-style: italic;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.4;
}

/* ===== PLUS SECTION ===== */
.plus-item {
    text-align: center;
    padding: 1.5rem;
}

.plus-icon {
    width: 50px;
    height: 50px;
    background-color: var(--verde-menta);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: var(--verde-scuro);
    font-size: 1.25rem;
}

.plus-item h4 {
    font-size: 1rem;
    color: var(--verde-scuro);
    margin-bottom: 0.5rem;
}

.plus-item p {
    font-size: 0.9rem;
    color: var(--salvia-chiara);
}

/* ===== CONTACT SECTION ===== */
.contact-info {
    padding: 2rem;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.contact-info-icon {
    width: 40px;
    height: 40px;
    background-color: var(--verde-oliva);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bianco);
    margin-right: 1rem;
    flex-shrink: 0;
}

.contact-info-item h4 {
    font-size: 0.95rem;
    color: var(--verde-scuro);
    margin-bottom: 0.25rem;
}

.contact-info-item p {
    font-size: 0.9rem;
    color: var(--salvia-chiara);
    margin: 0;
}

.contact-info-item a {
    color: var(--verde-oliva);
    text-decoration: none;
}

.contact-info-item a:hover {
    text-decoration: underline;
}

.contact-map {
    height: 100%;
    min-height: 350px;
    border-radius: 12px;
    overflow: hidden;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ===== SOCIAL SECTION ===== */
.social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1.5rem;
}

.social-links a {
    width: 45px;
    height: 45px;
    background-color: var(--verde-oliva);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bianco);
    font-size: 1.2rem;
    transition: all 0.3s;
    text-decoration: none;
}

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

/* ===== FOOTER ===== */
.footer {
    background-color: var(--verde-bottiglia);
    color: var(--bianco);
    padding: 3rem 0 0;
}

.footer-main {
    padding-bottom: 2rem;
}

.footer-logo-img {
    width: 300px;
    max-width: 100%;
    height: auto;
    margin-bottom: 1rem;
    filter: brightness(0) invert(1);
    position: relative;
    left: -10px;
    top: -5px;
}

.footer-address {
    font-size: 1rem;
    color: var(--bianco);
    line-height: 1.6;
    margin-bottom: 0;
}

.footer-contatti p {
    font-size: 1rem;
    color: var(--bianco);
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.footer-contatti a {
    color: var(--bianco);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-contatti a:hover {
    color: var(--bianco);
}

.footer-orari strong {
    color: var(--bianco);
    font-weight: 600;
    display: block;
}

.footer-social-label {
    font-size: 1rem;
    font-weight: 600;
    color: var(--bianco);
    margin-bottom: 0.75rem;
}

.footer-social-icons {
    display: flex;
    gap: 0.75rem;
}

.social-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--bianco);
    color: var(--verde-bottiglia) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.2s;
}

.social-icon:hover {
    background-color: var(--verde-oliva);
    color: var(--bianco) !important;
}

.social-icon i {
    font-size: 0.9rem;
}

.footer-bottom {
    background-color: var(--salvia-chiara);
    padding: 0.75rem 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.75rem;
    color: var(--bianco);
    margin-bottom: 0;
}

/* ===== CONTACT PAGE ===== */
.contact-form {
    background-color: var(--bianco);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.contact-form .form-control {
    border: 1px solid var(--grigio-perla);
    border-radius: 8px;
    padding: 0.75rem 1rem;
}

.contact-form .form-control:focus {
    border-color: var(--verde-oliva);
    box-shadow: 0 0 0 0.2rem rgba(116, 153, 47, 0.25);
}

.contact-form .btn-primary-custom {
    width: 100%;
}

/* ===== BLOG ARCHIVE ===== */
.blog-archive {
    padding: 5rem 0;
}

.blog-archive .blog-card {
    margin-bottom: 2rem;
}

/* ===== SINGLE POST ===== */
.single-post {
    padding: 5rem 0;
}

.single-post-content {
    background-color: var(--bianco);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.single-post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991.98px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .section {
        padding: 3.5rem 0;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
}

@media (max-width: 767.98px) {
    .hero {
        min-height: 60vh;
        padding: 3rem 1rem;
    }
    
    .hero h1 {
        font-size: 1.75rem;
    }
    
    .hero .payoff {
        font-size: 1.1rem;
    }
    
    .section {
        padding: 2.5rem 0;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .statement h2 {
        font-size: 1.5rem;
    }
    
    .cta-banner .phone {
        font-size: 1.25rem;
    }
    
    .topbar {
        font-size: 0.75rem;
    }
}

/* ===== NUOVO LAYOUT HEALTHCARE PROFESSIONALE ===== */

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: flex-start;
    background: linear-gradient(90deg, rgba(26,59,2,0.3) 0%, rgba(26,59,2,0.3) 100%);
    background-size: cover;
    background-position: center;
    padding: 0;
    transition: background-image 0.6s ease-in-out;
}

.hero-section #heroCarousel {
    width: 100%;
    min-height: 70vh;
}

.hero-section .carousel-inner {
    width: 100%;
}

.hero-section,
.hero-section #heroCarousel,
.hero-section .carousel-inner {
    min-height: 80vh;
}

.hero-section .carousel-item {
    padding-right: 1.5rem;
    padding-bottom: 4rem;
    padding-left: 1.5rem;
    padding-top: 15vh;
    min-height: 80vh;
}

.hero-section .carousel-item.active {
    display: flex !important;
    align-items: center !important;
}

.hero-section .carousel-item > .container,
.hero-section .carousel-item > .hero-slide-content {
    width: 100%;
}

.hero-section .carousel-item .col-lg-8 {
    min-height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1rem;
}

.hero-section .carousel-item .btn-lime {
    align-self: flex-start;
    white-space: nowrap;
    width: 167px;
    height: 46px;
    min-width: 167px;
    padding: 0;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 767.98px) {
    .hero-section .carousel-item .col-lg-8 {
        justify-content: flex-start;
    }
}

body {
    position: relative;
}

.parallax-layers-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 9990;
    pointer-events: none;
}

.parallax-layer-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    opacity: 0.5;
    pointer-events: none;
}

.parallax-layer-wrapper.parallax-layer-1 {
    z-index: 1;
    opacity: 0.5;
}

.parallax-layer-wrapper.parallax-layer-2 {
    z-index: 2;
    opacity: 0.5;
}

.parallax-layer-wrapper.parallax-layer-3 {
    z-index: 3;
    opacity: 0.5;
}

.parallax-layer-inner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-repeat: repeat-y;
    background-position: center top;
    background-size: 100% auto;
    opacity: 0.5;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    will-change: transform;
}

.Topbar,
.topbar,
.Navbar,
.navbar,
.Footer,
.footer {
    position: relative;
    z-index: 1111111111111;
}

section {
    position: relative;
}

.section-contatti {
    position: relative;
}

.hero-section .carousel-item > .container {
    position: relative;
    z-index: 2;
}

.hero-section .carousel-indicators {
    position: absolute;
    bottom: 1.5rem;
    left: 0;
    right: 0;
    z-index: 3;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    padding: 0;
    margin: 0;
    list-style: none;
}

.hero-section .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    background-color: transparent;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-section .carousel-indicators button.active {
    background-color: var(--grigio-perla);
    border-color: var(--grigio-perla);
}

.hero-section .carousel-indicators button:hover {
    background-color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 767.98px) {
    .hero-section,
    .hero-section #heroCarousel,
    .hero-section .carousel-inner,
    .hero-section .carousel-item {
        min-height: 60vh;
    }
    .hero-section .carousel-item {
        position: relative;
    }
    .hero-carousel-prev {
        left: -1.5rem;
    }
    .hero-carousel-next {
        right: -1.5rem;
    }
    .hero-carousel-prev,
    .hero-carousel-next {
        font-size: 2rem;
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26,59,2,0.3);
    z-index: 0;
    pointer-events: none;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-headline {
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.5rem;
    line-height: 1.6;
    max-width: 750px;
}

.btn-lime {
    background-color: var(--verde-oliva);
    color: var(--bianco);
    border: none;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.2s ease-out;
    text-decoration: none;
    display: inline-block;
    position: relative;
    z-index: 3;
}

.btn-lime:hover {
    background-color: #556B22;
    color: var(--bianco);
}

.hero-section .carousel-item .btn-lime,
.hero-section .carousel-item .btn-lime:hover {
    transform: none;
    box-shadow: none;
}

.btn-malva {
    background-color: var(--malva-rosato);
    color: var(--bianco);
    border: none;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.2s ease-out;
    text-decoration: none;
    display: inline-block;
}

.btn-malva:hover {
    background-color: #5A3A48;
    color: var(--bianco);
    box-shadow: 0 8px 16px rgba(120,81,99,0.3);
}

.btn-outline-lime {
    background-color: transparent;
    border: 2px solid var(--verde-oliva);
    color: var(--verde-oliva);
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.2s ease-out;
    text-decoration: none;
    display: inline-block;
    position: relative;
}

.btn-outline-lime:hover {
    background-color: var(--verde-oliva);
    color: var(--bianco);
}

.btn-call {
    background-color: var(--verde-oliva);
    color: var(--bianco);
    border: none;
    padding: 0.5rem 1.25rem;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 4px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s ease-out;
    white-space: nowrap;
}

.btn-call:hover {
    background-color: var(--verde-scuro);
    color: var(--bianco);
}

/* App Store Buttons */
.app-download-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    padding-top: 2.5rem;
    margin-top: 2rem;
}

.btn-app-store,
.btn-google-play {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s ease-out;
    border: none;
    background-color: var(--verde-oliva);
    color: var(--bianco);
}

.btn-app-store:hover,
.btn-google-play:hover {
    background-color: #556B22;
    color: var(--bianco);
}

.btn-app-store i,
.btn-google-play i {
    font-size: 1.25rem;
}

/* CTA Bar */
.cta-bar {
    background-color: var(--verde-oliva);
    padding: 1.25rem 0;
    position: relative;
    z-index: 11111111111111111;
}

.cta-bar .fs-5 {
    font-size: 2rem !important;
}

@media (max-width: 767.98px) {
    .cta-bar .fs-5 {
        font-size: 1.5rem !important;
    }
}

.cta-phone {
    font-size: 1.75rem;
    font-weight: 700;
}

/* Badge */
.badge-materdomini {
    background-color: var(--grigio-perla);
    color: var(--verde-muschio);
    padding: 0.375rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Section Typography */
.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--verde-bottiglia);
    margin-bottom: 1rem;
    text-align: center;
}

.section-subtitle {
    text-align: center;
    color: #333333;
    margin-bottom: 1rem;
    font-size: 1.33rem;
    line-height: 1.6;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
}

.small-heading {
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.text-lime {
    color: var(--verde-oliva) !important;
}


.services-list li {
    font-size: 0.875rem;
    color: var(--verde-oliva);
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.services-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 0.375rem;
    height: 0.375rem;
    background-color: var(--verde-oliva);
}

/* Affetto Section */
.affetto-section {
    background: linear-gradient(135deg, var(--verde-bottiglia) 0%, var(--verde-scuro) 100%);
    padding: 4rem 0;
    text-align: center;
}

/* Benefits List */
.benefits-list li {
    font-size: 0.875rem;
    color: #333333;
    margin-bottom: 0.75rem;
    line-height: 1.8;
    padding-left: 1.5rem;
    position: relative;
}

.benefits-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 0.375rem;
    height: 0.375rem;
    background-color: var(--verde-oliva);
}

/* Staff Section */
.staff-section {
    position: relative;
    background: linear-gradient(90deg, rgba(26,59,2,0.3) 0%, rgba(26,59,2,0.3) 100%), url('team-bg.jpg');
    background-size: cover;
    background-position: center;
    padding: 5rem 0;
}

.staff-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26,59,2,0.3);
}

.staff-section .container {
    position: relative;
    z-index: 2;
}

.staff-section h2 {
    font-size: 3.1rem;
}

/* Strutture Cards */
.struttura-card {
    background-color: var(--bianco);
    padding: 2.5rem 1.5rem;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.25s;
    text-align: center;
    border-top: 3px solid var(--verde-oliva);
}

.struttura-card:hover {
    box-shadow: 0 8px 16px rgba(0,0,0,0.12);
    transform: translateY(-4px);
}

.struttura-icon {
    color: var(--verde-oliva);
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.struttura-card h3 {
    color: var(--verde-bottiglia);
    font-size: 1rem;
    font-weight: 700;
    margin: 0;
}

/* Contact Boxes */
.contact-box {
    background-color: #F5F5F5;
    padding: 1.5rem;
    border-radius: 6px;
    border-left: 3px solid var(--verde-oliva);
}

.contact-icon {
    color: var(--verde-oliva);
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.contact-box h4 {
    color: var(--verde-bottiglia);
    font-size: 0.875rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.contact-box p {
    font-size: 0.875rem;
    color: #333333;
    line-height: 1.6;
    margin: 0;
}

.contact-box a {
    color: var(--verde-oliva);
    font-weight: 600;
}

/* Map Container */
.map-container {
    border-radius: 6px;
    overflow: hidden;
    border: 2px solid #E8E8E8;
}

/* App Features */
.app-features li {
    font-size: 0.9rem;
    color: #333333;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: flex-start;
}

.app-features .fa-check-circle {
    color: var(--verde-oliva);
    margin-top: 0.25rem;
}

.app-mockup {
    display: flex;
    justify-content: center;
    align-items: center;
}

.app-feature-box h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--verde-scuro);
    margin-bottom: 0.5rem;
}

#app .app-feature-box h3 {
    color: var(--verde-bottiglia);
    display: block;
}

.app-feature-box p {
    color: var(--salvia-chiara);
    line-height: 1.7rem;
    margin-bottom: 0;
    font-size: 1.22rem;
    font-weight: 700;
}

.app-icon-circle {
    width: 90px;
    height: 90px;
    background-color: var(--salvia-chiara);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: var(--bianco);
    font-size: 1.75rem;
}

.app-icon-circle img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Sostieni Section */
.sostieni-section {
    position: relative;
    background: linear-gradient(180deg, rgba(26,59,2,0.3) 0%, rgba(26,59,2,0.3) 100%), url('support-bg.jpg');
    background-size: cover;
    background-position: center;
    padding: 5rem 0;
    text-align: center;
}

.sostieni-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26,59,2,0.3);
}

.sostieni-section .container {
    position: relative;
    z-index: 2;
}

/* Blog Cards */
.blog-card {
    background-color: var(--bianco);
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.25s;
    height: 100%;
}

.blog-card:hover {
    box-shadow: 0 8px 24px rgba(116,153,47,0.15);
    transform: translateY(-4px);
    border-left: 3px solid var(--verde-oliva);
}

.blog-card-img {
    aspect-ratio: 4/3;
    overflow: hidden;
}

.blog-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

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

.blog-card-img-placeholder {
    background: linear-gradient(135deg, #E8E8E8 0%, #D0D0D0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--salvia-chiara);
}

.blog-card-body {
    padding: 1.5rem;
}

.blog-card-date {
    font-size: 0.8rem;
    color: var(--verde-oliva);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.blog-category {
    background-color: var(--verde-oliva);
    color: var(--bianco);
    padding: 0.25rem 0.75rem;
    border-radius: 3px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 0.75rem;
}

.blog-card-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--verde-bottiglia);
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.blog-card-title a {
    color: inherit;
    text-decoration: none;
}

.blog-card-title a:hover {
    color: var(--verde-oliva);
}

.blog-card-excerpt {
    font-size: 0.875rem;
    color: #333333;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.blog-card-link,
.blog-read-more {
    color: var(--verde-oliva);
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.blog-card-link:hover,
.blog-read-more:hover {
    color: var(--verde-bottiglia);
    text-decoration: underline;
}

/* Section Padding */
.section-py {
    padding-top: 4rem;
    padding-bottom: 6rem;
}


.bg-beige {
    background-color: var(--grigio-perla);
}

/* Lead Text */
.lead-text {
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 991.98px) {
    .hero-headline {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.4rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .section-py {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
    
    .cta-phone {
        font-size: 1.5rem;
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        min-height: 50vh;
        padding: 0;
    }
    
    .hero-headline {
        font-size: 2.25rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .section-py {
        padding-top: 2.5rem;
        padding-bottom: 2.5rem;
    }
    
    .affetto-section h2,
    .sostieni-section h2 {
        font-size: 1.5rem;
    }
    
    .cta-phone {
        font-size: 1.25rem;
    }
}

/* Override Bootstrap text-white-50 opacity */
.text-white-50 {
    --bs-text-opacity: 1;
    color: rgba(255, 255, 255, 1) !important;
}

/* ===== EVENTI PAGE ===== */
.evento-card {
    background-color: var(--bianco);
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.25s;
}

.evento-card:hover {
    box-shadow: 0 8px 24px rgba(116,153,47,0.15);
    transform: translateY(-4px);
}

.evento-card-img {
    aspect-ratio: 16/9;
    overflow: hidden;
    background-color: #E8E8E8;
}

.evento-card-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s;
}

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

.evento-card-body {
    padding: 1.5rem;
}

.evento-card-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--verde-bottiglia);
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.evento-card-title a {
    color: inherit;
    text-decoration: none;
}

.evento-card-title a:hover {
    color: var(--verde-oliva);
}

.evento-card-desc {
    font-size: 0.875rem;
    color: #333333;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.evento-card-link {
    color: var(--verde-oliva);
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.evento-card-link:hover {
    text-decoration: underline;
}

/* Placeholder per immagine evento non disponibile */
.evento-card-img .placeholder-img {
    aspect-ratio: 16/9;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #F5F5F5 0%, #E8E8E8 100%);
    color: var(--salvia-chiara);
}

.evento-card-img .placeholder-img img {
    object-fit: contain;
    max-width: 60%;
    height: auto;
}

.placeholder-img img {
    max-width: 120px;
    height: auto;
    opacity: 0.6;
}

/* Parallax Image Section */
.parallax-section {
    min-height: 300px;
    background-image: url('https://www.farmaciamaterdomini.it/wp-content/uploads/2026/06/Materdomini_cura.png');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    overflow: hidden;
}

.parallax-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 59, 2, 0.3);
}

.parallax-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    text-align: center;
    padding: 2rem 1rem;
}

.parallax-content h2 {
    color: var(--bianco);
    font-size: 4rem;
    font-weight: 700;
    letter-spacing: 1px;
    max-width: 800px;
    line-height: 1.3;
}

/* ===== EVENTI SECTION ===== */
.section-eventi {
    position: relative;
    overflow: hidden;
}

.eventi-bg {
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 5rem 0;
    min-height: 400px;
    display: flex;
    align-items: center;
}

.eventi-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 59, 2, 0.3);
    z-index: 1;
}

.eventi-content {
    position: relative;
    z-index: 2;
    color: var(--bianco);
}

.eventi-content h2 {
    color: var(--bianco);
    font-size: 3.1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.eventi-desc {
    color: rgb(255, 255, 255);
    font-size: 1.33rem;
    line-height: 2rem;
    margin-bottom: 2rem;
}

.eventi-desc p,
.eventi-subtitle {
    color: var(--bianco);
    margin-bottom: 1rem;
}

.eventi-subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    opacity: 0.9;
}

.btn-eventi {
    background-color: var(--verde-oliva);
    color: var(--bianco);
    border: none;
    padding: 0.75rem 2rem;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.2s ease-out;
}

.btn-eventi:hover {
    background-color: #5a7a25;
    color: var(--bianco);
}

/* ===== REPARTI SECTION ===== */
.section-reparti {
    background-color: var(--bianco);
}

.reparti-row {
    display: flex;
    justify-content: center;
    max-width: 720px;
    margin: 0 auto;
}

.reparti-item {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0rem;
    text-align: left;
}

.reparti-bullet {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--verde-bottiglia);
    color: var(--bianco);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    flex-shrink: 0;
}

.reparti-nome {
    font-size: 1.53rem;
    color: var(--salvia-chiara);
    font-weight: 600;
}

/* ===== CONTATTI SECTION ===== */
.section-contatti {
    padding-top: 4rem;
    padding-bottom: 0;
}

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

.contatto-label {
    font-size: 1.22rem;
    line-height: 1.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--verde-bottiglia);
    margin-bottom: 0.75rem;
}

.contatto-val {
    font-size: 1.22rem;
    color: #444444;
    line-height: 1.8rem;
    margin-bottom: 0;
}

.contatto-val a {
    color: #444444;
    text-decoration: none;
    transition: color 0.2s;
}

.contatto-val a:hover {
    color: var(--verde-oliva);
}

.contatti-map {
    width: 100%;
    margin-top: 5rem;
    background-color: #e4e4e4;
    min-height: 300px;
    position: relative;
    z-index: 9999;
}

.contatti-map iframe {
    border: 0;
    display: block;
    width: 100%;
    height: 400px;
    position: relative;
    z-index: 9999;
}

/* ===== 404 PAGE ===== */
.section-404 {
    padding: 6rem 0;
    min-height: 60vh;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 20;
}

.error-404-content {
    max-width: 750px;
    margin: 0 auto;
}

.error-404-code {
    font-size: 10rem;
    font-weight: 700;
    line-height: 1;
    color: var(--verde-oliva);
    margin-bottom: 1rem;
    opacity: 0.85;
}

.error-404-title {
    font-size: 3.1rem;
    font-weight: 700;
    color: var(--verde-bottiglia);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.error-404-text {
    font-size: 1.33rem;
    line-height: 1.8rem;
    color: var(--verde-scuro);
    margin-bottom: 2.5rem;
}

.error-404-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.error-404-buttons .btn-lime,
.error-404-buttons .btn-outline-lime {
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
}

@media (max-width: 767.98px) {
    .section-404 {
        padding: 4rem 0;
        min-height: 50vh;
    }

    .error-404-code {
        font-size: 6rem;
    }

    .error-404-title {
        font-size: 2.25rem;
    }

    .error-404-text {
        font-size: 1.25rem;
    }
}

/* ===== FINE NUOVO LAYOUT ===== */
