 /* ================================
   PRODUCT SECTION - COMPLETE RESPONSIVE CSS
   With Carousel Layout (Image Left + Carousel Right + Table Bottom)
   ================================ */

/* Product Section */
.product-section {
    max-width: 1400px;
    margin: 60px auto;
    padding: 0 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
    animation: fadeIn 0.8s ease-out;
}

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

.section-title {
    font-size: 2.5rem;
    color: #2d5016;
    font-weight: 700;
    margin-bottom: 0.5rem;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #4a7c23, #a3d977, #4a7c23);
    border-radius: 2px;
    animation: expandWidth 1s ease-out;
}

@keyframes expandWidth {
    from {
        width: 0;
    }
    to {
        width: 80px;
    }
}

/* ================================
   PRODUCT CARD - LAYOUT
   ================================ */

.product-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
    margin-bottom: 60px;
    animation: fadeInUp 0.8s ease-out;
}

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

/* ================================
   TOP SECTION: Product Image (Left) + Carousel (Right)
   ================================ */

.product-top {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 0;
}

/* Left Side - Product Image */
.product-image-section {
    background: #8FBC8F;
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.product-main-image {
    width: 100%;
    max-width: 280px;
    height: 280px;
    object-fit: contain;
    background: #f5f5f5;
    padding: 10px;
    border-radius: 10px;
    animation: zoomIn 0.8s ease-out;
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.product-name {
    font-size: 2rem;
    font-weight: 700;
    color: #FFFFFF;
    text-align: center;
    margin-top: 20px;
}

.product-name-2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #FFFFFF;
    text-align: center;
    margin-top: 8px;
}

/* Right Side - Image Carousel */
.carousel-section {
    position: relative;
    overflow: hidden;
    min-height: 400px;
    background: #f5f5f5;
}

.carousel-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Carousel Caption */
.carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
    color: white;
    padding: 30px;
    text-align: center;
}

.carousel-caption h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.carousel-caption p {
    font-size: 1rem;
}

/* Carousel Controls */
.carousel-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    transform: translateY(-50%);
    z-index: 10;
}

.carousel-btn {
    background: rgba(255, 255, 255, 0.3);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    transition: all 0.3s;
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    background: rgba(255, 255, 255, 0.6);
    transform: scale(1.1);
}

/* Carousel Indicators */
.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.indicator.active {
    background: white;
    transform: scale(1.3);
}

/* Gradient Carousel Slides (for text-only slides) */
.carousel-slide1 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.carousel-slide2 {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.carousel-slide3 {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.carousel-slide4 {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.carousel-text {
    color: white;
    text-align: center;
    padding: 30px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.carousel-text h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.carousel-text p {
    font-size: 1.1rem;
    line-height: 1.8;
}

/* ================================
   BOTTOM SECTION - TABLE
   ================================ */

.product-table-section {
    padding: 0;
}

.info-table {
    width: 100%;
    border-collapse: collapse;
    background: #f9f9f9;
}

.info-table thead {
    background: linear-gradient(135deg, #4a7c23 0%, #2d5016 100%);
    color: white;
}

.info-table th {
    padding: 15px;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 700;
    border: 1px solid #ddd;
}

.info-table td {
    padding: 15px 20px;
    text-align: center;
    font-size: 1rem;
    border: 1px solid #ddd;
    line-height: 1.6;
}

.info-table td:first-child {
    font-weight: 600;
    color: #2d5016;
}

.info-table tbody tr {
    transition: background 0.3s;
}

.info-table tbody tr:hover {
    background: #e8f5e9;
}

.info-table tbody tr:nth-child(even) {
    background: #f5f5f5;
}

.info-table tbody tr:nth-child(even):hover {
    background: #e8f5e9;
}

/* ================================
   RESPONSIVE BREAKPOINTS
   ================================ */

/* Large Tablets and below (1024px) */
@media (max-width: 1024px) {
    .product-top {
        grid-template-columns: 1fr;
    }

    .carousel-section {
        min-height: 350px;
    }

    .product-name {
        font-size: 1.8rem;
    }

    .product-name-2 {
        font-size: 1.3rem;
    }
}

/* Tablets (768px) */
@media (max-width: 768px) {
    .product-section {
        margin: 40px auto;
        padding: 0 15px;
    }

    .section-header {
        margin-bottom: 30px;
    }

    .section-title {
        font-size: 2rem;
    }

    .product-card {
        margin-bottom: 40px;
        border-radius: 15px;
    }

    .product-image-section {
        padding: 30px;
    }

    .product-main-image {
        max-width: 220px;
        height: 220px;
    }

    .product-name {
        font-size: 1.5rem;
    }

    .product-name-2 {
        font-size: 1.1rem;
    }

    .carousel-section {
        min-height: 300px;
    }

    .carousel-text h3 {
        font-size: 1.3rem;
    }

    .carousel-text p {
        font-size: 0.95rem;
    }

    .carousel-caption h3 {
        font-size: 1.2rem;
    }

    .carousel-caption p {
        font-size: 0.9rem;
    }

    .info-table {
        font-size: 0.9rem;
    }

    .info-table th,
    .info-table td {
        padding: 10px 8px;
        font-size: 0.85rem;
    }

    .carousel-btn {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }

    .carousel-controls {
        padding: 0 10px;
    }
}

/* Mobile (480px and below) */
@media (max-width: 480px) {
    .product-section {
        margin: 30px auto;
        padding: 0 10px;
    }

    .section-title {
        font-size: 1.6rem;
        padding-bottom: 10px;
    }

    .section-title::after {
        width: 60px;
        height: 3px;
    }

    .product-card {
        margin-bottom: 30px;
        border-radius: 12px;
    }

    .product-image-section {
        padding: 20px;
    }

    .product-main-image {
        max-width: 180px;
        height: 180px;
    }

    .product-name {
        font-size: 1.3rem;
        margin-top: 15px;
    }

    .product-name-2 {
        font-size: 0.95rem;
        margin-top: 5px;
    }

    .carousel-section {
        min-height: 280px;
    }

    .carousel-text {
        padding: 20px;
    }

    .carousel-text h3 {
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
    }

    .carousel-text p {
        font-size: 0.85rem;
        line-height: 1.5;
    }

    .carousel-caption {
        padding: 20px 15px;
    }

    .carousel-caption h3 {
        font-size: 1rem;
        margin-bottom: 0.3rem;
    }

    .carousel-caption p {
        font-size: 0.8rem;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .carousel-controls {
        padding: 0 5px;
    }

    .carousel-indicators {
        bottom: 15px;
        gap: 8px;
    }

    .indicator {
        width: 10px;
        height: 10px;
    }

    .indicator.active {
        transform: scale(1.2);
    }

    .info-table th,
    .info-table td {
        padding: 8px 6px;
        font-size: 0.75rem;
    }

    .info-table th {
        font-size: 0.8rem;
    }
}

/* Extra Small Mobile (360px and below) */
@media (max-width: 360px) {
    .section-title {
        font-size: 1.4rem;
    }

    .product-main-image {
        max-width: 150px;
        height: 150px;
    }

    .product-name {
        font-size: 1.1rem;
    }

    .product-name-2 {
        font-size: 0.85rem;
    }

    .carousel-section {
        min-height: 250px;
    }

    .carousel-text h3 {
        font-size: 1rem;
    }

    .carousel-text p {
        font-size: 0.8rem;
    }

    .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    .info-table th,
    .info-table td {
        padding: 6px 4px;
        font-size: 0.7rem;
    }
}

/* Landscape Orientation */
@media (max-height: 600px) and (orientation: landscape) {
    .carousel-section {
        min-height: 320px;
    }

    .product-image-section {
        padding: 30px 20px;
    }

    .product-main-image {
        max-width: 200px;
        height: 200px;
    }

    .product-name {
        font-size: 1.4rem;
        margin-top: 10px;
    }

    .product-name-2 {
        font-size: 1rem;
    }
}

/* Print Styles */
@media print {
    .product-section {
        page-break-inside: avoid;
    }

    .product-card {
        page-break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }

    .carousel-controls,
    .carousel-indicators {
        display: none;
    }

    .carousel-slide:not(.active) {
        display: none;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .product-card {
        border: 2px solid #4a7c23;
    }

    .section-title::after {
        height: 5px;
    }

    .carousel-btn {
        border: 2px solid white;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .product-card,
    .carousel-slide,
    .carousel-btn,
    .indicator,
    .info-table tbody tr {
        animation: none !important;
        transition: none !important;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .product-card {
        background: #2d2d2d;
    }

    .section-title {
        color: #a3d977;
    }

    .carousel-section {
        background: #1f1f1f;
    }

    .info-table {
        background: #2d2d2d;
    }

    .info-table tbody tr:nth-child(even) {
        background: #3a3a3a;
    }

    .info-table tbody tr:hover {
        background: #4a5a3a;
    }
}
        
  