/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
}
a,a:hover{
    text-decoration: none;
}
/* Header Styles */
.header-section {
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-brand {
    font-size: 2rem !important;
    letter-spacing: -1px;
}

.search-container {
    max-width: 600px;
}

.search-input {
    border-radius: 25px;
    padding: 12px 50px 12px 20px;
    border: 1px solid #ddd;
    font-size: 14px;
}

.search-input:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,0.25);
}

.search-icon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    cursor: pointer;
}

.navbar-nav .nav-link {
    color: white !important;
    font-size: 1.2rem;
    padding: 0.5rem 1rem;
}

.navbar-nav .nav-link:hover {
    color: #ccc !important;
}

/* Hero Section */
.hero-banner{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-section {
    position: relative;
    background: linear-gradient(135deg, #8B4513 0%, #D2B48C 100%);
    min-height: 660px;
    overflow: hidden;
}

.hero-container {
    position: relative;
    height: 100%;
}

.hero-content {
    position: relative;
    height: 660px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-models {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    width: 100%;
    height: 100%;
    position: relative;
    padding: 2rem;
}

.model-item {
    position: relative;
    flex: 1;
    max-width: 300px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.model-image {
    width: 100%;
    height: 80%;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.model-center {
    position: relative;
    z-index: 2;
}

.hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
    z-index: 3;
}

.hero-text h1 {
    font-size: 3rem;
    line-height: 1.2;
    margin: 0;
}

/* Products Section */
.products-section {
    padding: 4rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 0.5rem;
    color: #333;
}

.section-subtitle {
    color: #666;
    font-size: 1rem;
    margin-bottom: 2rem;
}

/* Product Cards */
.product-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    border: 1px solid #f0f0f0;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.product-image-container {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

.wishlist-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255,255,255,0.9);
    border: none;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.wishlist-btn:hover {
    background: white;
    color: #e74c3c;
    transform: scale(1.1);
}

.product-info {
    padding: 1rem;
}

.product-brand {
    font-size: 0.75rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.product-name {
    font-size: 0.9rem;
    color: #333;
    margin-bottom: 0.5rem;
    line-height: 1.4;
    height: 2.8rem;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-price {
    font-size: 1rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 0.5rem;
}

.product-colors {
    display: flex;
    gap: 0.5rem;
}

.color-dot {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    border: 1px solid #ddd;
    cursor: pointer;
}

.color-dot:hover {
    transform: scale(1.2);
}

/* Product Buttons */
.product-buttons {
    display: flex;
    gap: 0.3rem;
    margin-top: 0.8rem;
}

.btn-more-colors,
.btn-selling-fast {
    padding: 4px 8px;
    border: 1px solid #ddd;
    font-size: 0.6rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.2px;
    cursor: pointer;
    transition: all 0.2s ease;
    border-radius: 0;
    flex: 1;
    text-align: center;
    background: #fff;
    color: #666;
}

.btn-more-colors:hover {
    background-color: #f5f5f5;
    color: #333;
}

.btn-selling-fast {
    background-color: #333;
    color: #fff;
    border-color: #333;
}

.btn-selling-fast:hover {
    background-color: #555;
    border-color: #555;
}

/* Load More Section */
.load-more-section {
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
}

.load-more-section p {
    color: #666;
    margin-bottom: 1rem;
}

.btn-outline-dark {
    padding: 12px 40px;
    font-weight: bold;
    letter-spacing: 1px;
    border-radius: 0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    min-width: 200px;
}

.btn-outline-dark:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.btn-outline-dark:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.btn-loading {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-loading .fa-spinner {
    font-size: 0.9rem;
}

.viewed-count {
    color: #666;
    font-size: 0.95rem;
}

/* Product Animation */
.product-item {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.3s ease;
}

.product-item.loading {
    opacity: 0;
    transform: translateY(20px);
}

.btn-outline-dark:hover {
    background: #333;
    border-color: #333;
    transform: translateY(-2px);
}

/* Footer Styles */
.footer-section {
    background: #333 !important;
}

.footer-title {
    font-size: 0.9rem;
    font-weight: bold;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.region-flags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.flag-item {
    font-size: 1.2rem;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.flag-item:hover {
    transform: scale(1.2);
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background: #555;
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: #007bff;
    color: white;
    transform: translateY(-2px);
}

.payment-methods {
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end;
}

.payment-icon {
    height: 25px;
    border-radius: 3px;
}

/* Responsive Design */
@media (max-width: 1400px) {
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 992px) {
    .hero-models {
        gap: 1rem;
        padding: 1rem;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .model-image {
        height: 70%;
    }
    
    .search-container {
        max-width: 400px;
    }
}

@media (max-width: 768px) {
    .navbar-brand {
        font-size: 1.5rem !important;
    }
    
    .search-container {
        max-width: 250px;
        margin: 0 1rem;
    }
    
    .search-input {
        font-size: 12px;
        padding: 10px 40px 10px 15px;
    }
    
    .hero-section {
        min-height: 50vh;
    }
    
    .hero-content {
        height: 50vh;
    }
    
    .hero-models {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }
    
    .model-item {
        max-width: 200px;
        height: auto;
    }
    
    .model-image {
        height: 250px;
        width: 200px;
    }
    
    .hero-text h1 {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .products-section {
        padding: 2rem 0;
    }
    
    .product-name {
        height: auto;
        -webkit-line-clamp: 3;
    }
    
    .footer-section .row > div {
        margin-bottom: 2rem;
    }
    
    .payment-methods {
        justify-content: center;
        margin-top: 1rem;
    }
    
    .social-icons {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .navbar {
        padding: 0.5rem 1rem;
    }
    
    .search-container {
        display: none;
    }
    
    .hero-text h1 {
        font-size: 1.2rem;
    }
    
    .model-image {
        height: 200px;
        width: 150px;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .product-info {
        padding: 0.75rem;
    }
    
    .product-name {
        font-size: 0.8rem;
    }
    
    .product-price {
        font-size: 0.9rem;
    }
}

/* Animation for smooth loading */
.product-card {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.product-card:nth-child(1) { animation-delay: 0.1s; }
.product-card:nth-child(2) { animation-delay: 0.2s; }
.product-card:nth-child(3) { animation-delay: 0.3s; }
.product-card:nth-child(4) { animation-delay: 0.4s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Utility Classes */
.text-shadow {
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.bg-gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* Fix for Bootstrap grid */
.row {
    margin-left: 0;
    margin-right: 0;
}

.col-lg-3,
.col-md-6,
.col-lg-3,
.col-md-6 {
    padding-left: 15px;
    padding-right: 15px;
}

/* Container fixes */
.container,
.container-fluid {
    max-width: 100%;
    padding-left: 15px;
    padding-right: 15px;
}
/* Secondary navigation fixes */
.navbar-light .navbar-nav .nav-link {
    color: #333 !important;
}

.navbar-light .navbar-nav .nav-link:hover {
    color: #007bff !important;
}

/* Hero section container fix */
.hero-models {
    max-width: 1400px;
    margin: 0 auto;
}

/* Product grid alignment */
.container {
    max-width: 1400px;
}

/* Footer alignment */
.footer-section .container {
    max-width: 1400px;
}

/* Ensure proper box-sizing */
*,
*::before,
*::after {
    box-sizing: border-box;
}

/* Fix for potential overflow issues */
html,
body {
    overflow-x: hidden;
    width: 100%;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
} 