/* Import shared styles */
@import url('index.css');

/* ============================================
   HERO
   ============================================ */
.product-hero {
    height: 70vh;
    position: relative;
    margin-top: 90px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(48, 126, 51, 0.8) 0%, rgba(0, 0, 0, 0.7) 100%);
}

.product-hero .hero-content {
    position: relative;
    z-index: 2;
    color: white;
    max-width: 900px;
    text-align: center;
    margin: 0 auto;
    padding: 0;
}

.product-hero h1 {
    font-size: 3.8rem;
    margin-bottom: 20px;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.product-hero h2 {
    font-size: 2.2rem;
    margin-bottom: 30px;
    font-weight: 400;
    color: #FCC110;
}

.product-hero p {
    font-size: 1.4rem;
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
}

/* ============================================
   PRODUCTS SECTION
   ============================================ */
.products-section {
    padding: 120px 0;
    position: relative;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.section-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.92);
}

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

.section-intro {
    max-width: 900px;
    margin: 0 auto 80px;
    text-align: center;
}

.section-intro .section-title {
    margin-bottom: 25px;
    color: #307E33;
    font-size: 2.8rem;
}

.section-intro p {
    font-size: 1.4rem;
    color: #555;
    line-height: 1.8;
}

/* Key figures */
.key-figures {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-bottom: 60px;
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.key-figure {
    text-align: center;
    min-width: 120px;
}

.figure-number {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    color: #307E33;
}

.figure-label {
    font-size: 0.95rem;
    color: #666;
}

/* Products grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 50px;
    margin-bottom: 60px;
}

.product-card {
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.5s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    border: 1px solid rgba(48, 126, 51, 0.1);
}

.product-card:hover {
    transform: translateY(-20px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
    border-color: #307E33;
}

.product-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #EF7D12, #FCC110);
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    z-index: 2;
    box-shadow: 0 4px 15px rgba(239, 125, 18, 0.3);
}

/* Product image with <img> tag */
.product-image {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.7s ease;
}

.product-card:hover .product-img {
    transform: scale(1.1);
}

/* Product content */
.product-content {
    padding: 35px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    border-bottom: 2px solid #f0f7f0;
    padding-bottom: 15px;
}

.product-content h3 {
    margin-bottom: 0;
    color: #307E33;
    font-size: 1.8rem;
    font-weight: 700;
}

.product-weight {
    background-color: #f0f7f0;
    color: #307E33;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 1.1rem;
}

/* Price message (replaces old price) */
.product-price-message {
    background: #f8faf8;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 30px;
    border-left: 4px solid #307E33;
}

.product-price-message p {
    margin: 5px 0;
    font-size: 1rem;
    color: #444;
}

.product-price-message i {
    color: #307E33;
    margin-right: 8px;
}

/* Old price hidden (kept for compatibility) */
.product-price {
    display: none;
}

/* Product details */
.product-details {
    margin-bottom: 30px;
    flex-grow: 1;
}

.detail-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px dashed #e8f4e8;
}

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

/* Detail icons (Font Awesome) */
.detail-icon {
    width: 40px;
    height: 40px;
    background: #f0f7f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
    color: #307E33;
    font-size: 1.1rem;
}

.detail-text {
    flex-grow: 1;
}

.detail-label {
    font-weight: 700;
    color: #307E33;
    font-size: 1rem;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detail-value {
    color: #666;
    line-height: 1.6;
    font-size: 1rem;
}

/* Product benefits */
.product-benefits {
    margin-bottom: 35px;
}

.product-benefits h4 {
    margin-bottom: 20px;
    color: #333;
    font-size: 1.3rem;
    border-left: 4px solid #FCC110;
    padding-left: 15px;
}

.product-benefits ul {
    list-style: none;
    padding-left: 0;
}

.product-benefits li {
    margin-bottom: 12px;
    padding-left: 30px;
    position: relative;
    color: #555;
    line-height: 1.6;
}

.product-benefits li i {
    position: absolute;
    left: 0;
    top: 4px;
    color: #307E33;
    font-size: 1.1rem;
}

/* Product button */
.btn-product {
    display: inline-block;
    padding: 16px 35px;
    background: linear-gradient(135deg, #307E33, #256528);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    text-align: center;
    transition: all 0.4s ease;
    border: none;
    align-self: center;
    width: 100%;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 8px 20px rgba(48, 126, 51, 0.2);
}

.btn-product:hover {
    background: linear-gradient(135deg, #256528, #1a4f1d);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(48, 126, 51, 0.3);
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    padding: 100px 0;
    position: relative;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.overlay-dark {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
}

.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h3 {
    font-size: 2.5rem;
    margin-bottom: 25px;
    color: white;
}

.cta-content p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
}

.cta-phone {
    margin-top: 30px;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.1);
    padding: 15px 30px;
    border-radius: 50px;
    backdrop-filter: blur(10px);
}

.cta-phone i {
    color: #FCC110;
    font-size: 1.3rem;
}

.cta-phone span {
    font-weight: 600;
    font-size: 1.2rem;
}

/* ============================================
   QUALITY SECTION
   ============================================ */
.quality-section {
    padding: 120px 0;
    position: relative;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.quality-section .section-title {
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.quality-section .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 70px;
}

.quality-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    margin-top: 40px;
}

.quality-item {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 50px 35px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.5s ease;
    position: relative;
    overflow: hidden;
}

.quality-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, #307E33, #FCC110);
}

.quality-item:hover {
    transform: translateY(-15px);
    background-color: white;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}

/* Quality icons (Font Awesome) */
.quality-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f0f7f0, #e0efe0);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2rem;
    color: #307E33;
    transition: transform 0.3s;
}

.quality-item:hover .quality-icon {
    transform: scale(1.1) rotate(-5deg);
}

.quality-item h3 {
    margin-bottom: 20px;
    color: #307E33;
    font-size: 1.5rem;
}

.quality-item p {
    color: #666;
    margin: 0;
    line-height: 1.7;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .product-hero h1 {
        font-size: 3.2rem;
    }
    
    .product-hero h2 {
        font-size: 1.9rem;
    }
    
    .section-intro .section-title {
        font-size: 2.5rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 768px) {
    .product-hero {
        height: 60vh;
        margin-top: 70px;
    }
    
    .product-hero h1 {
        font-size: 2.5rem;
    }
    
    .product-hero h2 {
        font-size: 1.6rem;
    }
    
    .products-section,
    .cta-section,
    .quality-section {
        padding: 80px 0;
    }
    
    .section-intro .section-title {
        font-size: 2.2rem;
    }
    
    .section-intro p {
        font-size: 1.2rem;
    }
    
    .quality-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .detail-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .detail-icon {
        margin-bottom: 10px;
        margin-right: 0;
    }
    
    .cta-content h3 {
        font-size: 2rem;
    }
    
    .cta-content p {
        font-size: 1.2rem;
    }
    
    .key-figures {
        gap: 15px;
        padding: 20px;
    }
    
    .figure-number {
        font-size: 1.8rem;
    }
}

@media (max-width: 576px) {
    .product-hero h1 {
        font-size: 2rem;
    }
    
    .product-hero h2 {
        font-size: 1.3rem;
    }
    
    .product-content {
        padding: 25px;
    }
    
    .product-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .product-weight {
        align-self: flex-start;
    }
    
    .cta-phone {
        flex-direction: column;
        gap: 10px;
        padding: 20px;
    }
    
    .key-figures {
        flex-direction: column;
        align-items: center;
    }
}