/* ============================================
   SERVICES PAGE - COMPLETE STYLES
   ============================================ */

/* ============================================
   PAGE HERO
   ============================================ */
.services-hero {
    position: relative;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    padding: 120px 0 60px;
    overflow: hidden;
}

.services-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/pattern.png') center/cover no-repeat;
    opacity: 0.05;
    z-index: 0;
}

.services-hero-content {
    position: relative;
    z-index: 1;
}

.services-hero-badge {
    display: inline-block;
    background: rgba(40, 167, 69, 0.2);
    color: #5dcf78;
    padding: 8px 24px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
    border: 1px solid rgba(40, 167, 69, 0.2);
}

.services-hero-title {
    font-size: 3.2rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 20px;
}

.services-hero-title span {
    color: #5dcf78;
}

.services-hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ============================================
   PRODUCT SECTION
   ============================================ */
.product-section {
    padding: 80px 0 60px;
    background: #f8f9fa;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-badge {
    display: inline-block;
    background: #1a237e;
    color: #ffffff;
    padding: 6px 20px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a2332;
}

.section-title span {
    color: #28a745;
}

.section-subtitle {
    color: #6c7a8a;
    font-size: 1.05rem;
    max-width: 600px;
    margin: 10px auto 0;
}

/* ============================================
   PRODUCT ROW
   ============================================ */
.product-row {
    background: #ffffff;
    border-radius: 20px;
    padding: 40px 30px;
    margin-bottom: 40px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.product-row:hover {
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.08);
    transform: translateY(-3px);
}

/* ============================================
   SLIDESHOW CONTAINER
   ============================================ */
.product-slideshow-container {
    position: relative;
    padding: 20px;
    background: #fafbfc;
    border-radius: 16px;
    border: 1px solid #e9ecef;
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(135deg, #28a745, #20c997);
    color: #ffffff;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 10;
    box-shadow: 0 2px 10px rgba(40, 167, 69, 0.3);
}

.product-slideshow {
    position: relative;
    aspect-ratio: 1/1;
    overflow: hidden;
    border-radius: 12px;
    background: #ffffff;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.slide.active {
    opacity: 1;
}

.floating-bag {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
}

/* ============================================
   SLIDESHOW DOTS
   ============================================ */
.slideshow-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.6);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.dot.active {
    background: #28a745;
    border-color: #28a745;
    transform: scale(1.2);
}

.dot:hover {
    background: rgba(40, 167, 69, 0.5);
    border-color: #28a745;
}

/* ============================================
   SLIDESHOW ARROWS
   ============================================ */
.slideshow-prev,
.slideshow-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.8);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
    color: #1a2332;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.slideshow-prev {
    left: 10px;
}

.slideshow-next {
    right: 10px;
}

.slideshow-prev:hover,
.slideshow-next:hover {
    background: #28a745;
    color: #ffffff;
    transform: translateY(-50%) scale(1.1);
}

/* ============================================
   PRODUCT DESCRIPTION
   ============================================ */
.product-description {
    padding: 10px 5px;
}

.product-category {
    display: inline-block;
    background: rgba(40, 167, 69, 0.1);
    color: #28a745;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.product-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a2332;
    margin-bottom: 15px;
}

.product-description p {
    color: #4a5a6a;
    line-height: 1.8;
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.product-features {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
}

.product-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 0;
    color: #4a5a6a;
    font-size: 0.9rem;
}

.product-features li i {
    color: #28a745;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.product-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 30px;
    background: linear-gradient(135deg, #28a745, #20c997);
    color: #ffffff;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.product-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.3);
    color: #ffffff;
    gap: 15px;
}

.product-cta i {
    transition: transform 0.3s ease;
}

.product-cta:hover i {
    transform: translateX(5px);
}



/* ============================================
   SCROLL TO TOP BUTTON
   ============================================ */
#scrollTopBtn {
    display: none;
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #28a745;
    color: #ffffff;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
    align-items: center;
    justify-content: center;
}

#scrollTopBtn:hover {
    background: #1e7e34;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.4);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 991.98px) {
    .services-hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .product-row {
        padding: 30px 20px;
    }
    
    .product-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 767.98px) {
    .services-hero {
        min-height: 40vh;
        padding: 100px 0 40px;
    }
    
    .services-hero-title {
        font-size: 2rem;
    }
    
    .services-hero-subtitle {
        font-size: 0.95rem;
    }
    
    .section-title {
        font-size: 1.7rem;
    }
    
    .product-row {
        padding: 25px 15px;
        margin-bottom: 25px;
    }
    
    .product-title {
        font-size: 1.3rem;
        margin-top: 15px;
    }
    
    .product-description p {
        font-size: 0.9rem;
    }
    
    .product-features li {
        font-size: 0.85rem;
    }
    
    .slideshow-prev,
    .slideshow-next {
        width: 32px;
        height: 32px;
        font-size: 1.2rem;
    }
    
    .cta-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 575.98px) {
    .services-hero-title {
        font-size: 1.6rem;
    }
    
    .services-hero-badge {
        font-size: 0.65rem;
        padding: 6px 16px;
    }
    
    .section-title {
        font-size: 1.4rem;
    }
    
    .product-row {
        padding: 20px 12px;
    }
    
    .product-title {
        font-size: 1.1rem;
    }
    
    .product-features li {
        font-size: 0.8rem;
        padding: 4px 0;
    }
    
    .product-cta {
        padding: 10px 24px;
        font-size: 0.85rem;
    }
    
    .slideshow-dots .dot {
        width: 8px;
        height: 8px;
    }
    
    .cta-title {
        font-size: 1.5rem;
    }
    
    .cta-text {
        font-size: 0.9rem;
    }
    
    .cta-btn {
        padding: 12px 28px;
        font-size: 0.9rem;
    }
    
    #scrollTopBtn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        bottom: 20px;
        right: 20px;
    }
}

/* ============================================
   REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    .slide,
    .floating-bag,
    .product-row,
    .product-cta,
    .cta-btn,
    #scrollTopBtn {
        transition: none !important;
        animation: none !important;
        transform: none !important;
    }
    
    .floating-bag {
        animation: none !important;
    }
}

/* ============================================
   TOUCH DEVICES
   ============================================ */
@media (hover: none) and (pointer: coarse) {
    .product-row:hover {
        transform: none !important;
    }
    
    .product-cta:hover {
        transform: none !important;
    }
}