@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=Inter:wght@300;400;600&display=swap');

:root {
    --gold: #d4af37;
    --gold-glow: rgba(212, 175, 55, 0.4);
    --gold-bright: #f7d794;
    --obsidian: #050505;
    --dark-grey: #0d0d0d;
    --silver: #a0a0a0;
    --white: #ffffff;
    --glass: rgba(255, 255, 255, 0.03);
    --glass-heavy: rgba(5, 5, 5, 0.75);
    --border: rgba(212, 175, 55, 0.15);
    --glow: 0 0 15px var(--gold-glow);
    --transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    --font-modern: 'Outfit', sans-serif;
}

body {
    background-color: var(--obsidian);
    color: var(--silver);
    font-family: 'Inter', sans-serif;
    margin: 0;
    line-height: 1.8;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3C%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.03;
    z-index: 9999;
    pointer-events: none;
}

h1,
h2,
h3,
h4,
.premium-serif {
    font-family: var(--font-modern);
    color: var(--white);
    letter-spacing: -0.01em;
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
}

.logo {
    font-family: var(--font-modern);
    font-weight: 700;
    letter-spacing: 0.3em !important;
    color: var(--white);
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4rem;
}

/* Digital Background Effects */
.digital-bg {
    position: fixed;
    inset: 0;
    overflow: hidden;
    z-index: -1;
    pointer-events: none;
}

.blob {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--gold-glow) 0%, transparent 70%);
    opacity: 0.15;
    filter: blur(100px);
    animation: moveBlob 20s infinite alternate;
}

.blob:nth-child(2) {
    bottom: -100px;
    right: -100px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.2) 0%, transparent 70%);
    animation: moveBlob 25s infinite alternate-reverse;
}

@keyframes moveBlob {
    0% {
        transform: translate(0, 0) scale(1.1);
    }

    100% {
        transform: translate(100px, 100px) scale(0.9);
    }
}

/* Glass Header */
#main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9995;
    background: rgba(5, 5, 5, 0.9);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-bottom: 1px solid var(--border);
    padding: 1.5rem 0;
    transition: var(--transition);
}

#main-header.scrolled {
    padding: 1rem 0;
    background: rgba(0, 0, 0, 0.9);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.nav-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-links {
    display: flex;
    align-items: center;
}

.nav-links a {
    margin-left: 3rem;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.23em;
    font-family: var(--font-modern);
    transition: var(--transition);
    color: var(--silver);
}

.nav-links a:hover {
    color: var(--gold-bright);
    text-shadow: var(--glow);
}

.lang-switch {
    margin-left: 2rem;
    border-left: 1px solid var(--border);
    padding-left: 2rem;
}

/* Menu Toggle (Hidden by default) */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 2000;
    padding: 10px;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--gold);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, transparent 0%, var(--obsidian) 90%),
        linear-gradient(0deg, var(--obsidian) 0%, transparent 50%, var(--obsidian) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
}

.hero h1 {
    font-size: clamp(3rem, 7vw, 6.5rem);
    margin-bottom: 2rem;
    line-height: 1.1;
    text-transform: uppercase;
    font-family: var(--font-modern);
    font-weight: 900;
    letter-spacing: -0.04em;
    max-width: 100%;
}

.hero p {
    font-size: clamp(0.9rem, 1.5vw, 1.1rem);
    margin-bottom: 4rem;
    color: var(--silver);
    font-weight: 300;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    max-width: 600px;
    margin-inline: auto;
    opacity: 0.8;
}

/* Premium Buttons */
.btn-premium {
    display: inline-block;
    padding: 1.5rem 4rem;
    background: var(--gold);
    color: var(--obsidian);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    border-radius: 0;
    transition: var(--transition);
    border: 1px solid var(--gold);
    box-shadow: var(--glow);
    font-size: 0.8rem;
    font-family: var(--font-modern);
}

.btn-premium:hover {
    background: transparent;
    color: var(--gold-bright);
    transform: translateY(-5px);
    box-shadow: 0 10px 40px var(--gold-glow);
}

.btn-outline {
    background: transparent;
    color: var(--gold);
    border-color: var(--border);
    box-shadow: none;
}

.btn-outline:hover {
    background: var(--gold);
    color: var(--obsidian);
}

/* Cards */
.card-premium {
    background: var(--glass);
    border: 1px solid var(--border);
    padding: 3rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.card-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0.3;
}

.card-premium:hover {
    transform: translateY(-15px) scale(1.02);
    border-color: var(--gold);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8),
        inset 0 0 20px var(--gold-glow);
}

.product-card {
    background: transparent;
    border: none;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.product-card .img-container {
    position: relative !important;
    width: 100% !important;
    height: 0 !important;
    padding-bottom: 125% !important;
    /* 4:5 Aspect Ratio */
    background: #0a0a0a !important;
    overflow: hidden !important;
    display: block !important;
}

.product-card .img-container img {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    /* Forces image to fit perfectly without crop */
    transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: 1;
    padding: 10px;
    /* Small padding so it doesn't touch edges */
}

.product-card:hover .img-container img {
    transform: translate(-50%, -50%) scale(1.1);
}

.product-card .card-info {
    padding: 1.5rem 0;
    text-align: left;
}

.product-card .brand-label {
    font-size: 0.7rem;
    color: var(--gold);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

.product-card .product-title {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    color: var(--white);
    font-weight: 500;
    line-height: 1.4;
    transition: var(--transition);
}

.product-card:hover .product-title {
    color: var(--gold-bright);
}

.product-card .price-box {
    display: flex;
    align-items: baseline;
    gap: 1rem;
}

.product-card .price {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--white);
}

.product-card .old-price {
    font-size: 0.85rem;
    color: #555;
    text-decoration: line-through;
}

.product-card .quick-view-badge {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.95);
    color: var(--obsidian);
    padding: 1rem;
    text-align: center;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    opacity: 0;
    transform: translateY(20px);
    transition: transform 0.4s ease, opacity 0.4s ease;
    pointer-events: none;
    z-index: 10;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.product-card:hover .quick-view-badge {
    opacity: 1;
    transform: translateY(0);
}

.badge-sale {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--gold);
    color: var(--obsidian);
    padding: 0.3rem 0.8rem;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    z-index: 5;
}

/* Gallery Styles */
.gallery-thumbnails {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.thumb-item {
    width: 80px;
    height: 80px;
    border: 1px solid var(--border);
    padding: 0.5rem;
    background: var(--glass);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.thumb-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.thumb-item:hover,
.thumb-item.active {
    border-color: var(--gold);
    box-shadow: 0 0 15px var(--gold-glow);
}

/* Utility */
.text-gold {
    color: var(--gold-bright);
    text-shadow: var(--glow);
}

.mt-5 {
    margin-top: 5rem;
}

.mb-2 {
    margin-bottom: 2rem;
}

/* Product Page Specific */
.product-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 6rem;
    align-items: start;
}

.gallery-container {
    position: sticky;
    top: 150px;
    background: var(--glass);
    border: 1px solid var(--border);
    padding: 6rem;
    text-align: center;
    backdrop-filter: blur(20px);
    box-shadow: inset 0 0 50px rgba(212, 175, 55, 0.05);
}

.gallery-main img {
    max-width: 100%;
    height: auto;
    max-height: 700px;
    object-fit: contain;
    transition: transform 1s cubic-bezier(0.165, 0.84, 0.44, 1);
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.8));
}

.gallery-main:hover img {
    transform: scale(1.05);
}

.variant-selector {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 2rem 0;
}

.variant-btn {
    padding: 1rem 2rem;
    background: transparent;
    border: 1px solid var(--border);
    color: var(--white);
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: var(--transition);
}

.variant-btn:hover,
.variant-btn.active {
    border-color: var(--gold);
    color: var(--gold);
}

.related-title {
    font-size: 2.5rem;
    margin-bottom: 4rem;
    text-align: center;
}

/* Blog & Pages Specific */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 3rem;
}

.blog-card {
    background: #000;
    border: 1px solid var(--border);
    transition: var(--transition);
    overflow: hidden;
}

.blog-card:hover {
    border-color: var(--gold);
    transform: translateY(-10px);
}

.blog-card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: var(--transition);
}

.blog-card:hover img {
    transform: scale(1.1);
}

.blog-content {
    padding: 2.5rem;
}

.blog-date {
    color: var(--gold);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.23em;
    margin-bottom: 1rem;
    display: block;
}

.article-hero {
    height: 60vh;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 6rem;
}

.article-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent, #000);
}

.article-header {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 900px;
}

.prose {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.15rem;
    line-height: 2;
    color: var(--silver);
    font-weight: 300;
}

.prose p {
    margin-bottom: 2.5rem;
}

.prose h2,
.prose h3 {
    color: var(--gold);
    margin-top: 4rem;
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
}

.page-header {
    padding: 12rem 0 6rem;
    text-align: center;
}

.page-header h1 {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.static-page-header {
    padding: 12rem 0 6rem;
    text-align: center;
    border-bottom: 1px solid var(--border);
    margin-bottom: 6rem;
}

.catalog-main-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 4rem;
}

.catalog-sidebar {
    position: sticky;
    top: 120px;
}

.home-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2.5rem;
}

.section-title {
    margin-bottom: 4rem;
    text-align: center;
}

.cat-img-container {
    position: relative;
    width: 100%;
    padding-bottom: 75%;
    /* 4:3 Aspect Ratio */
    margin-bottom: 2rem;
    overflow: hidden;
    border-radius: 8px;
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
}

.cat-img-container img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    object-fit: contain;
    filter: brightness(0.9) drop-shadow(0 10px 30px rgba(0, 0, 0, 0.5));
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.card-premium:hover .cat-img-container img {
    filter: brightness(1.1) drop-shadow(0 20px 40px rgba(212, 175, 55, 0.3));
    transform: translate(-50%, -50%) scale(1.15);
}

.card-premium h3 {
    margin-bottom: 1rem;
    letter-spacing: 0.1em;
    font-size: 1.2rem;
}

.card-premium p {
    font-size: 0.9rem;
    opacity: 0.6;
    line-height: 1.6;
    margin-bottom: 0;
}

.view-all-link {
    margin-top: 2rem;
    font-size: 0.8rem;
    color: var(--gold);
    letter-spacing: 0.2em;
    font-weight: 700;
    transition: var(--transition);
}

.card-premium:hover .view-all-link {
    transform: translateX(10px);
}

.hero-btns {
    margin-top: 3rem;
}

/* --- MOBILE ADAPTATION --- */

@media (max-width: 1200px) {
    .container {
        padding: 0 2rem;
    }
}

@media (max-width: 991px) {
    .product-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .gallery-container {
        position: relative;
        top: 0;
        padding: 3rem;
    }

    .catalog-main-grid {
        grid-template-columns: 1fr !important;
        gap: 3rem !important;
    }

    .catalog-sidebar {
        position: relative !important;
        top: 0 !important;
        width: 100% !important;
        margin-bottom: 3rem;
    }

    .logo img {
        max-height: 30px !important;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(5, 5, 5, 0.98);
        backdrop-filter: blur(40px);
        -webkit-backdrop-filter: blur(40px);
        justify-content: center;
        flex-direction: column;
        transition: 0.6s cubic-bezier(0.77, 0, 0.175, 1);
        z-index: 1000;
        text-align: center;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        margin: 1.5rem 0;
        font-size: 2rem;
        font-weight: 700;
        letter-spacing: 0.1em;
        opacity: 0;
        transform: translateY(20px);
        transition: 0.4s ease;
        transition-delay: 0.2s;
    }

    .nav-links.active a {
        opacity: 1;
        transform: translateY(0);
    }

    .lang-switch {
        margin-left: 0;
        margin-top: 2rem;
        border-left: none;
        border-top: 1px solid var(--border);
        padding: 2rem 0 0 0;
        display: flex;
        gap: 2rem;
    }

    .hero-btns {
        flex-direction: column;
        width: 100%;
        gap: 1rem !important;
    }

    .hero-btns .btn-premium {
        width: 100%;
        min-width: unset !important;
        padding: 1.2rem 1.5rem;
    }

    .section-title {
        font-size: 2.2rem !important;
        margin-bottom: 3rem !important;
    }

    /* Responsive Grid for Categories & Products */
    .home-grid,
    .catalog-grid {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 1rem !important;
    }

    .card-premium {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .hero-content {
        padding: 0 1rem;
    }

    .btn-premium {
        padding: 1.2rem 2rem;
        letter-spacing: 0.2em;
        font-size: 0.75rem;
    }

    .logo {
        font-size: 1.2rem;
    }

    .home-grid,
    .catalog-grid {
        grid-template-columns: 1fr !important;
    }

    .hero h1 {
        font-size: clamp(2.2rem, 10vw, 3rem) !important;
    }

    .logo img {
        max-height: 25px !important;
    }

    .btn-premium {
        width: 100%;
        text-align: center;
        padding: 1.2rem 0;
    }
}