:root {
    /* Light Mode (Default) - DecantStore Identity */
    --color-bg: #F9F7F2;
    /* Cream */
    --color-text: #3B2F2F;
    /* Dark Sepia */
    --color-primary: #C6A87C;
    /* Bronze/Gold */
    --color-primary-hover: #A88B60;
    --color-secondary: #EBE5CE;
    /* Darker Cream */
    --color-accent: #D4C5A5;
    /* Soft Bronze */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;
    --spacing-container: 1200px;
    --transition: all 0.3s ease;
}

[data-theme="dark"] {
    /* Dark Mode - Luxury Dark */
    --color-bg: #1C1818;
    /* Very Dark Sepia */
    --color-text: #F9F7F2;
    /* Cream */
    --color-primary: #C6A87C;
    /* Bronze remains */
    --color-primary-hover: #D4B88F;
    --color-secondary: #2A2424;
    --color-accent: #3B2F2F;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--color-primary);
}

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

ul {
    list-style: none;
}

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

.container {
    max-width: var(--spacing-container);
    margin: 0 auto;
    padding: 0 20px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border: 1px solid var(--color-primary);
    background-color: var(--color-primary);
    color: var(--color-bg);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
}

.btn:hover {
    background-color: var(--color-primary-hover);
    border-color: var(--color-primary-hover);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-primary);
}

.btn-outline:hover {
    background-color: var(--color-primary);
    color: var(--color-bg);
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.9rem;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    background-color: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--color-accent);
}

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

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

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-text);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--color-primary);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--color-text);
    font-size: 1.5rem;
    cursor: pointer;
}

.theme-btn {
    background: none;
    border: none;
    color: var(--color-text);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 5px;
    transition: var(--transition);
}

.theme-btn:hover {
    color: var(--color-primary);
    transform: rotate(15deg);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-top: 80px;
    overflow: hidden;
}

.hero-content {
    flex: 1;
    padding: 0 5%;
    z-index: 2;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 500px;
    color: #ccc;
}

.cta-group {
    display: flex;
    gap: 20px;
}

.hero-image {
    flex: 1;
    height: 100%;
    position: relative;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    mask-image: linear-gradient(to left, black 70%, transparent 100%);
    -webkit-mask-image: linear-gradient(to left, black 70%, transparent 100%);
}

/* Marketplaces */
.marketplaces {
    padding: 80px 0;
    background-color: var(--color-secondary);
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 50px;
    position: relative;
    display: inline-block;
}

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

.icon-nuvemshop {
    display: inline-block;
    width: 1em;
    height: 1em;
    background-color: currentColor;
    -webkit-mask-image: url('./assets/images/nuvemshop_icon.png');
    mask-image: url('./assets/images/nuvemshop_icon.png');
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
}

.marketplace-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.marketplace-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 30px;
    background-color: var(--color-accent);
    border: 1px solid transparent;
    border-radius: 8px;
    width: 200px;
    transition: var(--transition);
}

.marketplace-card:hover {
    border-color: var(--color-primary);
    transform: translateY(-5px);
}

.marketplace-card i,
.marketplace-card svg,

.marketplace-card span {
    font-weight: 700;
    letter-spacing: 1px;
}

/* Featured / Catalog */
.featured,
.catalog-section {
    padding: 100px 0;
}

.page-header {
    padding: 150px 0 50px;
    text-align: center;
    background-color: var(--color-secondary);
}

.page-header h1 {
    font-size: 3.5rem;
    margin-bottom: 10px;
}

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

.filter-btn {
    background: none;
    border: 1px solid var(--color-accent);
    color: var(--color-text);
    padding: 10px 25px;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

/* Catalog List Styles */
.brand-group {
    margin-bottom: 60px;
}

.brand-title {
    font-size: 2rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--color-accent);
    color: var(--color-primary);
}

.product-list {
    list-style: none;
}

.product-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #222;
    transition: var(--transition);
}

.product-item:hover {
    background-color: rgba(255, 255, 255, 0.02);
    padding-left: 10px;
    padding-right: 10px;
}

.product-name {
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--color-text);
    letter-spacing: 0.5px;
}

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

.product-links a {
    font-size: 1.2rem;
    color: #666;
    transition: var(--transition);
}

.product-links a:hover {
    transform: scale(1.2);
}

.link-tiktok:hover {
    color: #000000;
    /* TikTok Black */
}

.link-shopee:hover {
    color: #EE4D2D;
}

/* Footer */
.footer {
    background-color: #000;
    padding: 80px 0 20px;
    border-top: 1px solid var(--color-accent);
}

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

.footer-brand h3 {
    font-size: 2rem;
    margin-bottom: 15px;
}

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

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links a:hover {
    color: var(--color-primary);
    padding-left: 5px;
}

.footer-social {
    display: flex;
    gap: 20px;
}

.footer-social a {
    font-size: 1.5rem;
    color: var(--color-text);
}

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

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

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 0.8s forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

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

/* Responsive */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 100px;
        height: auto;
        min-height: 100vh;
    }

    .hero-content {
        padding: 40px 20px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-image {
        width: 100%;
        height: 400px;
    }

    .hero-image img {
        mask-image: linear-gradient(to top, black 70%, transparent 100%);
        -webkit-mask-image: linear-gradient(to top, black 70%, transparent 100%);
    }

    .cta-group {
        justify-content: center;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: var(--color-bg);
        flex-direction: column;
        padding: 20px;
        text-align: center;
        border-bottom: 1px solid var(--color-accent);
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-toggle {
        display: block;
    }
}
/* Search Bar */
.search-container {
    position: relative;
    max-width: 500px;
    margin: 2rem auto 0;
}

#catalog-search {
    width: 100%;
    padding: 1rem 3rem 1rem 1.5rem;
    border: 2px solid var(--color-primary);
    border-radius: 50px;
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

#catalog-search:focus {
    outline: none;
    box-shadow: 0 0 15px rgba(198, 168, 124, 0.3);
}

.search-icon {
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-primary);
    pointer-events: none;
}

/* Category Tabs */
.category-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.tab-btn {
    background: transparent;
    border: 1px solid var(--color-primary);
    color: var(--color-text);
    padding: 10px 25px;
    border-radius: 30px;
    cursor: pointer;
    font-family: var(--font-body);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
}

.tab-btn:hover,
.tab-btn.active {
    background-color: var(--color-primary);
    color: var(--color-bg);
}

.category-description {
    text-align: center;
    margin-top: 1.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: var(--color-text);
    font-style: italic;
    opacity: 0.9;
}
