/* =====================================================
   AUTH DROPDOWN
===================================================== */
.auth-dropdown-menu {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    background-color: #fff;
    min-width: 150px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    z-index: 1000;
    padding: 8px 0;
    margin-top: 10px;
    border: 1px solid #eee;
}

.auth-dropdown-menu.show {
    display: block;
}

.auth-dropdown-menu a {
    color: #333;
    padding: 8px 16px;
    text-decoration: none;
    display: block;
    font-size: 14px;
}

.auth-dropdown-menu a:hover {
    background-color: #f9f9f9;
    color: #C19A6B;
}

/* =====================================================
   HEADER
===================================================== */
.main-header {
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
    background: #fff;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 3rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-size: 14px;
}

.nav-links a:hover {
    color: #C19A6B;
}

.nav-icons {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    position: relative;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1A1A1A;
    text-decoration: none;
}

/* =====================================================
   HERO SLIDER (AUTO BACKGROUND)
===================================================== */
.hero-slider {
    position: relative;
    height: 90vh;
    overflow: hidden;
    background: #100f0f;
}

.hero-slider .slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.hero-slider .slide.active {
    opacity: 1;
}

/* Dark overlay */
.hero-slider::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1;
}

/* Hero text */
.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
}

.hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* =====================================================
   BUTTONS
===================================================== */
.btn {
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: #C19A6B;
    color: white;
    border: 1px solid #C19A6B;
}

.btn-primary:hover {
    background-color: #a8845a;
    border-color: #a8845a;
}

.btn-outline {
    background-color: transparent;
    color: #1A1A1A;
    border: 1px solid #1A1A1A;
}

.btn-outline:hover {
    background-color: #1A1A1A;
    color: white;
}

/* =====================================================
   SECTIONS
===================================================== */
.section {
    padding: 3rem 0;
}

.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 3rem;
}

.text-center {
    text-align: center;
}

h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    margin-bottom: 2rem;
    color: #1A1A1A;
}

/* =====================================================
   CATEGORIES
===================================================== */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.category-card {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
}

.category-card img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.category-overlay {
    position: absolute;
    inset: auto 0 0 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 1.5rem;
    text-align: center;
}

.category-overlay h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
}

/* =====================================================
   PRODUCTS
===================================================== */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 3rem;
}

.product-card {
    border: 1px solid #eee;
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.product-image {
    position: relative;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-info {
    padding: 1.5rem;
    text-align: center;
}

.product-name {
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: #1A1A1A;
}

.product-price {
    font-size: 1.2rem;
    color: #C19A6B;
    margin-bottom: 1rem;
    font-weight: 600;
}

/* =====================================================
   ANIMATIONS
===================================================== */
.fade-in {
    animation: fadeIn 1s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
