/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
    
    text-align: left;
}

/* Custom Colors */
:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --success-color: #198754;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #0dcaf0;
    --light-color: #f8f9fa;
    --dark-color: #212529;
}

/* Navigation */
.navbar {
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.navbar-brand {
    font-size: 1.5rem;
    color: var(--primary-color) !important;
}

.nav-link {
    font-weight: 500;
    color: var(--dark-color) !important;
    transition: color 0.3s ease;
    padding: 0.5rem 1rem !important;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color) !important;
}

/* Main Content */
.main-content {
    margin-top: 100px;
    padding: 3rem 0;
}

/* Product Gallery */
.product-gallery {
    position: relative;
}

.main-image-container {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.main-product-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.main-product-image:hover {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.accessory-img {
    height: 80px;
    object-fit: cover;
    transition: transform 0.2s ease;
    cursor: pointer;
}

.accessory-img:hover {
    transform: scale(1.1);
}

/* Product Details */
.product-details {
    padding: 1rem 0;
}

.product-header h1 {
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.product-header .lead {
    font-size: 1.1rem;
}

/* Price Section */
.price-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1.5rem;
    border-radius: 1rem;
    margin-bottom: 2rem;
}

.price-section .display-4 {
    color: white;
}

.price-section .text-success {
    color: #90EE90 !important;
}

/* Features */
.features-section {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.feature-item {
    padding: 0.5rem 0;
    transition: transform 0.2s ease;
}

.feature-item:hover {
    transform: translateX(-5px);
}

.feature-item i {
    font-size: 1.2rem;
}

/* Color Selection */
.color-selection {
    background: white;
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.btn-check:checked + .btn {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

/* Purchase Section */
.purchase-section {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.quantity-controls {
    max-width: 200px;
}

.quantity-controls button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.purchase-buttons .btn {
    border-radius: 0.75rem;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.purchase-buttons .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
}

.btn-warning {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    border: none;
    color: white;
}

/* Trust Badges */
.trust-badges {
    background: white;
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.trust-badges i {
    transition: transform 0.3s ease;
}

.trust-badges i:hover {
    transform: scale(1.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-content {
        margin-top: 80px;
        padding: 2rem 0;
    }
    
    .product-details {
        margin-top: 2rem;
    }
    
    .main-product-image {
        height: 300px;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    .features-section,
    .color-selection,
    .purchase-section,
    .trust-badges {
        margin-bottom: 1rem;
    }
}

@media (max-width: 576px) {
    .color-options {
        flex-direction: column;
    }
    
    .quantity-controls {
        justify-content: center;
    }
    
    .trust-badges .row > div {
        margin-bottom: 1rem;
    }
}

/* Animation Classes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* Hover Effects */
.shadow-hover {
    transition: box-shadow 0.3s ease;
}

.shadow-hover:hover {
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

/* Custom Badge */
.badge {
    font-size: 0.8rem;
    padding: 0.5rem 1rem;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}