/* 
   KRRICE MILL Products Page Styles
   Professional Design for Rice Products Display
*/

/* ===== Hero Section ===== */
.products-hero {
    height: 80vh;
    min-height: 600px;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.3) 100%), 
                url('../images/products/hero-products.jpg') no-repeat center center/cover;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    padding: 120px 0;
    margin-top: 70px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.02) 100%);
    z-index: 1;
    opacity: 0.1;
}

.products-hero .container {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

.hero-content {
    max-width: 800px;
    padding: 0;
    animation: fadeInUp 1s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
    transform: translateY(20px);
    opacity: 0;
    animation-delay: 0.3s;
    text-align: left;
}

.hero-content h1 {
    font-size: 4.5rem;
    font-weight: 800;
    margin: 0 0 1.5rem;
    line-height: 1.15;
    color: #ffffff;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.5px;
    position: relative;
    display: inline-block;
    padding-bottom: 1rem;
}

.hero-content h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: #ffc107;
    border-radius: 2px;
}

.hero-content p {
    font-size: 2.1rem;
    margin: 0 auto 3rem 0;
    font-weight: 400;
    max-width: 700px;
    line-height: 1.6;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
    opacity: 1;
    padding: 10px 15px;
    background-color: rgba(0, 0, 0, 0.2);
    border-left: 4px solid #ffc107;
    border-radius: 0 5px 5px 0;
}

.hero-breadcrumb {
    font-size: 1.1rem;
    margin-top: 3rem;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 400;
    display: flex;
    align-items: center;
}

.hero-breadcrumb a {
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding: 0 5px;
}

.hero-breadcrumb a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: #ffc107;
    transition: width 0.3s ease;
}

.hero-breadcrumb a:hover::after {
    width: 100%;
}

.hero-breadcrumb span {
    color: #ffc107;
    font-weight: 500;
    margin: 0 5px;
}

.hero-breadcrumb .separator {
    margin: 0 10px;
    color: rgba(255, 255, 255, 0.7);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-top: 2rem;
}

.hero-btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #ffc107;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1rem;
    border: 2px solid #ffc107;
}

.hero-btn:hover {
    background-color: transparent;
    color: #ffc107;
}

.hero-btn.outline {
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.hero-btn.outline:hover {
    background-color: #fff;
    color: #333;
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Product Grid Styling */
.products-section {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.8rem;
    color: #333;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 3px;
    background: #ffc107;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.section-title p {
    color: #666;
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.product-filters {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 15px;
}

.filter-btn {
    background: #fff;
    border: 1px solid #e0e0e0;
    color: #555;
    padding: 10px 25px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.filter-btn:hover, .filter-btn.active {
    background: #ffc107;
    color: #333;
    border-color: #ffc107;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.product-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.product-img {
    position: relative;
    overflow: hidden;
    height: 250px;
}

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

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

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #ffc107;
    color: #333;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 1;
}

.product-info {
    padding: 25px;
}

.product-category {
    display: inline-block;
    color: #777;
    font-size: 0.9rem;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-title {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #333;
    font-weight: 600;
}

.product-description {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
    font-size: 1rem;
}

.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

.product-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: #333;
}

.product-price span {
    text-decoration: line-through;
    color: #999;
    font-size: 1rem;
    margin-left: 8px;
    font-weight: 400;
}

/* Quality Assurance Section */
.quality-section {
    padding: 100px 0;
    background-color: #f9f9f9;
    position: relative;
}

.section-title.text-center {
    text-align: center;
    margin-bottom: 30px;
}

.title-separator {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0 40px;
}

.title-separator span {
    width: 80px;
    height: 4px;
    background: #ffc107;
    border-radius: 2px;
    display: inline-block;
}

.title-separator.light span {
    background: #ffffff;
}

.quality-intro {
    max-width: 800px;
    margin: 0 auto 60px;
    text-align: center;
    font-size: 1.2rem;
    line-height: 1.8;
    color: #555;
}

.quality-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.quality-feature {
    background: #fff;
    border-radius: 10px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.quality-feature:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 193, 7, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.feature-icon i {
    font-size: 2.5rem;
    color: #ffc107;
}

.feature-text h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #333;
    font-weight: 600;
}

.feature-text p {
    color: #666;
    line-height: 1.7;
    font-size: 1rem;
}

.quality-cta {
    text-align: center;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('../images/products/rice-field-cta.jpg') no-repeat center center/cover;
    color: #fff;
    text-align: center;
    position: relative;
}

.cta-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.1) 100%);
    z-index: 1;
}

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

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.cta-content p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    line-height: 1.8;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.cta-btn {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 5px;
    font-weight: 600;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.cta-btn.primary {
    background: #ffc107;
    color: #333;
    border: 2px solid #ffc107;
}

.cta-btn.primary:hover {
    background: transparent;
    color: #ffc107;
}

.cta-btn.secondary {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.cta-btn.secondary:hover {
    background: #fff;
    color: #333;
}

/* Responsive styles for Quality and CTA sections */
@media (max-width: 992px) {
    .quality-features {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .cta-content h2 {
        font-size: 2.5rem;
    }
    
    .cta-content p {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .quality-section,
    .cta-section {
        padding: 80px 0;
    }
    
    .quality-features {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-content p {
        font-size: 1.1rem;
        margin-bottom: 30px;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 15px;
        max-width: 250px;
        margin: 0 auto;
    }
}

.btn-primary {
    display: inline-block;
    padding: 12px 25px;
    background: #ffc107;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: #e0a800;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .hero-content h1 {
        font-size: 4rem;
    }
    
    .hero-content p {
        font-size: 1.6rem;
    }
}

@media (max-width: 992px) {
    .products-hero {
        height: 70vh;
        min-height: 500px;
    }
    
    .hero-content h1 {
        font-size: 3.5rem;
        margin-bottom: 1.2rem;
    }
    
    .hero-content p {
        font-size: 1.4rem;
        margin-bottom: 2.5rem;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .products-hero {
        height: 60vh;
        min-height: 400px;
        padding: 100px 20px 60px;
        text-align: center;
    }
    
    .products-hero .container {
        justify-content: center;
    }
    
    .hero-content {
        padding: 0 15px;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-content h1 {
        font-size: 2.8rem;
        margin-bottom: 1rem;
        text-align: center;
    }
    
    .hero-content h1::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .hero-content p {
        font-size: 1.2rem;
        margin-bottom: 2rem;
        text-align: center;
    }
    
    .hero-breadcrumb {
        font-size: 1rem;
        margin-top: 2rem;
        justify-content: center;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        max-width: 250px;
        align-items: center;
    }
    
    .hero-btn {
        width: 100%;
        text-align: center;
        padding: 12px 15px;
        font-size: 0.9rem;
    }
    
    /* Products Section */
    .products-section {
        padding: 60px 0 40px;
    }
    
    .section-title {
        margin-bottom: 40px;
    }
    
    .section-title h2 {
        font-size: 2.2rem;
        margin-bottom: 15px;
    }
    
    .section-title p {
        font-size: 1rem;
        padding: 0 15px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .product-card {
        max-width: 100%;
    }
    
    .product-img {
        height: 250px;
    }
    
    .product-img img {
        height: 100%;
        object-fit: cover;
    }
    
    .product-badge {
        padding: 5px 12px;
        font-size: 0.8rem;
    }
    
    .product-info {
        padding: 20px 15px;
    }
    
    .product-category {
        font-size: 0.85rem;
        margin-bottom: 8px;
    }
    
    .product-title {
        font-size: 1.4rem;
        margin-bottom: 12px;
    }
    
    .product-description {
        font-size: 0.95rem;
        margin-bottom: 15px;
        line-height: 1.6;
    }
    
    .product-features {
        margin-bottom: 15px;
    }
    
    .product-features li {
        font-size: 0.9rem;
        margin-bottom: 8px;
    }
    
    .product-features li i {
        font-size: 0.9rem;
        margin-right: 8px;
    }
    
    /* Quality Section */
    .quality-section,
    .cta-section {
        padding: 60px 0 40px;
    }
    
    .quality-features {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .quality-feature {
        padding: 20px 15px;
    }
    
    .quality-feature-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 15px;
    }
    
    .quality-feature-icon i {
        font-size: 1.8rem;
    }
    
    .quality-feature h3 {
        font-size: 1.3rem;
        margin-bottom: 10px;
    }
    
    .quality-feature p {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    /* CTA Section */
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-content p {
        font-size: 1rem;
        margin-bottom: 25px;
        padding: 0 15px;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 15px;
        max-width: 250px;
        margin: 0 auto;
    }
}

@media (max-width: 576px) {
    .products-hero {
        height: 50vh;
        min-height: 320px;
        padding: 80px 15px 40px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
        margin-bottom: 10px;
    }
    
    .hero-content h1::after {
        width: 60px;
        height: 3px;
    }
    
    .hero-content p {
        font-size: 1rem;
        line-height: 1.5;
        margin-bottom: 1.5rem;
    }
    
    .hero-breadcrumb {
        font-size: 0.85rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero-buttons {
        max-width: 220px;
    }
    
    .hero-btn {
        padding: 10px 15px;
        font-size: 0.85rem;
    }
    
    /* Products Section */
    .products-section {
        padding: 50px 0 30px;
    }
    
    .section-title {
        margin-bottom: 30px;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
        margin-bottom: 10px;
    }
    
    .section-title p {
        font-size: 0.9rem;
        padding: 0 10px;
    }
    
    .products-grid {
        gap: 20px;
    }
    
    .product-img {
        height: 200px;
    }
    
    .product-badge {
        padding: 4px 10px;
        font-size: 0.75rem;
        top: 10px;
        right: 10px;
    }
    
    .product-info {
        padding: 15px 12px;
    }
    
    .product-category {
        font-size: 0.8rem;
        margin-bottom: 6px;
    }
    
    .product-title {
        font-size: 1.3rem;
        margin-bottom: 10px;
    }
    
    .product-description {
        font-size: 0.85rem;
        margin-bottom: 12px;
        line-height: 1.5;
    }
    
    .product-features li {
        font-size: 0.85rem;
        margin-bottom: 6px;
    }
    
    .product-features li i {
        font-size: 0.85rem;
        margin-right: 6px;
    }
    
    /* Quality Section */
    .quality-section,
    .cta-section {
        padding: 50px 0 30px;
    }
    
    .quality-features {
        gap: 20px;
    }
    
    .quality-feature {
        padding: 15px 12px;
    }
    
    .quality-feature-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 12px;
    }
    
    .quality-feature-icon i {
        font-size: 1.5rem;
    }
    
    .quality-feature h3 {
        font-size: 1.2rem;
        margin-bottom: 8px;
    }
    
    .quality-feature p {
        font-size: 0.85rem;
        line-height: 1.5;
    }
    
    /* CTA Section */
    .cta-content h2 {
        font-size: 1.7rem;
        margin-bottom: 10px;
    }
    
    .cta-content p {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }
    
    .cta-buttons {
        max-width: 220px;
    }
    
    .cta-btn {
        padding: 10px 15px;
        font-size: 0.85rem;
    }
}

.hero-buttons .btn {
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.hero-buttons .btn-primary {
    background-color: #ffd700;
    color: #000;
    border: 2px solid #ffd700;
}

.hero-buttons .btn-primary:hover {
    background-color: transparent;
    color: #ffd700;
}

.hero-buttons .btn-secondary {
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.hero-buttons .btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Styles */
@media (max-width: 992px) {
    .products-hero {
        padding: 150px 0 100px;
    }
    
    .products-hero h1 {
        font-size: 2.8rem;
    }
    
    .products-hero p {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .products-hero {
        padding: 120px 0 80px;
    }
    
    .products-hero h1 {
        font-size: 2.2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .hero-buttons .btn {
        width: 80%;
        max-width: 250px;
    }
}

@media (max-width: 480px) {
    .products-hero h1 {
        font-size: 1.8rem;
    }
    
    .products-hero p {
        font-size: 1rem;
    }
}

/* ===== Product Section Styles ===== */
.product-section {
    padding: 60px 0;
    border-bottom: 1px solid #eee;
}

.product-section:last-child {
    border-bottom: none;
}

.product-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.product-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.product-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.product-image:hover img {
    transform: scale(1.03);
}

.product-details {
    flex: 1;
    padding: 20px;
}

.product-details h2 {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 15px;
}

.product-details h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background-color: var(--secondary-color);
}

.product-details p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 25px;
}

/* ===== Product Features ===== */
.product-features {
    margin: 30px 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background-color: #f0f8f0;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.feature-item i {
    color: var(--primary-color);
    font-size: 1.5rem;
}

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

/* ===== Product Specifications ===== */
.product-details h3 {
    font-size: 1.8rem;
    margin: 30px 0 20px;
    color: #333;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    overflow: hidden;
}

.specs-table tr:nth-child(odd) {
    background-color: #f9f9f9;
}

.specs-table tr:nth-child(even) {
    background-color: #fff;
}

.specs-table tr:hover {
    background-color: #f0f8f0;
}

.specs-table td {
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
}

.specs-table tr:last-child td {
    border-bottom: none;
}

.specs-table td:first-child {
    font-weight: 600;
    color: #444;
    width: 40%;
}

.specs-table td:last-child {
    color: #666;
}

/* ===== CTA Button ===== */
.cta-button {
    display: inline-block;
    padding: 14px 35px;
    background-color: var(--primary-color);
    color: white;
    font-weight: 600;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    margin-top: 20px;
    box-shadow: 0 5px 15px rgba(30, 123, 30, 0.2);
}

.cta-button:hover {
    background-color: #156415;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(30, 123, 30, 0.3);
}

/* ===== Responsive Styles ===== */
@media (min-width: 992px) {
    .product-container {
        flex-direction: row;
        align-items: center;
    }

    .product-image {
        max-width: 45%;
        height: auto;
    }
    
    .product-image img {
        width: 100%;
        height: auto;
        max-width: 100%;
        max-height: none;
        /* This ensures the image displays at its full size on desktop */
    }

    .product-details {
        padding: 0 0 0 40px;
        max-width: 55%;
    }

    /* Alternate layout for even sections */
    .product-section:nth-child(even) .product-container {
        flex-direction: row-reverse;
    }

    .product-section:nth-child(even) .product-details {
        padding: 0 40px 0 0;
    }
}

/* ===== Smooth Animations ===== */
/* Fade in up animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Fade in left animation */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Fade in right animation */
@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Scale in animation */
@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Apply animations with smooth transitions */
.product-section {
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.product-section.visible {
    opacity: 1;
}

.product-section.visible .product-image {
    animation: fadeInUp 0.8s ease-out forwards;
}

.product-section.visible .product-details {
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
}

/* Feature items animation */
.product-features .feature-item {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-features.visible .feature-item {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger animation for feature items */
.product-features.visible .feature-item:nth-child(1) { transition-delay: 0.1s; }
.product-features.visible .feature-item:nth-child(2) { transition-delay: 0.2s; }
.product-features.visible .feature-item:nth-child(3) { transition-delay: 0.3s; }
.product-features.visible .feature-item:nth-child(4) { transition-delay: 0.4s; }

/* Hover effects */
.product-image {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-image:hover {
    transform: translateY(-5px);
}

/* Button hover effect */
.cta-button {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Banner animation */
.products-banner {
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.2s forwards;
}
