/*
Theme Name: Punto Casa Ceramiche
Theme URI: https://www.puntocasaceramiche.it
Description: Tema figlio di GeneratePress per Punto Casa Ceramiche - Ceramiche, Pavimenti, Arredo Bagno e Ristrutturazioni
Author: Punto Casa Ceramiche
Author URI: https://www.puntocasaceramiche.it
Template: generatepress
Version: 1.0.0
Text Domain: puntocasa-theme
*/

/* ========================================
   RESET & BASE
   ======================================== */
* { box-sizing: border-box; }

body {
    font-family: 'Raleway', sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: #666666;
    background: #FFFFFF;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    color: #3D3D3D;
    line-height: 1.3;
}

h1 { font-size: 52px; }
h2 { font-size: 38px; margin-bottom: 20px; }
h3 { font-size: 28px; }

a {
    color: #2DB84B;
    text-decoration: none;
    transition: color 0.3s ease;
}
a:hover { color: #1E8F35; }

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

/* ========================================
   CONTAINER
   ======================================== */
.pc-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   BUTTONS
   ======================================== */
.pc-btn {
    display: inline-block;
    padding: 14px 32px;
    background: #2DB84B;
    color: #FFFFFF;
    font-family: 'Raleway', sans-serif;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
    text-decoration: none;
    letter-spacing: 0.5px;
}
.pc-btn:hover {
    background: #1E8F35;
    color: #FFFFFF;
    transform: translateY(-2px);
}
.pc-btn-outline {
    background: transparent;
    border: 2px solid #FFFFFF;
    color: #FFFFFF;
}
.pc-btn-outline:hover {
    background: #FFFFFF;
    color: #2DB84B;
}
.pc-btn-white {
    background: #FFFFFF;
    color: #2DB84B;
}
.pc-btn-white:hover {
    background: #f0f0f0;
    color: #1E8F35;
}

/* ========================================
   HEADER
   ======================================== */
.pc-header {
    background: #FFFFFF;
    height: auto;
    padding: 15px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    transition: box-shadow 0.3s ease;
}
.pc-header.scrolled {
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}
.pc-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.pc-logo a {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 700;
    color: #2DB84B;
    text-decoration: none;
}
.pc-logo img {
    max-height: 85px;
    max-width: 290px;
    width: auto;
    height: auto;
    display: block;
    object-fit: contain;
}

/* Navigation — high specificity to override GeneratePress */
#pc-nav ul,
#pc-nav ul.menu,
nav.pc-nav ul,
nav.pc-nav ul.menu {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 0 !important;
    border: none !important;
    background: none !important;
}
#pc-nav ul li,
#pc-nav ul.menu > li.menu-item,
nav.pc-nav ul li {
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    display: block !important;
    position: relative;
    list-style: none !important;
    border: none !important;
    background: none !important;
}
#pc-nav ul li a,
#pc-nav ul.menu > li.menu-item > a,
nav.pc-nav ul li a {
    display: block !important;
    padding: 8px 20px !important;
    color: #3D3D3D !important;
    font-family: 'Raleway', sans-serif !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    transition: color 0.3s ease !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    line-height: 1.4 !important;
    border: none !important;
    background: none !important;
    box-shadow: none !important;
    outline: none !important;
}
#pc-nav ul li a:hover,
#pc-nav ul li a:focus,
#pc-nav ul li.current-menu-item > a,
#pc-nav ul li.current_page_item > a,
nav.pc-nav ul li a:hover,
nav.pc-nav ul li.current-menu-item > a {
    color: #2DB84B !important;
    background: none !important;
}

/* Mobile menu toggle */
.pc-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}
.pc-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: #3D3D3D;
    margin: 5px 0;
    transition: 0.3s ease;
    border-radius: 2px;
}

/* Body offset for fixed header */
body.pc-has-header {
    padding-top: 80px;
}

/* ========================================
   HERO SECTIONS
   ======================================== */
.pc-hero {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.pc-hero-inner {
    position: relative;
    height: 400px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.pc-hero img,
.pc-hero-inner img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.pc-hero::after,
.pc-hero-inner::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.4);
}
.pc-hero-content {
    position: relative;
    z-index: 2;
    color: #FFFFFF;
    max-width: 800px;
    padding: 0 20px;
}
.pc-hero-content h1 {
    color: #FFFFFF;
    font-size: 52px;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}
.pc-hero-content p {
    font-size: 20px;
    margin-bottom: 30px;
    color: rgba(255,255,255,0.9);
    line-height: 1.6;
    white-space: nowrap;
}

/* ========================================
   SECTIONS
   ======================================== */
.pc-section {
    padding: 80px 0;
}
.pc-section-gray {
    background: #F5F5F5;
}
.pc-section-green {
    background: #2DB84B;
}
.pc-section-dark {
    background: #3D3D3D;
}
.pc-section-title {
    text-align: center;
    margin-bottom: 50px;
}
.pc-section-title h2 {
    font-size: 38px;
    color: #3D3D3D;
    margin-bottom: 15px;
}
.pc-section-title p {
    font-size: 18px;
    color: #666666;
    max-width: 600px;
    margin: 0 auto;
}
.pc-section-green .pc-section-title h2,
.pc-section-green .pc-section-title p,
.pc-section-green h3,
.pc-section-green p {
    color: #FFFFFF;
}
.pc-section-dark .pc-section-title h2,
.pc-section-dark .pc-section-title p,
.pc-section-dark h2,
.pc-section-dark p {
    color: #FFFFFF;
}

/* ========================================
   TWO COLUMNS
   ======================================== */
.pc-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.pc-two-col-text h2 {
    margin-bottom: 20px;
}
.pc-two-col-text p {
    margin-bottom: 15px;
}
.pc-two-col-text .pc-btn {
    margin-top: 15px;
}
.pc-two-col-img {
    border-radius: 8px;
    overflow: hidden;
}
.pc-two-col-img img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
    border-radius: 8px;
}

/* Two images stacked */
.pc-two-col:has(.pc-two-col-imgs-stack) {
    align-items: stretch;
}
.pc-two-col-imgs-stack {
    display: flex;
    flex-direction: column;
    gap: 12px;
    border-radius: 8px;
    overflow: hidden;
}
.pc-two-col-imgs-stack img {
    width: 100%;
    flex: 1;
    min-height: 0;
    object-fit: cover;
    display: block;
    border-radius: 8px;
}

/* ========================================
   SERVICES GRID
   ======================================== */
.pc-services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}
.pc-service-box {
    background: #FFFFFF;
    padding: 40px 30px;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}
.pc-service-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.pc-service-box .pc-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
}
.pc-service-box .pc-icon svg {
    width: 60px;
    height: 60px;
    fill: #2DB84B;
}
.pc-service-box h3 {
    font-size: 20px;
    margin-bottom: 12px;
}
.pc-service-box p {
    font-size: 15px;
    color: #666;
}

/* ========================================
   GALLERY GRID
   ======================================== */
.pc-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.pc-gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    height: 300px;
}
.pc-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}
.pc-gallery-item:hover img {
    transform: scale(1.05);
}
.pc-gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(45, 184, 75, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.pc-gallery-item:hover .pc-gallery-overlay {
    opacity: 1;
}
.pc-gallery-overlay span {
    color: #FFFFFF;
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    font-weight: 600;
}

/* ========================================
   STRENGTHS (Punti di forza)
   ======================================== */
.pc-strengths-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}
.pc-strength-box .pc-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
}
.pc-strength-box .pc-icon svg {
    width: 60px;
    height: 60px;
    fill: #FFFFFF;
}
.pc-strength-box h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #FFFFFF;
}
.pc-strength-box p {
    font-size: 15px;
    color: rgba(255,255,255,0.9);
}

/* ========================================
   CTA SECTION
   ======================================== */
.pc-cta {
    text-align: center;
    padding: 80px 0;
}
.pc-cta h2 {
    font-size: 38px;
    margin-bottom: 10px;
}
.pc-cta p {
    font-size: 18px;
    margin-bottom: 30px;
}

/* ========================================
   STEPS
   ======================================== */
.pc-steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}
.pc-step-box {
    padding: 30px 20px;
}
.pc-step-number {
    width: 60px;
    height: 60px;
    background: #2DB84B;
    color: #FFFFFF;
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}
.pc-step-box h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

/* ========================================
   VALUES
   ======================================== */
.pc-values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.pc-value-box {
    background: #FFFFFF;
    padding: 40px 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}
.pc-value-box .pc-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
}
.pc-value-box .pc-icon svg {
    width: 60px;
    height: 60px;
    fill: #2DB84B;
}
.pc-value-box h3 {
    font-size: 22px;
    margin-bottom: 12px;
}

/* ========================================
   CONTACT FORM
   ======================================== */
.pc-contact-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
}
.pc-form-group {
    margin-bottom: 20px;
}
.pc-form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #3D3D3D;
    font-size: 14px;
}
.pc-form-group input,
.pc-form-group select,
.pc-form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Raleway', sans-serif;
    font-size: 15px;
    color: #3D3D3D;
    transition: border-color 0.3s ease;
    background: #FFFFFF;
}
.pc-form-group input:focus,
.pc-form-group select:focus,
.pc-form-group textarea:focus {
    outline: none;
    border-color: #2DB84B;
    box-shadow: 0 0 0 3px rgba(45, 184, 75, 0.1);
}
.pc-form-group textarea {
    height: 150px;
    resize: vertical;
}
.pc-contact-info h3 {
    font-size: 22px;
    margin-bottom: 20px;
}
.pc-contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}
.pc-contact-info-item svg {
    width: 24px;
    height: 24px;
    fill: #2DB84B;
    flex-shrink: 0;
    margin-top: 3px;
}
.pc-contact-info-item p {
    margin: 0;
    font-size: 15px;
}
.pc-contact-info-item strong {
    color: #3D3D3D;
}

/* Form messages */
.pc-form-success {
    background: #e8f5e9;
    color: #2e7d32;
    padding: 15px 20px;
    border-radius: 4px;
    margin-bottom: 20px;
    font-weight: 600;
}
.pc-form-error {
    background: #ffebee;
    color: #c62828;
    padding: 15px 20px;
    border-radius: 4px;
    margin-bottom: 20px;
    font-weight: 600;
}

/* ========================================
   FOOTER
   ======================================== */
.pc-footer {
    background: #111111;
    color: #FFFFFF;
    padding: 60px 0 0;
}
.pc-footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
}
.pc-footer h3 {
    color: #FFFFFF;
    font-size: 20px;
    margin-bottom: 20px;
}
.pc-footer p {
    color: rgba(255,255,255,0.7);
    font-size: 15px;
    line-height: 1.8;
}
.pc-footer a {
    color: rgba(255,255,255,0.7);
    transition: color 0.3s ease;
}
.pc-footer a:hover {
    color: #2DB84B;
}
.pc-footer-logo img {
    max-width: 150px;
    height: auto;
    margin-bottom: 15px;
    object-fit: contain;
}
.pc-footer-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.pc-footer-menu ul li {
    margin-bottom: 4px;
    line-height: 1.4;
}
.pc-footer-menu ul li a {
    font-size: 15px;
}
.pc-footer-contact p {
    margin-bottom: 8px;
}
.pc-footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
    text-align: center;
}
.pc-footer-bottom p {
    font-size: 14px;
    color: rgba(255,255,255,0.5);
    margin: 0;
}

/* ========================================
   PRODUCTS / CATEGORIES GRID
   ======================================== */
.pc-products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.pc-product-card {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #FFFFFF;
}
.pc-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.pc-product-card-img {
    height: 250px;
    overflow: hidden;
}
.pc-product-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.pc-product-card-body {
    padding: 25px;
}
.pc-product-card-body h3 {
    font-size: 20px;
    margin-bottom: 10px;
}
.pc-product-card-body p {
    font-size: 15px;
    color: #666;
}

/* ========================================
   INTERVENTIONS LIST
   ======================================== */
.pc-interventions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}
.pc-intervention-box {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 30px;
    background: #FFFFFF;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}
.pc-intervention-box .pc-icon {
    flex-shrink: 0;
}
.pc-intervention-box .pc-icon svg {
    width: 40px;
    height: 40px;
    fill: #2DB84B;
}
.pc-intervention-box h3 {
    font-size: 18px;
    margin-bottom: 8px;
}
.pc-intervention-box p {
    font-size: 15px;
    color: #666;
    margin: 0;
}

/* ========================================
   HIDE GP DEFAULT ELEMENTS
   ======================================== */
.site-header,
.site-footer,
#page > .site-header,
#page > .site-footer,
.main-navigation,
nav.main-navigation {
    display: none !important;
}

/* ========================================
   RESPONSIVE
   ======================================== */
/* Tablet */
@media (max-width: 1024px) {
    h1 { font-size: 42px; }
    h2 { font-size: 28px; }
    .pc-hero-content h1 { font-size: 42px; }
    .pc-section-title h2 { font-size: 28px; }
    .pc-section { padding: 60px 0; }

    .pc-two-col {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .pc-two-col-imgs-stack img {
        height: 250px;
        flex: none;
    }
    .pc-services-grid,
    .pc-strengths-grid,
    .pc-steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .pc-footer-grid {
        grid-template-columns: 1fr;
    }
    .pc-contact-grid {
        grid-template-columns: 1fr;
    }
    .pc-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .pc-interventions-grid {
        grid-template-columns: 1fr;
    }
    #pc-nav,
    nav.pc-nav {
        display: none !important;
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background: #FFFFFF;
        box-shadow: 0 5px 20px rgba(0,0,0,0.1);
        padding: 20px;
        z-index: 9999;
    }
    #pc-nav.active,
    nav.pc-nav.active {
        display: block !important;
    }
    #pc-nav ul,
    #pc-nav ul.menu,
    nav.pc-nav ul {
        flex-direction: column !important;
        flex-wrap: wrap !important;
    }
    #pc-nav ul li a,
    nav.pc-nav ul li a {
        padding: 12px 20px !important;
        white-space: normal !important;
    }
    .pc-menu-toggle {
        display: block;
    }
}

/* Mobile */
@media (max-width: 768px) {
    h1 { font-size: 32px; }
    h2 { font-size: 24px; }
    .pc-hero {
        height: auto;
        min-height: 0;
        overflow: visible;
        padding: 50px 0;
    }
    /* L'immagine di sfondo deve coprire tutto il contenuto */
    .pc-hero > img {
        min-height: 100%;
    }
    .pc-hero-inner { height: 250px; }
    .pc-hero-content {
        padding: 20px 15px;
        max-width: 100%;
    }
    .pc-hero-content h1 {
        font-size: 26px;
        margin-bottom: 12px;
    }
    .pc-hero-content p {
        font-size: 14px;
        white-space: normal;
        margin-bottom: 15px;
    }
    .pc-hero-ribbon {
        display: block;
        width: 90%;
        margin: 0 auto 15px;
        font-size: 14px;
        text-align: center;
        padding: 12px 15px;
        box-sizing: border-box;
        word-wrap: break-word;
    }
    .pc-section { padding: 40px 0; }
    .pc-section-title { margin-bottom: 30px; }
    .pc-section-title h2 { font-size: 24px; }
    .pc-cta h2 { font-size: 24px; }
    .pc-cta { padding: 40px 0; }

    .pc-services-grid,
    .pc-strengths-grid,
    .pc-steps-grid {
        grid-template-columns: 1fr;
    }
    .pc-gallery-grid,
    .pc-products-grid {
        grid-template-columns: 1fr 1fr;
    }
    .pc-gallery-item {
        height: 200px;
    }
    .pc-values-grid {
        grid-template-columns: 1fr;
    }
    .pc-two-col-img img {
        height: 280px;
    }

    /* Form e pulsanti full-width */
    .pc-btn {
        display: block;
        width: 100%;
        text-align: center;
    }
    .pc-form-group input,
    .pc-form-group select,
    .pc-form-group textarea {
        width: 100%;
    }
    .pc-contact-grid {
        gap: 30px;
    }

    /* Footer colonna singola */
    .pc-footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    .pc-footer-logo {
        display: flex;
        justify-content: center;
    }

    /* Staff cards mobile — override inline padding-left e width fissi */
    .pc-team-member-row {
        padding-left: 15px !important;
        padding-right: 15px !important;
        justify-content: center !important;
    }
    .pc-team-member-card {
        width: 100% !important;
        max-width: 320px !important;
    }
    .pc-team-member-card img {
        width: 55px !important;
        height: 55px !important;
    }

    /* Arredo Bagno: colonna singola su mobile */
    #arredo-bagno .pc-two-col {
        display: flex !important;
        flex-direction: column !important;
    }
    #arredo-bagno .pc-two-col-text,
    #arredo-bagno .pc-two-col-img {
        flex: none !important;
        width: 100% !important;
    }

    /* Arredo Bagno slideshow mobile */
    .pc-bagno-slideshow {
        height: 250px !important;
    }

    /* Arredo Bagno: gallery rendering 2 colonne su mobile */
    #arredo-bagno .pc-two-col-text > div > div[style*="grid-template-columns"] {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    #arredo-bagno .pc-two-col-text > div > div[style*="grid-template-columns"] img {
        height: 140px !important;
    }

    /* Punti di forza servizi: colonna singola su mobile */
    div[style*="grid-template-columns:repeat(3,1fr)"] {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 480px) {
    .pc-gallery-grid {
        grid-template-columns: 1fr;
    }
    .pc-products-grid {
        grid-template-columns: 1fr;
    }
    .pc-hero { min-height: 320px; }
    .pc-hero-inner { height: 220px; }
    .pc-hero-content h1 { font-size: 22px; }
    .pc-hero-ribbon { font-size: 13px; padding: 10px 12px; }
}

/* Force green hover on menu links — high specificity overrides */
header .main-navigation ul li a:hover,
header nav ul li a:hover,
#site-navigation ul li a:hover,
.nav-menu li a:hover,
nav.main-navigation li a:hover {
    color: #2DB84B !important;
    background: transparent !important;
    text-decoration: none !important;
}

/* Exact theme selectors for menu hover */
#pc-nav .menu li a:hover,
#pc-nav .menu li a:focus,
nav#pc-nav ul.menu li a:hover {
    color: #2DB84B !important;
}

/* Force center align on hero content */
.pc-hero-content,
.pc-hero-content p,
.pc-hero-content h1,
.pc-hero-content h2 {
    text-align: center !important;
}

/* ========================================
   CAROSELLO LAVORAZIONI
   ======================================== */
.pc-carousel {
    position: relative;
    display: flex;
    align-items: center;
    gap: 15px;
}
.pc-carousel-track {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    flex: 1;
}
.pc-carousel-item {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
}
.pc-carousel-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 6px;
    display: block;
}
.pc-carousel-overlay {
    position: absolute;
    inset: 0;
    background: rgba(45, 184, 75, 0.7);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.pc-carousel-item:hover .pc-carousel-overlay {
    opacity: 1;
}
.pc-carousel-overlay span {
    color: #fff;
    font-size: 2rem;
    font-weight: 700;
}
.pc-carousel-arrow {
    background: none;
    border: 3px solid #2DB84B;
    color: #2DB84B;
    font-size: 2rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.3s, color 0.3s;
    line-height: 1;
}
.pc-carousel-arrow:hover {
    background: #2DB84B;
    color: #fff;
}
.pc-carousel-indicator {
    text-align: center;
    margin-top: 20px;
    font-size: 1rem;
    color: #3D3D3D;
    font-weight: 600;
}
/* Lightbox prev/next arrows */
.pc-overlay .pc-lb-prev,
.pc-overlay .pc-lb-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: 2px solid #fff;
    color: #fff;
    font-size: 2rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
    z-index: 100000;
}
.pc-overlay .pc-lb-prev { left: 20px; }
.pc-overlay .pc-lb-next { right: 20px; }
.pc-overlay .pc-lb-prev:hover,
.pc-overlay .pc-lb-next:hover {
    background: rgba(255,255,255,0.2);
}
@media (max-width: 768px) {
    .pc-carousel-track {
        grid-template-columns: 1fr;
    }
    .pc-carousel-arrow {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
}

/* ========================================
   HERO RIBBON PROMO
   ======================================== */
.pc-hero-ribbon {
    display: inline-block;
    background: #FF0000;
    color: #FFFFFF;
    font-weight: 800;
    font-size: 18px;
    padding: 12px 28px;
    border-radius: 4px;
    text-decoration: none;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.3);
    transition: all 0.3s ease;
}
.pc-hero-ribbon:hover {
    background: #CC0000;
    color: #FFFFFF;
}

/* ========================================
   PROMO PAGE — GRIGLIA ADATTIVA
   ======================================== */
.pc-promo-grid {
    display: grid;
    gap: 30px;
    justify-items: center;
}
.pc-promo-grid--1 {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
}
.pc-promo-grid--2 {
    grid-template-columns: repeat(2, 1fr);
}
.pc-promo-grid--3 {
    grid-template-columns: repeat(3, 1fr);
}
.pc-promo-item {
    text-align: center;
}
.pc-promo-item img {
    width: 100%;
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    display: block;
}
.pc-btn-whatsapp {
    display: inline-block;
    margin-top: 15px;
    background: #25D366;
    color: #FFFFFF;
    font-weight: 700;
    padding: 12px 28px;
    border-radius: 4px;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.3s ease;
}
.pc-btn-whatsapp:hover {
    background: #1DA851;
    color: #FFFFFF;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .pc-promo-grid--2,
    .pc-promo-grid--3 {
        grid-template-columns: 1fr;
    }
}
