/* --- Global Resets & Typography --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: #121212;
    color: #ffffff;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.2s ease;
}

a:hover {
    opacity: 0.8;
}

/* --- Navigation Bar --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 80px;
    background-color: #121212;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 48px;
}

.logo {
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}

.nav-links {
    display: flex;
    gap: 32px;
    font-size: 0.95rem;
    font-weight: 500;
}

.nav-links a.active {
    border-bottom: 2px solid #ffffff;
    padding-bottom: 4px;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 40px;
}

.social-icons {
    display: flex;
    gap: 20px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.user-actions {
    display: flex;
    align-items: center;
    gap: 24px;
    font-size: 0.95rem;
}

.cart-icon {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cart-count {
    font-weight: 600;
}

.admin-link {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

/* --- Hero Layout --- */
.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: calc(100vh - 75px);
}

/* Left Content Area */
.hero-content {
    background-color: #181818;
    padding: 80px 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.sub-headline {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 40px;
}

.main-headline {
    font-family: "Playfair Display", Georgia, serif; /* Substituted luxury serif */
    font-size: 3.5rem;
    font-weight: 400;
    line-height: 1.25;
    margin-bottom: 40px;
    max-width: 500px;
}

.description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 48px;
    max-width: 450px;
}

/* CTA Interaction Elements */
.cta-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 80px;
}

.btn {
    padding: 14px 28px;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 4px;
}

.btn-primary {
    background-color: #dfb15b; /* Matches the visual gold tone button */
    color: #121212;
}

.btn-secondary {
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
}

/* Statistics Block */
.stats-container {
    display: flex;
    gap: 48px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 32px;
}

.stat-item h3 {
    font-size: 1.8rem;
    color: #dfb15b;
    font-weight: 400;
    margin-bottom: 4px;
}

.stat-item p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Right Media Panel */
.hero-image {
    background-image: url('your-image-path.jpg'); /* Replace with actual visual asset link */
    background-size: cover;
    background-position: center;
    object-fit: contain;
}

/* --- Responsive Adaptations --- */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
    }
    .hero-image {
        min-height: 400px;
    }
    .navbar {
        padding: 24px 40px;
    }
    .hero-content {
        padding: 60px 40px;
    }
}


/* Reset and Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
    background-color: #1a1a1a;
    color: #ffffff;
    padding: 40px 60px;
}

/* Header Styles */
.header {
    margin-bottom: 40px;
}

.header-top {
    font-size: 14px;
    color: #a0a0a0;
    margin-bottom: 15px;
}

.header-main {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.title-section h1 {
    font-size: 32px;
    font-weight: 500;
    margin-bottom: 8px;
}

.title-section p {
    color: #a0a0a0;
    font-size: 15px;
}

/* Filters Styles */
.filter-section {
    display: flex;
    gap: 20px;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filter-group label {
    font-size: 12px;
    color: #a0a0a0;
}

.filter-group select {
    background-color: #262626;
    color: #ffffff;
    border: 1px solid #404040;
    padding: 10px 40px 10px 15px;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg fill='white' height='24' viewBox='0 0 24 24' width='24' xmlns='http://w3.org'><path d='M7 10l5 5 5-5z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 10px center;
}

/* Product Grid */
.grid-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

/* Product Card */
/* 1. Add a smooth fade effect to the base card */
.card {
    background-color: #262626;
    border-radius: 12px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    
    /* Creates a transparent border placeholder so the card doesn't jump when hovered */
    border: 2px solid transparent; 
    
    /* Makes the green border glide in smoothly over 0.3 seconds */
    transition: border-color 0.3s ease; 
}

/* 2. Target the card on mouse over */
.card:hover {
    border-color: #22c55e; /* Uses your theme's green accent color */
}


.image-container {
    width: 100%;
    height: 320px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 16px;
    object-fit: contain;
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-content {
    display: flex;
    flex-direction: column;
}

.tag {
    font-size: 12px;
    color: #8c8c8c;
    margin-bottom: 6px;
}

.item-name {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.status-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.price {
    font-size: 16px;
    font-weight: 600;
    color: #ffcc66;
}

.stock-badge {
    background-color: #143324;
    color: #4ade80;
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 500;
}

/* Quick View Button */
.quick-view-btn {
    width: 100%;
    background-color: #fcd34d;
    color: #000000;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.quick-view-btn:hover {
    background-color: #fbbf24;
}

/* Responsive Layout Adjustments */
@media (max-width: 1200px) {
    .grid-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .grid-container {
        grid-template-columns: repeat(2, 1fr);
    }
    .header-main {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
}

@media (max-width: 600px) {
    .grid-container {
        grid-template-columns: 1fr;
    }
    body {
        padding: 20px;
    }
}
