/* LIBRA SOLUTIONS - STILI PERSONALIZZATI */

/* Testo giustificato */
.giustifico {
    text-align: justify;
    line-height: 1.7;
}

/* Header personalizzati */
.page-headerc {
    background: linear-gradient(135deg, #2c5530, #4a7c59) !important;
}

.page-headert {
    background: linear-gradient(135deg, #4a7c59, #2c5530) !important;
}

.page-headern {
    background: linear-gradient(135deg, #2c5530, #6b8e23) !important;
}

/* Bottone speciale */
.btn-libra {
    background: linear-gradient(135deg, #2c5530, #6b8e23);
    color: white;
    border: none;
    border-radius: 25px;
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-libra:hover {
    background: linear-gradient(135deg, #6b8e23, #2c5530);
    transform: translateY(-2px);
    color: white;
}

/* Bottone compra online */
.compra {
    background: #28a745 !important;
    border-color: #28a745 !important;
    color: white !important;
}

.compra:hover {
    background: #218838 !important;
    border-color: #1e7e34 !important;
}

/* Card prodotti */
.product-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

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

/* QR Code centrato */
.qr-special {
    text-align: center;
    padding: 1rem;
}

.qr-special img {
    max-width: 200px;
    border-radius: 10px;
}

/* Stile per marchi partners */
.brand-card {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    height: 100%;
}

.brand-card:hover {
    transform: translateY(-5px);
    border-color: #2c5530;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.brand-card img {
    filter: grayscale(100%);
    transition: filter 0.3s ease;
    max-height: 60px;
    object-fit: contain;
}

.brand-card:hover img {
    filter: grayscale(0%);
}

/* Stili per i logo */
.navbar-brand img {
    transition: transform 0.3s ease;
}

.navbar-brand img:hover {
    transform: scale(1.05);
}

/* Logo per mobile */
@media (max-width: 768px) {
    .navbar-brand img {
        height: 40px !important;
    }
}

/* Hero Section con Sfondo Immagine - CORRETTO */
.hero-section {
    padding: 150px 0 100px 0;
    position: relative;
    color: white;
    /* RIMOSSO: margin-top: 56px - NON SERVE PIÙ */
}

/* Overlay per migliore leggibilità */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

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