@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&display=swap');

:root {
    --primary-gold: #D4AF37;
    --gold-hover: #C5A028;
    --black: #1A1A1A;
    --deep-black: #000000;
    --white: #FFFFFF;
    --gray-light: #F8F9FA;
    --gray-medium: #808080;
    --gray-dark: #333333;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--white);
    color: var(--black);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Header */
header {
    background-color: var(--deep-black);
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid var(--primary-gold);
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
}

.logo span {
    color: var(--primary-gold);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    transition: var(--transition);
}

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

.auth-buttons {
    display: flex;
    gap: 1rem;
}

/* Hero Section */
.hero {
    height: 80vh;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('https://images.unsplash.com/photo-1590615365490-691f0d049624?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--white);
    padding: 0 5%;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.hero h1 span {
    color: var(--primary-gold);
}

.hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin-bottom: 2rem;
    color: var(--gray-light);
}

/* Buttons */
.btn {
    padding: 0.8rem 2rem;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    display: inline-block;
}

.btn-primary {
    background-color: var(--primary-gold);
    color: var(--deep-black);
}

.btn-primary:hover {
    background-color: var(--gold-hover);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
}

.btn-outline {
    border: 2px solid var(--primary-gold);
    color: var(--primary-gold);
    background: transparent;
}

.btn-outline:hover {
    background-color: var(--primary-gold);
    color: var(--deep-black);
}

/* Sections */
section {
    padding: 5rem 10%;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--primary-gold);
}

/* Product Cards */
.product-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
}

@media (max-width: 1200px) { .product-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 900px)  { .product-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px)  { .product-grid { grid-template-columns: repeat(2, 1fr); } }

.product-card {
    background: var(--white);
    border: 1px solid #EBEBEB;
    padding: 1rem;
    border-radius: 12px;
    transition: var(--transition);
    text-align: left;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover {
    box-shadow: 0 8px 20px rgba(0,0,0,0.09);
    border-color: var(--primary-gold);
    transform: translateY(-3px);
}

.product-image {
    width: 100%;
    height: 120px;
    background-color: var(--gray-light);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.product-card h3 {
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0;
    line-height: 1.35;
    margin-bottom: 0.4rem;
    height: 2.3em;
    overflow: hidden;
}

.product-price {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-gold);
    margin-bottom: 0.75rem;
}

.product-code-label {
    font-size: 0.68rem;
    color: var(--gray-medium);
    font-family: monospace;
    font-weight: 700;
    margin-bottom: 0.35rem;
    display: block;
}

/* Add-to-cart button inside card */
.btn-add-card {
    width: 100%;
    padding: 0.55rem;
    background: var(--deep-black);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    font-family: 'Outfit', sans-serif;
    transition: 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    text-transform: none;
    letter-spacing: 0;
}

.btn-add-card:hover  { background: var(--primary-gold); color: var(--deep-black); }
.btn-add-card.hovered { background: var(--primary-gold); color: var(--deep-black); }

/* Footer */
footer {
    background-color: var(--deep-black);
    color: var(--white);
    padding: 5rem 10% 2rem;
}

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

.footer-col h4 {
    color: var(--primary-gold);
    margin-bottom: 1.5rem;
}

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

.footer-col li {
    margin-bottom: 0.8rem;
}

.footer-col a {
    color: var(--gray-light);
    text-decoration: none;
    transition: var(--transition);
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-dark);
    font-size: 0.8rem;
    color: var(--gray-medium);
}

/* Micro-animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero h1, .hero p, .hero .btn {
    animation: fadeInUp 0.8s ease forwards;
}

.hero p { animation-delay: 0.2s; }
.hero .btn { animation-delay: 0.4s; }
