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

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

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

.nav-link.active {
    color: #fff !important;
}

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

.hero-image {
    max-height: 400px;
    object-fit: contain;
    border-radius: 10px;
}

/* Product Cards */
.product-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

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

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

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

/* Price Styles */
.sale-price {
    font-size: 1.5rem;
    font-weight: bold;
    color: #e74c3c;
    margin-right: 10px;
}

.original-price {
    font-size: 1.2rem;
    color: #999;
}

.price-section {
    margin: 15px 0;
}

/* Product Detail Page */
.main-product-image {
    max-height: 500px;
    object-fit: contain;
    width: 100%;
    border-radius: 10px;
}

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

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

.size-btn.active,
.color-btn.active {
    background-color: #667eea;
    color: white;
    border-color: #667eea;
}

/* About Page */
.about-image {
    max-height: 400px;
    object-fit: cover;
    width: 100%;
    border-radius: 10px;
}

.feature-icon {
    font-size: 3rem;
}

/* Contact Page */
.contact-info p {
    margin-bottom: 10px;
}

/* Policy Pages */
.policy-content {
    max-width: 800px;
    margin: 0 auto;
}

.policy-content h2 {
    margin-top: 30px;
    margin-bottom: 15px;
    color: #333;
}

.policy-content p {
    margin-bottom: 15px;
    line-height: 1.8;
}

.policy-content ul {
    margin-bottom: 15px;
    padding-left: 20px;
}

.policy-content li {
    margin-bottom: 10px;
    line-height: 1.8;
}

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

footer a:hover {
    color: #fff;
}

footer .list-unstyled li {
    margin-bottom: 10px;
}

/* Form Styles */
.form-control {
    border-radius: 5px;
}

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

.btn-primary:hover {
    background-color: #5568d3;
    border-color: #5568d3;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0;
    }
    
    .hero-image {
        max-height: 300px;
    }
    
    .product-image {
        height: 200px;
    }
    
    .main-product-image {
        max-height: 350px;
    }
    
    .thumbnail-img {
        width: 60px;
        height: 60px;
    }
}

/* Image handling - no repeat, proper sizing */
img {
    display: block;
    max-width: 100%;
    height: auto;
    object-fit: cover;
}

/* Ensure images don't repeat in backgrounds */
.hero-section,
section {
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

/* Cart specific styles */
#cart-items .card {
    border: 1px solid #ddd;
}

#cart-items .card-body {
    padding: 20px;
}

/* Button hover effects */
.btn {
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Section spacing */
section {
    padding: 60px 0;
}

/* Card hover effects */
.card {
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
