/* Ultra Modern Product Slider - Click Village Premium Design */

:root {
    /* Premium Color Palette */
    --premium-gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --premium-gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --premium-gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --premium-gradient-4: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    --premium-gradient-5: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    
    /* Advanced Color System */
    --glass-white: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --dark-overlay: rgba(0, 0, 0, 0.7);
    --light-overlay: rgba(255, 255, 255, 0.9);
    --premium-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
    --glow-shadow: 0 0 40px rgba(102, 126, 234, 0.4);
    
    /* Typography */
    --font-primary: 'Inter', 'Segoe UI', 'Helvetica Neue', sans-serif;
    --font-secondary: 'Poppins', 'Inter', sans-serif;
}

/* Premium Products Section */
.products-section {
    padding: 150px 0;
    background: 
        linear-gradient(135deg, #1a1d29 0%, #2d3748 50%, #1a1d29 100%),
        radial-gradient(circle at 25% 25%, rgba(240, 147, 251, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(79, 172, 254, 0.15) 0%, transparent 50%);
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.products-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(120, 219, 255, 0.2) 0%, transparent 50%);
    opacity: 0.4;
    animation: aurora 20s ease-in-out infinite;
}

.products-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="stars" width="50" height="50" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="5" cy="5" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="45" cy="15" r="0.8" fill="rgba(255,255,255,0.08)"/></pattern></defs><rect width="100" height="100" fill="url(%23stars)"/></svg>');
    animation: twinkle 30s linear infinite;
}

/* Section Header removed - no margin needed */
.products-section .section-header {
    display: none;
}

.products-section .section-header h2 {
    font-family: var(--font-primary);
    font-size: 4rem;
    font-weight: 900;
    color: transparent;
    background: linear-gradient(135deg, #ffffff 0%, #f093fb 50%, #4facfe 100%);
    -webkit-background-clip: text;
    background-clip: text;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
    line-height: 1.1;
    text-shadow: 0 0 30px rgba(240, 147, 251, 0.5);
    animation: glow-text 3s ease-in-out infinite;
}

.products-section .section-header h2::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background: var(--premium-gradient-4);
    border-radius: 2px;
    box-shadow: 0 0 20px rgba(67, 233, 123, 0.6);
}

.products-section .section-header p {
    font-family: var(--font-secondary);
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Ultra Premium Slider Container */
.products-slider-wrapper {
    position: relative;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 120px;
    z-index: 10;
}

.products-slider-container {
    position: relative;
    background: transparent;
    backdrop-filter: none;
    border: none;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    overflow: visible;
}

.products-slider-container::before {
    display: none;
}

.products-track {
    display: flex;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    gap: 50px;
    padding: 0;
    position: relative;
    z-index: 2;
}

/* Premium Product Cards */
.product-slide {
    min-width: 380px;
    flex-shrink: 0;
}

.modern-product-card {
    background: var(--light-overlay);
    backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    height: 520px;
    display: flex;
    flex-direction: column;
}

.modern-product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(240, 147, 251, 0.05) 0%, 
        rgba(79, 172, 254, 0.05) 50%,
        rgba(67, 233, 123, 0.05) 100%);
    opacity: 0;
    transition: all 0.6s ease;
    z-index: 1;
}

.modern-product-card::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--premium-gradient-3);
    border-radius: 30px;
    opacity: 0;
    transition: opacity 0.6s ease;
    z-index: -1;
}

.modern-product-card:hover::before {
    opacity: 1;
}

.modern-product-card:hover::after {
    opacity: 1;
}

.modern-product-card:hover {
    transform: translateY(-25px) scale(1.05);
    box-shadow: 
        0 40px 80px rgba(0, 0, 0, 0.25),
        0 0 0 1px rgba(255, 255, 255, 0.2),
        var(--glow-shadow);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Premium Image Container */
.product-image-container {
    position: relative;
    height: 300px;
    overflow: hidden;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    cursor: pointer;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
    filter: contrast(1.1) saturate(1.1);
}

.modern-product-card:hover .product-image {
    transform: scale(1.15) rotate(3deg);
    filter: contrast(1.2) saturate(1.3) brightness(1.1);
}

/* Premium Overlay Effects - Simplified */
.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(102, 126, 234, 0.95) 0%, 
        rgba(118, 75, 162, 0.95) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 100;
}

.product-image-container:hover .product-overlay {
    opacity: 1;
}

.overlay-btn {
    background: #fff !important;
    color: #e74c3c !important;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    z-index: 200;
    position: relative;
    font-family: var(--font-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 2px solid #e74c3c;
}

.overlay-btn span {
    color: #e74c3c !important;
    font-weight: 700;
}

.overlay-btn i {
    color: #e74c3c !important;
}

.overlay-btn:hover,
.overlay-btn:focus {
    text-decoration: none !important;
    color: #fff !important;
    background: #e74c3c !important;
    border-color: #e74c3c;
    box-shadow: 0 15px 40px rgba(231, 76, 60, 0.4);
}

.overlay-btn:hover span,
.overlay-btn:focus span {
    color: #fff !important;
}

.overlay-btn:hover i,
.overlay-btn:focus i {
    color: #fff !important;
}

.overlay-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.3), transparent);
    transition: left 0.6s ease;
}

.overlay-btn:hover::before {
    left: 100%;
}

.overlay-btn:hover {
    background: #fff;
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Premium Price Tag */
.price-tag {
    position: absolute;
    top: 25px;
    right: 25px;
    background: var(--premium-gradient-2);
    color: white;
    padding: 12px 20px;
    border-radius: 25px;
    font-weight: 800;
    font-size: 18px;
    font-family: var(--font-primary);
    box-shadow: 
        0 8px 25px rgba(240, 147, 251, 0.4),
        0 0 20px rgba(245, 87, 108, 0.3);
    transform: rotate(-8deg);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: 10;
}

.modern-product-card:hover .price-tag {
    transform: rotate(0deg) scale(1.1);
    box-shadow: 
        0 15px 35px rgba(240, 147, 251, 0.5),
        0 0 30px rgba(245, 87, 108, 0.4);
}

/* Premium Product Content */
.product-content {
    padding: 35px 30px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.product-title {
    font-family: var(--font-primary);
    font-size: 26px;
    font-weight: 800;
    color: #1a1d29;
    margin-bottom: 12px;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.product-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.product-title a:hover {
    color: #667eea;
}

.product-farm {
    color: #667eea;
    font-family: var(--font-secondary);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 18px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-farm a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.product-farm a:hover {
    color: #4facfe;
}

.product-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--font-primary);
    font-size: 15px;
    font-weight: 600;
}

.status-available {
    color: #43e97b;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(67, 233, 123, 0.1);
    border-radius: 20px;
    border: 1px solid rgba(67, 233, 123, 0.3);
}

.status-unavailable {
    color: #f5576c;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(245, 87, 108, 0.1);
    border-radius: 20px;
    border: 1px solid rgba(245, 87, 108, 0.3);
}

/* Navigation buttons hidden */
.slider-nav {
    display: none;
}

/* Premium Slider Dots - More Visible */
.slider-dots {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 60px;
}

.slider-dots button {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.slider-dots button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--premium-gradient-3);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.slider-dots button.active {
    background: #fff;
    border-color: #fff;
    transform: scale(1.4);
    box-shadow: 
        0 0 25px rgba(255, 255, 255, 0.8),
        0 6px 20px rgba(0, 0, 0, 0.4);
}

.slider-dots button.active::before {
    opacity: 1;
    background: var(--premium-gradient-2);
}

.slider-dots button:hover {
    transform: scale(1.3);
    border-color: #fff;
    background: rgba(255, 255, 255, 0.7);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.6);
}

/* Premium View All Button */
.view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 22px 45px;
    background: var(--glass-white);
    backdrop-filter: blur(40px);
    color: white;
    text-decoration: none;
    border: 2px solid var(--glass-border);
    border-radius: 50px;
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 
        var(--premium-shadow),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    z-index: 10;
}

.view-all-btn::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--premium-gradient-4);
    border-radius: 52px;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: -1;
}

.view-all-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.8s ease;
}

.view-all-btn:hover::before {
    opacity: 1;
}

.view-all-btn:hover::after {
    left: 100%;
}

.view-all-btn:hover {
    text-decoration: none;
    color: white;
    transform: translateY(-8px) scale(1.05);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.4),
        0 0 0 10px rgba(67, 233, 123, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        var(--glow-shadow);
    background: rgba(255, 255, 255, 0.15);
}

.view-all-btn i {
    width: 24px;
    height: 24px;
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.view-all-btn:hover i {
    transform: translateX(10px) rotate(360deg);
}

/* Ensure hover works */
.product-image-container {
    position: relative;
}

.product-image-container:hover .product-overlay {
    opacity: 1 !important;
}

/* Premium Animations */
@keyframes aurora {
    0%, 100% {
        transform: rotate(0deg) scale(1);
    }
    33% {
        transform: rotate(120deg) scale(1.1);
    }
    66% {
        transform: rotate(240deg) scale(0.9);
    }
}

@keyframes twinkle {
    0% { 
        transform: translate(0, 0) rotate(0deg);
        opacity: 0.3;
    }
    50% { 
        opacity: 0.8;
    }
    100% { 
        transform: translate(-20px, -20px) rotate(360deg);
        opacity: 0.3;
    }
}

@keyframes glow-text {
    0%, 100% {
        text-shadow: 
            0 0 30px rgba(240, 147, 251, 0.5),
            0 0 60px rgba(79, 172, 254, 0.3);
    }
    50% {
        text-shadow: 
            0 0 40px rgba(240, 147, 251, 0.8),
            0 0 80px rgba(79, 172, 254, 0.5);
    }
}

@keyframes rotate-gradient {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes rotate-border {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Premium Responsive Design */
@media (max-width: 1400px) {
    .products-slider-wrapper {
        padding: 0 80px;
    }
    
    .product-slide {
        min-width: 360px;
    }
}

@media (max-width: 1200px) {
    .products-slider-wrapper {
        padding: 0 60px;
    }
    
    .product-slide {
        min-width: 340px;
    }
    
    .modern-product-card {
        height: 480px;
    }
    
    .product-image-container {
        height: 260px;
    }
}

@media (max-width: 992px) {
    .products-section {
        padding: 100px 0;
    }
    
    .products-section .section-header h2 {
        font-size: 3rem;
    }
    
    .products-slider-wrapper {
        padding: 0 40px;
    }
    
    .product-slide {
        min-width: 320px;
    }
    
    /* Navigation buttons hidden */
}

@media (max-width: 768px) {
    .products-section .section-header h2 {
        font-size: 2.5rem;
    }
    
    .products-slider-wrapper {
        padding: 0 30px;
    }
    
    .products-slider-container {
        padding: 0;
    }
    
    .product-slide {
        min-width: 300px;
    }
    
    .modern-product-card {
        height: 450px;
    }
    
    .product-image-container {
        height: 240px;
    }
    
    .product-content {
        padding: 25px 20px;
    }
    
    .product-title {
        font-size: 22px;
    }
    
    .price-tag {
        padding: 10px 16px;
        font-size: 16px;
        top: 15px;
        right: 15px;
    }
    
    .overlay-btn {
        padding: 15px 25px;
        font-size: 14px;
    }
    
    .slider-dots button {
        width: 18px;
        height: 18px;
        border-width: 2px;
    }
    
    .slider-dots button::before {
        width: 8px;
        height: 8px;
    }
    
    /* Navigation buttons hidden */
}

@media (max-width: 576px) {
    .products-section {
        padding: 80px 0;
    }
    
    .products-section .section-header h2 {
        font-size: 2rem;
    }
    
    .products-section .section-header p {
        font-size: 1.2rem;
    }
    
    .products-slider-wrapper {
        padding: 0 20px;
    }
    
    .products-slider-container {
        padding: 0;
        border-radius: 0;
    }
    
    .product-slide {
        min-width: 280px;
    }
    
    .modern-product-card {
        height: 420px;
    }
    
    .product-image-container {
        height: 220px;
    }
    
    .view-all-btn {
        padding: 18px 35px;
        font-size: 16px;
    }
}