/* Products Page Styles */

/* Products Hero Section */
.products-hero {
    background: linear-gradient(135deg, #1E3A8A 0%, #3B82F6 50%, #FFD700 100%);
    min-height: 100vh;
    position: relative;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(30, 58, 138, 0.7);
    z-index: 1;
}

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

.hero-badge {
    display: inline-block;
    background: rgba(255, 215, 0, 0.2);
    color: #FFD700;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid rgba(255, 215, 0, 0.3);
    backdrop-filter: blur(10px);
}

.hero-title {
    font-size: 25px;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    color: white;
}

.hero-subtitle {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255,255,255,0.9);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

/* Hero Stats */
.hero-stats {
    margin: 30px 0;
}

.stat-item {
    text-align: center;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 215, 0, 0.2);
}

.stat-number {
    font-size: 16px;
    font-weight: 700;
    color: #FFD700;
    margin-bottom: 5px;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.stat-label {
    font-size: 12px;
    color: rgba(255,255,255,0.8);
    margin: 0;
}

/* Hero Buttons */
.hero-buttons .btn {
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.hero-buttons .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

/* Hero Visual - Floating Icons */
.hero-visual {
    height: 500px;
}

.floating-icon {
    position: absolute;
    width: 80px;
    height: 80px;
    background: rgba(255, 215, 0, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 215, 0, 0.3);
    animation: float 3s ease-in-out infinite;
    transition: all 0.3s ease;
    cursor: pointer;
}

.floating-icon:hover {
    transform: scale(1.1);
    background: rgba(255, 215, 0, 0.4);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
}

.floating-icon i {
    font-size: 32px;
    color: #FFD700;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
}

/* Floating Icon Positions */
.product-icon-1 {
    top: 10%;
    left: 20%;
    animation-delay: 0s;
}

.product-icon-2 {
    top: 30%;
    right: 10%;
    animation-delay: 0.5s;
}

.product-icon-3 {
    top: 50%;
    left: 10%;
    animation-delay: 1s;
}

.product-icon-4 {
    top: 70%;
    right: 20%;
    animation-delay: 1.5s;
}

.product-icon-5 {
    top: 20%;
    left: 50%;
    animation-delay: 2s;
}

.product-icon-6 {
    top: 80%;
    left: 40%;
    animation-delay: 2.5s;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.scroll-arrow {
    width: 40px;
    height: 40px;
    border: 2px solid rgba(255, 215, 0, 0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: bounce 2s infinite;
    cursor: pointer;
    transition: all 0.3s ease;
}

.scroll-arrow:hover {
    background: rgba(255, 215, 0, 0.2);
    transform: scale(1.1);
}

.scroll-arrow i {
    color: #FFD700;
    font-size: 16px;
}

/* Category Cards */
.category-card {
    background: white;
    border-radius: 20px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.2), transparent);
    transition: left 0.5s ease;
}

.category-card:hover::before {
    left: 100%;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.category-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #FFD700, #FCD34D);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}

.category-icon i {
    font-size: 32px;
    color: #1E3A8A;
}

.category-card:hover .category-icon {
    transform: scale(1.1) rotate(10deg);
}

/* Modern Product Cards */
.product-card-modern {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
    position: relative;
}

.product-card-modern:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

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

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

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

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(30, 58, 138, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

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

.product-info {
    padding: 20px;
}

.product-features {
    margin-top: 15px;
}

.product-features .badge {
    margin-right: 5px;
    margin-bottom: 5px;
}

/* Glass Product Cards */
.product-card-glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    position: relative;
}

.product-card-glass:hover {
    transform: translateY(-10px) rotateX(5deg);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

/* 3D Product Cards */
.product-card-3d {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.product-card-3d:hover {
    transform: rotateY(5deg) rotateX(5deg) translateZ(20px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.2);
}

/* Accessory Cards */
.accessory-card {
    text-align: center;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 5px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.accessory-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.accessory-image {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
}

.accessory-image img {
    max-height: 100%;
    max-width: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.accessory-image:hover img {
    transform: scale(1.1);
}

/* Product Modal */
.product-modal-content {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    max-height: 90vh;
}

.modal-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    padding: 40px 30px 30px;
}

.modal-info {
    color: white;
}

/* Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Parallax Effect */
.parallax-element {
    transition: transform 0.1s ease-out;
}

/* 3D Transform Effects */
.hero-content {
    transform-style: preserve-3d;
    transition: transform 0.3s ease;
}

.hero-content:hover {
    transform: perspective(1000px) rotateX(2deg) rotateY(-2deg);
}

/* Loading Spinner */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 215, 0, 0.3);
    border-radius: 50%;
    border-top-color: #FFD700;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 22px;
    }
    
    .hero-subtitle {
        font-size: 13px;
    }
    
    .stat-number {
        font-size: 14px;
    }
    
    .stat-label {
        font-size: 11px;
    }
    
    .floating-icon {
        width: 60px;
        height: 60px;
    }
    
    .floating-icon i {
        font-size: 24px;
    }
    
    .hero-visual {
        height: 350px;
        margin-top: 30px;
    }
    
    .hero-buttons .btn {
        width: 100%;
        margin-bottom: 10px;
    }
    
    .product-image-wrapper {
        height: 200px;
    }
    
    .category-icon {
        width: 60px;
        height: 60px;
    }
    
    .category-icon i {
        font-size: 24px;
    }
}

@media (max-width: 576px) {
    .hero-stats .col-4 {
        margin-bottom: 15px;
    }
    
    .stat-item {
        padding: 10px;
    }
    
    .floating-icon {
        width: 50px;
        height: 50px;
    }
    
    .floating-icon i {
        font-size: 20px;
    }
    
    .accessory-image {
        height: 100px;
    }
}