:root {
    --primary-color: #101010;
    --secondary-color: #161616;
    --accent-color: #a3874b;
    --text-light: #ffffff;
    --text-dark: #0a0a0a;
    --gold: #a3874b;
    --gold-light: #b29453;
    --gold-dark: #8a703d;
    --green: #2d6a4f;
    --gray-light: #f5f5f5;
}

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

body {
    font-family: 'Montserrat', 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: #f9f9f9;
}

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

a {
    text-decoration: none;
    color: inherit;
}

/* Header */
.main-header {
    background-color: var(--primary-color);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo img {
    height: 80px;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.main-nav a {
    color: var(--text-light);
    font-weight: 500;
    transition: color 0.3s;
}

.main-nav a:hover {
    color: var(--gold);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.cart-link {
    position: relative;
    color: var(--text-light);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--gold);
    color: var(--text-light);
    font-size: 12px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.account-link, .logout-link {
    color: var(--text-light);
    font-size: 14px;
}

.user-menu {
    display: flex;
    gap: 15px;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 24px;
    cursor: pointer;
}

.mobile-nav {
    display: none;
    background: var(--primary-color);
    padding: 20px;
}

.mobile-nav ul {
    list-style: none;
}

.mobile-nav a {
    color: var(--text-light);
    display: block;
    padding: 10px 0;
}

/* Hero Video Fullscreen */
.hero-video-fullscreen {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
}

.hero-video-fullscreen .video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-video-fullscreen .video-container iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
    border: none;
}

.hero-video-fullscreen .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(16, 16, 16, 0.5);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-video-fullscreen .hero-content {
    text-align: center;
    color: var(--text-light);
    z-index: 3;
}

.hero-video-fullscreen .hero-content h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.slide-content .tagline {
    font-size: 1.5rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.slider-prev, .slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.2);
    color: white;
    border: none;
    padding: 15px 20px;
    font-size: 24px;
    cursor: pointer;
    z-index: 20;
    transition: background 0.3s;
}

.slider-prev:hover, .slider-next:hover {
    background: var(--gold);
}

.slider-prev {
    left: 20px;
}

.slider-next {
    right: 20px;
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 20;
}

.slider-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: background 0.3s;
}

.slider-dots .dot.active {
    background: var(--gold);
}

/* Hero Video Section */
.hero-video {
    background: var(--primary-color);
    padding: 60px 0;
    text-align: center;
}

.hero-video h2 {
    color: var(--text-light);
    margin-bottom: 30px;
}

.video-wrapper {
    max-width: 800px;
    margin: 0 auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Category Banners */
.category-banners {
    background: white;
    padding: 60px 0;
}

.banner-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.banner-card {
    position: relative;
    height: 300px;
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
}

.banner-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(16,16,16,0.8), transparent);
}

.banner-content {
    position: relative;
    padding: 30px;
    color: var(--text-light);
    z-index: 10;
}

.banner-content h3 {
    color: var(--text-light);
    text-align: left;
    font-size: 1.8rem;
    margin-bottom: 5px;
}

.banner-content p {
    font-size: 1rem;
    opacity: 0.9;
}

/* Newsletter Section */
.newsletter-section {
    background: linear-gradient(135deg, var(--green), #1a4d3e);
    padding: 80px 0;
    text-align: center;
}

.newsletter-content h2 {
    color: var(--text-light);
    margin-bottom: 15px;
}

.newsletter-content p {
    color: rgba(255,255,255,0.9);
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.newsletter-form {
    display: flex;
    gap: 15px;
    justify-content: center;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    border-radius: 30px;
    font-size: 1rem;
}

.newsletter-form .btn-primary {
    background: var(--gold);
}

.newsletter-form .btn-primary:hover {
    background: #8a703d;
}

/* Hero Section (fallback) */
.hero {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-light);
    padding: 80px 20px;
    text-align: center;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.tagline {
    font-size: 1.5rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-categories {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

.category-btn {
    background: var(--gold);
    color: var(--text-light);
    padding: 15px 30px;
    border-radius: 30px;
    font-weight: 600;
    transition: transform 0.3s, background 0.3s;
}

.category-btn:hover {
    transform: translateY(-3px);
    background: #8a703d;
}

/* Sections */
section {
    padding: 60px 0;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary-color);
}

h3 {
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 20px;
    color: var(--primary-color);
}

/* About Section */
.about-section {
    background: white;
    text-align: center;
}

.about-text {
    max-width: 800px;
    margin: 0 auto 20px;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Subscribe Section */
.subscribe-section {
    background: var(--primary-color);
    color: var(--text-light);
    text-align: center;
}

.subscribe-section h3 {
    color: var(--text-light);
}

/* Promise Section */
.promise-section {
    background: #f0f4f8;
    text-align: center;
}

.promise-section p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Buttons */
.btn-primary, .btn-secondary, .btn-add-cart {
    display: inline-block;
    padding: 15px 40px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: var(--gold);
    color: var(--text-light);
}

.btn-primary:hover {
    background: #8a703d;
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--text-light);
    color: var(--text-light);
}

.btn-secondary:hover {
    background: var(--text-light);
    color: var(--primary-color);
}

.btn-add-cart {
    background: var(--primary-color);
    color: var(--text-light);
    margin-top: 10px;
    width: 100%;
}

.btn-add-cart:hover {
    background: var(--secondary-color);
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.product-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
}

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

.product-card h3 {
    font-size: 1.1rem;
    margin: 15px;
    color: var(--text-dark);
}

.product-card .category {
    text-align: center;
    color: var(--green);
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.product-card .price {
    text-align: center;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.product-card a {
    display: block;
}

/* Shop Page */
.shop-header {
    background: var(--primary-color);
    color: var(--text-light);
    padding: 40px 0;
    text-align: center;
}

.shop-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 25px;
    border: 2px solid var(--primary-color);
    background: white;
    color: var(--primary-color);
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s;
}

.filter-btn:hover, .filter-btn.active {
    background: var(--primary-color);
    color: var(--text-light);
}

/* Product Detail */
.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    padding: 60px 0;
}

.product-detail-image img {
    width: 100%;
    border-radius: 10px;
}

.product-detail-info h1 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.product-detail-info .category {
    color: var(--green);
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.product-detail-info .price {
    font-size: 2rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.product-detail-info .description {
    margin-bottom: 30px;
    line-height: 1.8;
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.quantity-selector input {
    width: 60px;
    padding: 10px;
    text-align: center;
    font-size: 1.1rem;
    border: 2px solid var(--primary-color);
    border-radius: 5px;
}

.btn-add-to-cart {
    background: var(--gold);
    color: var(--text-light);
    padding: 15px 50px;
    border: none;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-add-to-cart:hover {
    background: #8a703d;
}

/* Cart Page */
.cart-page {
    padding: 60px 0;
}

.cart-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 10px;
    overflow: hidden;
}

.cart-table th, .cart-table td {
    padding: 20px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.cart-table th {
    background: var(--primary-color);
    color: var(--text-light);
}

.cart-table img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 5px;
}

.cart-summary {
    margin-top: 40px;
    background: white;
    padding: 30px;
    border-radius: 10px;
    text-align: right;
}

.cart-summary h3 {
    text-align: right;
    margin-bottom: 20px;
}

.cart-total {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
}

.btn-checkout {
    background: var(--gold);
    color: var(--text-light);
    padding: 15px 50px;
    border: none;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 20px;
    display: inline-block;
}

/* Wholesale Page */
.wholesale-page {
    padding: 60px 0;
}

.wholesale-content {
    max-width: 800px;
    margin: 0 auto;
}

.wholesale-content h2 {
    text-align: left;
    margin-bottom: 20px;
}

.wholesale-content p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.wholesale-products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.wholesale-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.wholesale-card .price {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--green);
}

/* Shipping Page */
.shipping-page {
    padding: 60px 0;
}

.shipping-content {
    max-width: 800px;
    margin: 0 auto;
}

.shipping-content h2 {
    text-align: left;
    margin-bottom: 20px;
}

.shipping-content ul {
    margin-left: 20px;
    line-height: 2;
}

/* Contact Page */
.contact-page {
    padding: 60px 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-form {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

.btn-submit {
    background: var(--primary-color);
    color: var(--text-light);
    padding: 15px 40px;
    border: none;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-submit:hover {
    background: var(--secondary-color);
}

.contact-info {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.contact-info h3 {
    text-align: left;
    margin-bottom: 20px;
}

.contact-info p {
    margin-bottom: 15px;
}

/* Login/Register */
.auth-page {
    padding: 60px 0;
    display: flex;
    justify-content: center;
}

.auth-form {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 400px;
}

.auth-form h2 {
    text-align: center;
    margin-bottom: 30px;
}

.tabs {
    display: flex;
    margin-bottom: 30px;
}

.tab {
    flex: 1;
    padding: 10px;
    text-align: center;
    cursor: pointer;
    border-bottom: 2px solid #ddd;
}

.tab.active {
    border-bottom-color: var(--primary-color);
    color: var(--primary-color);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Footer */
.main-footer {
    background: var(--primary-color);
    color: var(--text-light);
    padding: 60px 0 20px;
    margin-top: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo img {
    height: 60px;
    margin-bottom: 15px;
}

.footer-links h4, .footer-social h4 {
    margin-bottom: 20px;
    color: var(--gold);
}

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

.footer-links a {
    display: block;
    padding: 5px 0;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--gold);
}

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

.social-icon {
    padding: 10px 20px;
    background: var(--secondary-color);
    border-radius: 5px;
    transition: background 0.3s;
}

.social-icon:hover {
    background: var(--gold);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Notifications */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: var(--green);
    color: white;
    padding: 15px 25px;
    border-radius: 5px;
    z-index: 2000;
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .main-nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .mobile-nav.active {
        display: block;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-categories {
        flex-direction: column;
    }
    
    .product-detail {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .cart-table {
        font-size: 14px;
    }
    
    .cart-table th, .cart-table td {
        padding: 10px;
    }
    
    .hero-video-fullscreen {
        height: 60vh;
        min-height: 400px;
    }
    
    .hero-video-fullscreen .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-video-fullscreen .tagline {
        font-size: 1rem;
    }
    
    .video-wrapper iframe {
        height: 250px;
    }
    
    .banner-grid {
        grid-template-columns: 1fr;
    }
    
    .banner-card {
        height: 200px;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input {
        width: 100%;
    }
}
