/* ==========================================================================
   CSS Variables & Reset
   ========================================================================== */
:root {
    --color-black: #000000;
    --color-dark-grey: #1a1a1a;
    --color-light-grey: #f5f5f5;
    --color-gold: #D4AF37;
    --color-gold-hover: #b5952f;
    --color-white: #ffffff;
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    
    --transition-fast: 0.3s ease;
    --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-black);
    color: var(--color-light-grey);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--color-white);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

img {
    max-width: 100%;
    display: block;
}

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

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background-color: var(--color-gold);
    margin: 1rem auto 0;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    font-family: var(--font-body);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    border: none;
    transition: all var(--transition-fast);
    text-align: center;
}

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

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

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

.btn-outline:hover {
    background-color: var(--color-gold);
    color: var(--color-black);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}

/* ==========================================================================
   Header & Nav
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    transition: padding var(--transition-fast);
}

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

.logo {
    margin-right: auto;
}

.logo a {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-gold);
}

.nav {
    margin-right: 2rem;
}

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

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

.cart-icon {
    position: relative;
    cursor: pointer;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cart-icon:hover {
    color: var(--color-gold);
}

#cart-count {
    background-color: var(--color-gold);
    color: var(--color-black);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.8rem;
    font-weight: 600;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.8)), url('https://images.unsplash.com/photo-1515562141207-7a88fb7ce338?auto=format&fit=crop&q=80&w=1600') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px;
}

.hero-content {
    max-width: 800px;
    padding: 2rem;
}

.hero h1 {
    font-size: 4rem;
    color: var(--color-gold);
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease forwards;
    opacity: 0;
    transform: translateY(20px);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: fadeInUp 1s ease 0.3s forwards;
    opacity: 0;
    transform: translateY(20px);
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    animation: fadeInUp 1s ease 0.6s forwards;
    opacity: 0;
    transform: translateY(20px);
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about {
    padding: 6rem 0;
    background-color: var(--color-black);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    color: var(--color-gold);
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: #ccc;
}

.about-image img {
    border: 1px solid var(--color-gold);
    padding: 1rem;
}

/* ==========================================================================
   Categories
   ========================================================================== */
.categories {
    padding: 4rem 0;
    background-color: var(--color-dark-grey);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.category-card {
    text-align: center;
    cursor: pointer;
}

.category-img-wrapper {
    overflow: hidden;
    margin-bottom: 1rem;
    border: 1px solid rgba(212, 175, 55, 0.2);
    position: relative;
    border-radius: 4px;
}

.category-img-wrapper img {
    transition: transform var(--transition-slow);
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

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

.category-card:hover h3 {
    color: var(--color-gold);
}

/* ==========================================================================
   Products
   ========================================================================== */
.products {
    padding: 6rem 0;
}

.filter-controls {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.filter-btn {
    background: none;
    border: none;
    color: var(--color-light-grey);
    font-family: var(--font-body);
    font-size: 1.1rem;
    cursor: pointer;
    padding-bottom: 5px;
    border-bottom: 2px solid transparent;
    transition: all var(--transition-fast);
}

.filter-btn.active, .filter-btn:hover {
    color: var(--color-gold);
    border-bottom-color: var(--color-gold);
}

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

.product-card {
    background-color: var(--color-dark-grey);
    padding: 1.5rem;
    text-align: center;
    border: 1px solid transparent;
    transition: all var(--transition-fast);
}

.product-card:hover {
    border-color: rgba(212, 175, 55, 0.5);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transform: translateY(-5px);
}

.product-image {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    margin-bottom: 1.5rem;
}

.product-category {
    font-size: 0.8rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.product-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.product-price {
    color: var(--color-gold);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}

.product-price-original {
    color: #888;
    text-decoration: line-through;
    font-size: 0.9rem;
    font-weight: 400;
}

.product-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.product-actions .btn {
    width: 100%;
    padding: 0.8rem;
    font-size: 0.9rem;
}

/* ==========================================================================
   Instagram Feed & Testimonials
   ========================================================================== */
.insta-feed {
    padding: 4rem 0;
    background-color: var(--color-dark-grey);
}

.feed-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.feed-grid img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    filter: grayscale(30%);
    transition: filter var(--transition-fast);
}

.feed-grid img:hover {
    filter: grayscale(0);
}

.testimonials {
    padding: 6rem 0;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.testimonial-card {
    background-color: var(--color-dark-grey);
    padding: 2rem;
    text-align: center;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 1.5rem;
    color: #ccc;
}

.testimonial-card h4 {
    color: var(--color-gold);
    font-size: 1rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background-color: #0a0a0a;
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 3rem;
}

.footer-logo h2 {
    color: var(--color-gold);
    margin-bottom: 0.5rem;
}

.contact-info {
    margin-top: 1.5rem;
    color: #aaa;
}

.contact-info a:hover {
    color: var(--color-gold);
}

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

.footer-links li {
    margin-bottom: 0.8rem;
    color: #aaa;
}

.footer-bottom {
    text-align: center;
    color: #666;
    border-top: 1px solid #222;
    padding-top: 2rem;
}

/* ==========================================================================
   Cart Drawer
   ========================================================================== */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-fast);
}

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

.cart-drawer {
    position: fixed;
    top: 0;
    right: -450px;
    width: 400px;
    max-width: 100vw;
    height: 100%;
    background-color: var(--color-dark-grey);
    z-index: 1002;
    display: flex;
    flex-direction: column;
    transition: right var(--transition-fast);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.5);
    border-left: 1px solid var(--color-gold);
}

.cart-drawer.active {
    right: 0;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.cart-header h3 {
    margin: 0;
    color: var(--color-gold);
}

.close-btn {
    background: none;
    border: none;
    color: var(--color-white);
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
}

.close-btn:hover {
    color: var(--color-gold);
}

.cart-items {
    flex-grow: 1;
    overflow-y: auto;
    padding: 1.5rem;
}

.cart-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #333;
}

.cart-item-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.cart-item-details {
    flex-grow: 1;
}

.cart-item-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    margin-bottom: 0.3rem;
}

.cart-item-price {
    color: var(--color-gold);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.qty-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background-color: #000;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
}

.qty-btn {
    background: none;
    border: none;
    color: var(--color-white);
    cursor: pointer;
    font-size: 1rem;
}

.qty-btn:hover {
    color: var(--color-gold);
}

.remove-btn {
    background: none;
    border: none;
    color: #ff4444;
    cursor: pointer;
    font-size: 0.8rem;
    text-transform: uppercase;
}

.remove-btn:hover {
    text-decoration: underline;
}

.cart-footer {
    padding: 1.5rem;
    background-color: #000;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.cart-total span:last-child {
    color: var(--color-gold);
}

.checkout-btn {
    width: 100%;
}

.empty-cart {
    text-align: center;
    color: #888;
    margin-top: 2rem;
}

/* ==========================================================================
   Animations & Utilities
   ========================================================================== */
.fade-in-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   Media Queries
   ========================================================================== */
@media (max-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
    .about-text {
        text-align: center;
    }
    .category-grid, .testimonial-grid {
        grid-template-columns: 1fr;
    }
    .hero h1 {
        font-size: 3rem;
    }
    .hero-actions {
        flex-direction: column;
    }
}

@media (max-width: 600px) {
    .product-grid {
        grid-template-columns: 1fr;
    }
    .feed-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .filter-controls {
        flex-wrap: wrap;
    }
    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    .nav {
        display: none; /* simple mobile version */
    }
    .cart-drawer {
        width: 100%;
        right: -100%;
    }
}

/* ==========================================================================
   Sticky WhatsApp
   ========================================================================== */
.sticky-whatsapp {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: all var(--transition-fast);
}

.sticky-whatsapp svg {
    width: 35px;
    fill: currentColor;
}

.sticky-whatsapp:hover {
    transform: scale(1.1);
    background-color: #1ebe57;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.4);
}
