/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #1f2937;
    background-color: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Top Strip */
.top-strip {
    background: linear-gradient(135deg, #8B4513 0%, #D2B48C 100%);
    color: white;
    padding: 8px 0;
    font-size: 14px;
    text-align: center;
}

/* Header */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 40px;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.header.scrolled {
    top: 0;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 20px;
    color: #8B4513;
    text-decoration: none;
}

.logo-icon {
    transition: transform 0.3s ease;
}

.logo:hover .logo-icon {
    transform: scale(1.1);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-menu a {
    text-decoration: none;
    color: #4b5563;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: #8B4513;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #8B4513;
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.signin-btn {
    background: #8B4513;
    color: white !important;
    padding: 10px 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.signin-btn:hover {
    background: #654321;
    transform: translateY(-1px);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 24px;
    height: 3px;
    background: #4b5563;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(139, 69, 19, 0.8) 0%, rgba(210, 180, 140, 0.6) 100%);
    z-index: -1;
}

.hero-content {
    color: white;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    z-index: 1;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.2;
    animation: fadeInUp 1s ease-out;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    opacity: 0.95;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.search-box {
    display: flex;
    max-width: 500px;
    margin: 0 auto 32px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    padding: 4px;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.search-box input {
    flex: 1;
    border: none;
    padding: 16px 20px;
    border-radius: 8px;
    font-size: 16px;
    outline: none;
    color: #1f2937;
}

.search-btn {
    background: #8B4513;
    border: none;
    padding: 16px;
    border-radius: 8px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-btn:hover {
    background: #654321;
    transform: scale(1.05);
}

.cta-btn {
    background: #DC2626;
    color: white;
    border: none;
    padding: 18px 36px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.cta-btn:hover {
    background: #B91C1C;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.3);
}

/* Trust Indicators */
.trust-indicators {
    background: #f8fafc;
    padding: 60px 0;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 16px;
    background: white;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.trust-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.trust-icon {
    font-size: 2rem;
    filter: grayscale(0);
}

.trust-item span {
    font-weight: 600;
    color: #374151;
}

/* Category Bar */
.category-bar {
    padding: 80px 0;
    background: white;
}

.category-slider {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    padding: 20px 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.category-slider::-webkit-scrollbar {
    display: none;
}

.category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    min-width: 120px;
    padding: 24px 16px;
    background: #f8fafc;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.category-item:hover,
.category-item.active {
    background: #8B4513;
    color: white;
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(139, 69, 19, 0.2);
}

.category-icon {
    padding: 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.category-item:hover .category-icon,
.category-item.active .category-icon {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.category-item span {
    font-weight: 600;
    font-size: 14px;
    text-align: center;
}

/* Featured Products */
.featured-products {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 16px;
}

.section-header p {
    font-size: 1.1rem;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.product-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
}

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

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

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

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #DC2626;
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.product-badge.new {
    background: #059669;
}

.product-info {
    padding: 24px;
}

.product-info h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: #1f2937;
}

.price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #8B4513;
    margin-bottom: 12px;
}

.stats {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 14px;
    color: #6b7280;
}

.sales {
    font-weight: 500;
}

.rating {
    font-weight: 600;
    color: #F59E0B;
}

/* Special Deals */
.special-deals {
    padding: 100px 0;
    background: white;
}

.deals-header {
    text-align: center;
    margin-bottom: 60px;
}

.deals-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 16px;
}

.deals-header p {
    font-size: 1.1rem;
    color: #6b7280;
}

.deals-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 24px;
    margin-bottom: 40px;
}

.deal-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
}

.deal-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.deal-card.featured {
    grid-row: span 2;
}

.deal-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.deal-card.featured .deal-image {
    height: 300px;
}

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

.deal-card:hover .deal-image img {
    transform: scale(1.05);
}

.deal-content {
    padding: 24px;
}

.deal-badge {
    display: inline-block;
    background: #059669;
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 12px;
}

.deal-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #1f2937;
}

.deal-card.featured .deal-content h3 {
    font-size: 1.75rem;
}

.deal-content p {
    color: #6b7280;
    margin-bottom: 16px;
    font-size: 14px;
}

.deal-price {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 20px;
}

.original-price {
    text-decoration: line-through;
    color: #9ca3af;
    font-size: 14px;
}

.deal-price-now {
    font-size: 1.75rem;
    font-weight: 700;
    color: #DC2626;
}

.deal-price-small {
    font-size: 1.25rem;
    font-weight: 700;
    color: #8B4513;
    margin-bottom: 8px;
}

.deal-stats {
    display: flex;
    gap: 12px;
    font-size: 12px;
    color: #6b7280;
    margin-bottom: 16px;
}

.deal-btn {
    background: #8B4513;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.deal-btn:hover {
    background: #654321;
    transform: translateY(-1px);
}

.view-all-btn-wrapper {
    text-align: center;
}

.view-all-btn {
    background: transparent;
    color: #8B4513;
    border: 2px solid #8B4513;
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.view-all-btn:hover {
    background: #8B4513;
    color: white;
    transform: translateY(-2px);
}

/* Why Choose Us */
.why-choose {
    padding: 100px 0;
    background: #1f2937;
    color: white;
}

.why-choose h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 60px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.feature-item {
    text-align: center;
    padding: 40px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-4px);
}

.feature-icon {
    margin-bottom: 24px;
    color: #D2B48C;
}

.feature-item h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.feature-item p {
    color: #d1d5db;
    line-height: 1.7;
}

/* Footer */
.footer {
    background: #111827;
    color: white;
    padding: 80px 0 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 24px;
    color: #f9fafb;
}

.footer-desc {
    color: #d1d5db;
    line-height: 1.7;
    margin-bottom: 24px;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #8B4513;
    transform: translateY(-2px);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

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

.footer-links a:hover {
    color: #D2B48C;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #d1d5db;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 40px;
    border-top: 1px solid #374151;
    color: #9ca3af;
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: #D2B48C;
}

/* Mobile Menu */
.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu {
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 100%;
    background: white;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.mobile-overlay.active .mobile-menu {
    transform: translateX(0);
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #e5e7eb;
}

.mobile-menu-header span {
    font-weight: 600;
    font-size: 1.1rem;
}

.close-btn {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #6b7280;
}

.mobile-nav {
    padding: 20px;
}

.mobile-nav a {
    display: block;
    padding: 16px 0;
    text-decoration: none;
    color: #4b5563;
    font-weight: 500;
    border-bottom: 1px solid #f3f4f6;
    transition: color 0.3s ease;
}

.mobile-nav a:hover {
    color: #8B4513;
}

.mobile-nav .signin-btn {
    background: #8B4513;
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    margin-top: 16px;
    text-align: center;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .deals-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .deal-card.featured {
        grid-column: span 2;
        grid-row: span 1;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .search-box {
        max-width: 100%;
    }

    .trust-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .trust-item {
        padding: 16px;
        text-align: center;
        flex-direction: column;
        gap: 8px;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .deals-grid {
        grid-template-columns: 1fr;
    }

    .deal-card.featured {
        grid-column: span 1;
        grid-row: span 1;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .why-choose h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .trust-grid {
        grid-template-columns: 1fr;
    }

    .category-slider {
        gap: 16px;
    }

    .category-item {
        min-width: 100px;
        padding: 16px 12px;
    }
}

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

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

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