/* 1. Striscia banner sotto il video header */
.banner-full-width {
    width: 100%;
    display: block;
    margin: 0;
    padding: 0;
    overflow: hidden;
    position: relative;
}

.full-width-banner {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* 2. Sezione pellet - CSS migliorato */
.section-pellet {
    padding: 8rem 0;
    background: linear-gradient(135deg, #f0f7e6, #e8f0dd);
    position: relative;
    overflow: hidden;
}

.section-pellet::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%2388b744' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    z-index: 0;
}

/* Miglioriamo la sezione header */
.section-header {
    text-align: center;
    margin-bottom: 5rem;
    position: relative;
    z-index: 1;
}

.section-header h2 {
    font-size: 3.2rem;
    color: var(--dark-green);
    margin-bottom: 1rem;
}

.section-header h3 {
    font-size: 2.2rem;
    color: var(--medium-green);
    margin-bottom: 1.5rem;
}

.section-header p {
    font-size: 1.6rem;
    max-width: 700px;
    margin: 0 auto;
    color: #555;
}

/* Contenitore delle card migliorato */
.pellet-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

/* Card migliorata */
.pellet-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.pellet-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 35px rgba(0, 0, 0, 0.12);
}

/* Badge migliorato */
.pellet-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--accent-color, #88b744);
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Immagine con bordi arrotondati */
.pellet-image {
    height: 240px;
    overflow: hidden;
    position: relative;
}

.pellet-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    border-radius: 20px 20px 0 0;
}

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

/* Contenuto migliorato */
.pellet-content {
    padding: 2.5rem;
    text-align: left;
}

.pellet-content h4 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--dark-green, #2c5e1a);
    position: relative;
    padding-bottom: 0.8rem;
}

.pellet-content h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--accent-color, #88b744);
    border-radius: 3px;
}

.pellet-content p {
    margin-bottom: 2rem;
    color: #555;
    line-height: 1.7;
}

/* Features migliorato */
.pellet-features {
    margin: 2.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.pellet-feature {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.pellet-feature svg {
    color: var(--accent-color, #88b744);
    min-width: 24px;
}

.pellet-feature span {
    font-size: 1rem;
    color: #444;
}

/* Bottone migliorato */
.btn-primary {
    display: inline-block;
    background: var(--accent-color, #88b744);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(136, 183, 68, 0.2);
}

.btn-primary:hover {
    background: var(--dark-green, #2c5e1a);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(136, 183, 68, 0.25);
}

/* Responsive design */
@media screen and (max-width: 768px) {
    .pellet-container {
        grid-template-columns: 1fr;
    }
    
    .section-header {
        margin-bottom: 3rem;
    }
    
    .section-header h2 {
        font-size: 2.5rem;
    }
    
    .section-header h3 {
        font-size: 1.8rem;
    }
}

/* 3. Banda prodotti cani e gatti */
.pet-products-section {
    padding: 8rem 0;
    background-image: url('img/pet-bg.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    color: var(--white);
}

.overlay-pet {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(2, 58, 21, 0.9), rgba(5, 11, 14, 0.85));
    z-index: 0;
}

.pet-products-section .section-header {
    position: relative;
    z-index: 1;
}

.pet-products-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

.pet-products-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.pet-products-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.2);
}

.pet-image {
    height: 200px;
    overflow: hidden;
}

.pet-image img {
    width: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.pet-products-card:hover .pet-image img {
    transform: scale(1.05);
}

.pet-content {
    padding: 2.5rem;
    text-align: center;
}

.pet-content h4 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.pet-content p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
}

/* 4. Banda concimi e piantine */
.garden-section {
    padding: 8rem 0;
    background: linear-gradient(135deg, #f7faf2, #edf5e1);
    position: relative;
}

.garden-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4' viewBox='0 0 4 4'%3E%3Cpath fill='%2388b744' fill-opacity='0.08' d='M1 3h1v1H1V3zm2-2h1v1H3V1z'%3E%3C/path%3E%3C/svg%3E");
    z-index: 0;
}

.garden-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

.garden-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

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

.garden-image {
    height: 200px;
    overflow: hidden;
}

.garden-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.garden-content {
    padding: 2.5rem;
}

.garden-content h4 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--dark-green);
}

.garden-content p {
    margin-bottom: 2rem;
    color: #555;
}

.garden-link {
    color: var(--primary-color);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    transition: var(--transition);
}

.garden-link:hover {
    color: var(--dark-green);
    gap: 1.2rem;
}

/* Media queries per responsive design */
@media (max-width: 992px) {
    .pellet-container,
    .pet-products-container,
    .garden-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .pellet-container,
    .pet-products-container,
    .garden-container {
        grid-template-columns: 1fr;
    }
    
    .pellet-card,
    .pet-products-card,
    .garden-card {
        max-width: 450px;
        margin: 0 auto;
    }
}