/* ============================================
   IYKYK Extracts — Premium Cannabis Brand
   Color Palette: Black, Chrome/Silver, Gold
   ============================================ */

:root {
    --black: #000000;
    --black-light: #0a0a0a;
    --black-card: #111111;
    --black-border: #1a1a1a;
    --gray-dark: #1e1e1e;
    --gray-mid: #2a2a2a;
    --gray-light: #888888;
    --silver: #c0c0c0;
    --chrome: #d4d4d4;
    --white: #f5f5f5;
    --gold: #C8AA6E;
    --gold-light: #E8D5A3;
    --gold-dark: #A08945;
    --gold-glow: rgba(200, 170, 110, 0.15);
    --font-primary: 'Montserrat', sans-serif;
    --font-accent: 'Cormorant Garamond', serif;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-primary);
    background: var(--black);
    color: var(--chrome);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::selection {
    background: var(--gold);
    color: var(--black);
}

/* ============================================
   PRELOADER
   ============================================ */

#preloader {
    position: fixed;
    inset: 0;
    background: var(--black);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

#preloader.loaded {
    opacity: 0;
    visibility: hidden;
}

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

.preloader-logo {
    width: 120px;
    height: auto;
    animation: preloaderPulse 1.5s ease-in-out infinite;
}

.preloader-bar {
    width: 200px;
    height: 2px;
    background: var(--gray-mid);
    margin: 30px auto 0;
    border-radius: 2px;
    overflow: hidden;
}

.preloader-fill {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-light));
    border-radius: 2px;
    animation: preloaderBar 1.8s ease-in-out forwards;
}

@keyframes preloaderPulse {
    0%, 100% { opacity: 0.6; transform: scale(0.95); }
    50% { opacity: 1; transform: scale(1); }
}

@keyframes preloaderBar {
    0% { width: 0%; }
    100% { width: 100%; }
}

/* ============================================
   NAVIGATION
   ============================================ */

#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.4s ease;
}

#navbar.scrolled {
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 12px 0;
    border-bottom: 1px solid rgba(200, 170, 110, 0.1);
}

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

.nav-logo img {
    height: 40px;
    width: auto;
    transition: opacity 0.3s ease;
}

.nav-logo:hover img {
    opacity: 0.8;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 40px;
}

.nav-links a {
    text-decoration: none;
    color: var(--silver);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    position: relative;
    transition: color 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    transition: width 0.3s ease;
}

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

.nav-links a:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 1.5px;
    background: var(--gold);
    margin: 6px 0;
    transition: all 0.3s ease;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.97);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.mobile-menu.open {
    opacity: 1;
    visibility: visible;
}

.mobile-links {
    list-style: none;
    text-align: center;
}

.mobile-links li {
    margin: 25px 0;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s ease;
}

.mobile-menu.open .mobile-links li {
    transform: translateY(0);
    opacity: 1;
}

.mobile-menu.open .mobile-links li:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu.open .mobile-links li:nth-child(2) { transition-delay: 0.2s; }
.mobile-menu.open .mobile-links li:nth-child(3) { transition-delay: 0.3s; }
.mobile-menu.open .mobile-links li:nth-child(4) { transition-delay: 0.4s; }

.mobile-links a {
    text-decoration: none;
    color: var(--chrome);
    font-size: 28px;
    font-weight: 300;
    letter-spacing: 8px;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

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

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: radial-gradient(ellipse at center, #0d0d0d 0%, #000000 70%);
}

.particles-bg {
    position: fixed;
    inset: 0;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
}

.particle {
    position: absolute;
    left: var(--x);
    top: -40px;
    width: var(--size, 28px);
    height: calc(var(--size, 28px) * 1.8);
    opacity: 0;
    background: url('assets/images/diamond-only.png') no-repeat center / contain;
    filter: drop-shadow(0 0 3px rgba(200, 170, 110, 0.4)) drop-shadow(0 0 6px rgba(255, 255, 255, 0.15));
    animation: diamondFall var(--duration) var(--delay) linear infinite,
               diamondSparkle 3s var(--delay) ease-in-out infinite;
}

@keyframes diamondFall {
    0% { opacity: 0; top: -10px; }
    5% { opacity: 0.3; }
    40% { opacity: 0.2; }
    90% { opacity: 0.06; }
    100% { opacity: 0; top: 105%; }
}

@keyframes diamondSparkle {
    0%, 100% { filter: drop-shadow(0 0 3px rgba(200, 170, 110, 0.4)) drop-shadow(0 0 6px rgba(255, 255, 255, 0.15)) brightness(1); }
    50% { filter: drop-shadow(0 0 6px rgba(200, 170, 110, 0.7)) drop-shadow(0 0 10px rgba(255, 255, 255, 0.3)) brightness(1.3); }
}

.hero-content {
    text-align: center;
    z-index: 2;
    padding: 0 20px;
}

.hero-logo-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 30px;
}

.hero-logo {
    width: 280px;
    height: auto;
    animation: heroFadeIn 1.5s ease-out forwards;
    opacity: 0;
    position: relative;
    z-index: 2;
}

.hero-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 280px;
    height: 100%;
    background: url('assets/images/logo-portrait.png') no-repeat center / contain;
    filter: blur(18px) brightness(1.2) sepia(1) hue-rotate(10deg) saturate(3);
    opacity: 0.35;
    animation: glowPulse 4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes glowPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 1; }
}

@keyframes heroFadeIn {
    0% { opacity: 0; transform: translateY(30px) scale(0.9); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

.hero-tagline {
    font-family: var(--font-accent);
    font-size: 22px;
    font-weight: 300;
    color: var(--chrome);
    letter-spacing: 6px;
    text-transform: uppercase;
    margin-bottom: 20px;
    animation: fadeUp 1s 0.5s ease-out forwards;
    opacity: 0;
}

.hero-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
    animation: fadeUp 1s 0.7s ease-out forwards;
    opacity: 0;
}

.divider-line {
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.divider-diamond {
    color: var(--gold);
    font-size: 10px;
}

.hero-sub {
    font-size: 15px;
    font-weight: 400;
    color: var(--gold);
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 40px;
    animation: fadeUp 1s 0.9s ease-out forwards;
    opacity: 0;
}

.hero-cta {
    display: inline-block;
    text-decoration: none;
    color: var(--gold);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    padding: 16px 50px;
    border: 1px solid var(--gold);
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    animation: fadeUp 1s 1.1s ease-out forwards;
    opacity: 0;
}

.hero-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(200, 170, 110, 0.1), transparent);
    transition: left 0.5s ease;
}

.hero-cta:hover {
    background: var(--gold);
    color: var(--black);
    box-shadow: 0 0 40px rgba(200, 170, 110, 0.2);
}

.hero-cta:hover::before {
    left: 100%;
}

@keyframes fadeUp {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    animation: fadeUp 1s 1.5s ease-out forwards;
    opacity: 0;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--gold), transparent);
    animation: scrollDown 2s ease-in-out infinite;
}

@keyframes scrollDown {
    0% { transform: scaleY(0); transform-origin: top; opacity: 1; }
    50% { transform: scaleY(1); transform-origin: top; opacity: 1; }
    51% { transform: scaleY(1); transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; opacity: 1; }
}

/* ============================================
   SECTIONS COMMON
   ============================================ */

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-label {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 20px;
    position: relative;
}

.section-title {
    font-family: var(--font-accent);
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 300;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 25px;
}

.gold-text {
    color: var(--gold);
    font-style: italic;
}

.title-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.title-divider .divider-line {
    width: 40px;
}

/* ============================================
   ABOUT SECTION
   ============================================ */

.about {
    padding: 140px 0;
    background: linear-gradient(180deg, var(--black) 0%, var(--black-light) 50%, var(--black) 100%);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-dark), transparent);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-text p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--gray-light);
    margin-bottom: 20px;
}

.about-lead {
    font-family: var(--font-accent);
    font-size: 24px !important;
    color: var(--chrome) !important;
    font-weight: 400;
    font-style: italic;
    line-height: 1.6 !important;
    margin-bottom: 30px !important;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.stat-card {
    background: var(--black-card);
    border: 1px solid var(--black-border);
    padding: 35px 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.stat-card:hover {
    border-color: rgba(200, 170, 110, 0.2);
    transform: translateY(-5px);
}

.stat-card:hover::before {
    transform: scaleX(1);
}

.stat-icon {
    color: var(--gold);
    font-size: 14px;
    margin-bottom: 15px;
}

.stat-number {
    font-family: var(--font-accent);
    font-size: 36px;
    font-weight: 300;
    color: var(--white);
    margin-bottom: 8px;
}

.stat-label {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
}

/* ============================================
   PRODUCTS SECTION
   ============================================ */

.products {
    padding: 140px 0;
    background: var(--black);
    position: relative;
}

.products::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-dark), transparent);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.product-card {
    background: var(--black-card);
    border: 1px solid var(--black-border);
    padding: 50px 30px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.5s ease;
}

.product-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 40%, rgba(200, 170, 110, 0.03));
    pointer-events: none;
}

.product-card:hover {
    border-color: rgba(200, 170, 110, 0.3);
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(200, 170, 110, 0.05);
}

.product-image-placeholder {
    width: 140px;
    height: 140px;
    margin: 0 auto 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.product-icon svg {
    width: 80px;
    height: 80px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.product-card:hover .product-icon svg {
    opacity: 1;
}

.product-name {
    font-family: var(--font-accent);
    font-size: 24px;
    font-weight: 400;
    color: var(--white);
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.product-desc {
    font-size: 14px;
    line-height: 1.7;
    color: var(--gray-light);
    margin-bottom: 25px;
}

.product-tag {
    display: inline-block;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--gold);
    padding: 8px 20px;
    border: 1px solid rgba(200, 170, 110, 0.3);
}

/* ============================================
   BRAND BANNER
   ============================================ */

.brand-banner {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--black) 0%, var(--gray-dark) 50%, var(--black) 100%);
    position: relative;
    overflow: hidden;
}

.brand-banner::before,
.brand-banner::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-dark), transparent);
}

.brand-banner::before { top: 0; }
.brand-banner::after { bottom: 0; }

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

.banner-logo-wrap {
    position: relative;
    display: inline-block;
    margin-bottom: 30px;
}

.banner-logo-wrap::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('assets/images/logo-landscape.png') no-repeat center / contain;
    filter: blur(16px) brightness(1.2) sepia(1) hue-rotate(10deg) saturate(3);
    opacity: 0.3;
    pointer-events: none;
}

.banner-logo {
    width: 350px;
    max-width: 80%;
    height: auto;
    position: relative;
    z-index: 1;
}

.banner-text {
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 8px;
    text-transform: uppercase;
    color: var(--gold);
}

/* ============================================
   CONTACT SECTION
   ============================================ */

.contact {
    padding: 140px 0;
    background: var(--black);
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-dark), transparent);
}

.contact-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.contact-lead {
    font-family: var(--font-accent);
    font-size: 20px;
    font-weight: 300;
    color: var(--chrome);
    font-style: italic;
    margin-bottom: 50px;
    line-height: 1.6;
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.contact-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    padding: 40px 50px;
    background: var(--black-card);
    border: 1px solid var(--black-border);
    transition: all 0.4s ease;
    min-width: 200px;
}

.contact-card:hover {
    border-color: rgba(200, 170, 110, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.contact-icon {
    width: 40px;
    height: 40px;
    color: var(--gold);
}

.contact-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--gold);
}

.contact-handle {
    font-size: 14px;
    color: var(--gray-light);
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    padding: 60px 0 40px;
    background: var(--black);
    border-top: 1px solid var(--black-border);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    text-align: center;
}

.footer-logo-wrap {
    position: relative;
    display: inline-block;
    margin-bottom: 25px;
}

.footer-logo-wrap::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('assets/images/logo-landscape.png') no-repeat center / contain;
    filter: blur(12px) brightness(1.2) sepia(1) hue-rotate(10deg) saturate(3);
    opacity: 0.2;
    pointer-events: none;
}

.footer-logo {
    width: 180px;
    height: auto;
    opacity: 0.6;
    position: relative;
    z-index: 1;
}

.footer-divider {
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-dark), transparent);
    margin: 0 auto 25px;
}

.footer-text {
    font-size: 12px;
    letter-spacing: 2px;
    color: var(--gray-light);
    margin-bottom: 10px;
}

.footer-disclaimer {
    font-size: 11px;
    color: #555;
    letter-spacing: 1px;
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .about-stats {
        grid-template-columns: repeat(3, 1fr);
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .nav-toggle {
        display: block;
    }

    .nav-container {
        padding: 0 20px;
    }

    .section-container {
        padding: 0 20px;
    }

    .hero-logo {
        width: 200px;
    }

    .hero-tagline {
        font-size: 16px;
        letter-spacing: 4px;
    }

    .hero-sub {
        font-size: 13px;
        letter-spacing: 3px;
    }

    .about {
        padding: 100px 0;
    }

    .products {
        padding: 100px 0;
    }

    .contact {
        padding: 100px 0;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .products-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .section-header {
        margin-bottom: 50px;
    }

    .banner-text {
        font-size: 11px;
        letter-spacing: 5px;
    }

    .contact-card {
        padding: 30px 40px;
    }
}

@media (max-width: 480px) {
    .hero-logo {
        width: 160px;
    }

    .hero-tagline {
        font-size: 14px;
        letter-spacing: 3px;
    }

    .hero-cta {
        padding: 14px 35px;
        font-size: 11px;
        letter-spacing: 3px;
    }

    .about-lead {
        font-size: 20px !important;
    }

    .banner-logo {
        width: 250px;
    }
}
