/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    padding-top: 70px;
}

/* Navigation */
.navbar {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
}

.nav-link {
    font-weight: 500;
}

.nav-link:hover {
    color: #ffc107 !important;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 100px 0;
    margin-top: -70px;
    padding-top: 170px;
}

.hero-image {
    max-height: 500px;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* Product Cards */
.product-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

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

.product-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    object-position: center;
}

.product-card .card-body {
    padding: 1.5rem;
}

.product-title {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.product-price {
    font-size: 1.25rem;
    font-weight: bold;
    color: #667eea;
}

.product-sale-price {
    font-size: 1rem;
    color: #dc3545;
    text-decoration: line-through;
    margin-right: 0.5rem;
}

/* Product Detail Page */
.main-image {
    width: 100%;
    height: 500px;
    object-fit: contain;
    object-position: center;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.thumbnail {
    width: 100px;
    height: 100px;
    object-fit: cover;
    cursor: pointer;
    border-radius: 5px;
    border: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.thumbnail:hover,
.thumbnail.active {
    border-color: #667eea;
}

.thumbnail-container {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    flex-wrap: wrap;
}

/* Cart Page */
.cart-item {
    border-bottom: 1px solid #dee2e6;
    padding: 20px 0;
}

.cart-item-image {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 5px;
}

.quantity-input {
    width: 80px;
    text-align: center;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    padding: 10px 25px;
    font-weight: 500;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.btn-outline-primary {
    border-color: #667eea;
    color: #667eea;
}

.btn-outline-primary:hover {
    background-color: #667eea;
    border-color: #667eea;
}

/* Footer */
footer {
    margin-top: 50px;
}

footer a {
    color: #adb5bd;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #ffc107;
}

footer ul {
    padding-left: 0;
}

footer ul li {
    margin-bottom: 0.5rem;
}

/* Form Styles */
.form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

/* Section Styles */
section {
    padding: 80px 0;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section {
        padding: 80px 0;
        padding-top: 150px;
    }
    
    .hero-image {
        max-height: 300px;
        margin-top: 30px;
    }
    
    .main-image {
        height: 350px;
    }
    
    .product-image {
        height: 250px;
    }
}

/* Policy Pages */
.policy-content {
    line-height: 1.8;
    font-size: 1.05rem;
}

.policy-content h2 {
    color: #667eea;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.policy-content h3 {
    color: #764ba2;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.policy-content ul {
    padding-left: 2rem;
}

.policy-content li {
    margin-bottom: 0.5rem;
}

/* Contact Page */
.contact-info-item {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    margin-bottom: 20px;
}

.contact-info-item h5 {
    color: #667eea;
    margin-bottom: 10px;
}

/* Badge */
.badge {
    font-size: 0.75rem;
}
