/* ============================================
   TRI-COMA — Luxury · Loud · Legit
   Core Stylesheet
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --black: #0a0a0a;
    --black-light: #111111;
    --gray-dark: #1a1a1a;
    --gray: #2a2a2a;
    --gray-mid: #555;
    --gray-light: #888;
    --white: #f0ece2;
    --gold: #c9a84c;
    --gold-dim: #8a6d2b;
    --green: #4a7c59;
    --green-dim: #2d4a35;
    --red-ember: #8b2500;

    --glass-bg: rgba(15, 15, 15, 0.45);
    --glass-border: rgba(201, 168, 76, 0.08);
    --glass-blur: 18px;
    --drip-color: rgba(201, 168, 76, 0.12);

    --font-display: 'Bebas Neue', sans-serif;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Cormorant Garamond', serif;

    --ease-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

/* --- Scrollbar --- */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #080808;
}

::-webkit-scrollbar-thumb {
    background: #1f1f1f;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #2a2a2a;
}

html {
    scrollbar-width: thin;
    scrollbar-color: #1f1f1f #080808;
}

/* --- Smoke Canvas --- */
#smoke-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.55;
}

/* --- Parallax Background --- */
.parallax-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.parallax-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    will-change: transform;
}

.floating-icon {
    position: absolute;
    font-size: 1.5rem;
    color: var(--gray);
    opacity: 0.18;
    transition: opacity 0.6s var(--ease-smooth);
    animation: float 8s ease-in-out infinite;
}

.floating-icon--lg {
    font-size: 2.8rem;
    opacity: 0.1;
}

.floating-icon:nth-child(even) {
    animation-duration: 12s;
    animation-delay: -3s;
}

.floating-icon:nth-child(3n) {
    animation-duration: 10s;
    animation-delay: -5s;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25%      { transform: translateY(-15px) rotate(2deg); }
    50%      { transform: translateY(-8px) rotate(-1deg); }
    75%      { transform: translateY(-20px) rotate(1.5deg); }
}

/* --- Vignette --- */
.vignette {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
    background: radial-gradient(ellipse at center, transparent 30%, rgba(0,0,0,0.75) 100%);
}

/* ==========================================
   GLASSMORPHISM PANELS
   ========================================== */
.glass-panel {
    position: relative;
    background: rgba(12, 12, 12, 0.88);
    border: 1px solid rgba(201, 168, 76, 0.1);
    border-radius: 2px;
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.6),
        0 0 60px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.04),
        inset 0 -1px 0 rgba(0, 0, 0, 0.3);
    overflow: visible;
}

/* Subtle top-edge sheen */
.glass-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201, 168, 76, 0.15), transparent);
    pointer-events: none;
}

.glass-panel--hero {
    padding: 3.5rem 4rem 3rem;
}

.glass-panel--section {
    padding: 3rem;
}

.glass-panel--card {
    padding: 3rem 2rem;
}

/* ==========================================
   DRIP EFFECT
   ========================================== */
.drip-container {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 0;
    pointer-events: none;
    z-index: 1;
}

.drip {
    position: absolute;
    bottom: -1px;
    width: 2px;
    background: linear-gradient(180deg, var(--drip-color), transparent);
    border-radius: 0 0 50% 50%;
    transform-origin: top center;
    animation: dripGrow 4s ease-in-out infinite;
}

/* Rounded droplet at tip */
.drip::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--drip-color);
    animation: dripBulge 4s ease-in-out infinite;
}

.drip-container--subtle .drip {
    opacity: 0.6;
}

@keyframes dripGrow {
    0%, 100% {
        transform: scaleY(0.4);
        opacity: 0.3;
    }
    30% {
        transform: scaleY(1);
        opacity: 1;
    }
    50% {
        transform: scaleY(1);
        opacity: 1;
    }
    70% {
        transform: scaleY(0.8);
        opacity: 0.6;
    }
}

@keyframes dripBulge {
    0%, 100% {
        transform: translateX(-50%) scale(0.5);
        opacity: 0;
    }
    35%, 55% {
        transform: translateX(-50%) scale(1);
        opacity: 1;
    }
    75% {
        transform: translateX(-50%) scale(1.4);
        opacity: 0;
    }
}

/* ==========================================
   SECTION WATERMARK ICONS
   ========================================== */
.section-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: clamp(15rem, 35vw, 30rem);
    color: var(--white);
    opacity: 0.015;
    pointer-events: none;
    z-index: 0;
    line-height: 1;
}

.section-watermark--right {
    left: auto;
    right: -5%;
    transform: translateY(-50%);
    font-size: clamp(12rem, 28vw, 25rem);
    opacity: 0.02;
}

.section-watermark--left {
    left: -5%;
    right: auto;
    transform: translateY(-50%);
    font-size: clamp(12rem, 28vw, 25rem);
    opacity: 0.02;
}

/* ==========================================
   SPLASH (Hero)
   ========================================== */
.splash {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    text-align: center;
    padding: 2rem;
    /* Subtle radial gradient behind hero */
    background: radial-gradient(ellipse at 50% 60%, rgba(201, 168, 76, 0.03) 0%, transparent 60%);
}

.splash__content {
    animation: fadeInUp 1.8s var(--ease-smooth) both;
}

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

/* --- Logo Mark --- */
.logo-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
    color: var(--gold);
    opacity: 0;
    animation: fadeIn 2s 0.3s var(--ease-smooth) forwards;
}

.logo-mark__x {
    font-size: 1.2rem;
    color: var(--gray-mid);
    font-family: var(--font-body);
    font-weight: 300;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

/* --- Brand Name --- */
.brand-name {
    font-family: var(--font-display);
    font-size: clamp(4rem, 12vw, 10rem);
    font-weight: 400;
    letter-spacing: 0.35em;
    color: var(--white);
    line-height: 1;
    margin-bottom: 0.5rem;
    text-shadow:
        0 0 60px rgba(201, 168, 76, 0.15),
        0 0 120px rgba(201, 168, 76, 0.05);
    opacity: 0;
    animation: fadeIn 2s 0.6s var(--ease-smooth) forwards;
}

/* --- Tagline --- */
.tagline {
    font-family: var(--font-heading);
    font-size: clamp(1rem, 3vw, 1.6rem);
    font-weight: 300;
    font-style: italic;
    letter-spacing: 0.5em;
    color: var(--gold);
    text-transform: uppercase;
    opacity: 0;
    animation: fadeIn 2s 1s var(--ease-smooth) forwards;
}

/* --- Divider --- */
.divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin: 2.5rem auto 0;
    opacity: 0;
    animation: fadeIn 2s 1.4s var(--ease-smooth) forwards;
}

.divider__line {
    display: block;
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-dim), transparent);
}

.divider__gem {
    font-size: 0.5rem;
    color: var(--gold-dim);
}

/* --- Scroll Hint --- */
.scroll-hint {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    margin-top: 2.5rem;
    font-family: var(--font-body);
    font-size: 0.85rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gray-mid);
    opacity: 0;
    animation: fadeIn 2s 1.8s var(--ease-smooth) forwards;
    cursor: pointer;
    transition: color 0.3s;
}

.scroll-hint:hover {
    color: var(--gold);
}

.scroll-hint i {
    animation: bounceDown 2s ease-in-out infinite;
}

@keyframes bounceDown {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(6px); }
}

/* ==========================================
   SECTION: About
   ========================================== */
.section-about {
    position: relative;
    z-index: 10;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 2rem;
    overflow: hidden;
    /* Multi-stop gradient with subtle color */
    background:
        linear-gradient(180deg,
            transparent 0%,
            rgba(10, 10, 10, 0.95) 10%,
            rgba(15, 13, 10, 0.98) 30%,
            rgba(20, 17, 12, 0.98) 50%,
            rgba(15, 13, 10, 0.98) 70%,
            rgba(10, 10, 10, 0.95) 90%,
            transparent 100%
        ),
        /* Subtle gold radial glow */
        radial-gradient(ellipse at 30% 50%, rgba(201, 168, 76, 0.03) 0%, transparent 50%),
        /* Subtle green accent from the right */
        radial-gradient(ellipse at 80% 40%, rgba(74, 124, 89, 0.025) 0%, transparent 40%);
}

.section-about__inner {
    max-width: 700px;
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s var(--ease-smooth), transform 0.8s var(--ease-smooth);
}

.section-about__inner.visible {
    opacity: 1;
    transform: translateY(0);
}

.about-icons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    font-size: 1.8rem;
    color: var(--gold-dim);
    margin-bottom: 2rem;
}

.section-about h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
}

.section-about p {
    font-size: 1.15rem;
    color: #bbb;
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

.about-badges {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.4rem;
    border: 1px solid rgba(201, 168, 76, 0.2);
    border-radius: 0;
    font-family: var(--font-body);
    font-size: 0.9rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #ccc;
    background: rgba(20, 20, 20, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    transition: border-color 0.3s, color 0.3s, background 0.3s;
}

.badge:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: rgba(30, 25, 15, 0.9);
}

.badge i {
    color: var(--gold);
    font-size: 0.95rem;
}

/* ==========================================
   SECTION: Two Lines
   ========================================== */
.section-lines {
    position: relative;
    z-index: 10;
    padding: 6rem 2rem;
    overflow: hidden;
    background:
        linear-gradient(180deg,
            transparent 0%,
            rgba(12, 11, 10, 0.98) 10%,
            rgba(14, 12, 10, 1) 50%,
            rgba(12, 11, 10, 0.98) 90%,
            transparent 100%
        ),
        radial-gradient(ellipse at 30% 50%, rgba(111, 168, 122, 0.02) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 50%, rgba(192, 184, 168, 0.02) 0%, transparent 50%);
}

.section-lines__inner {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.section-lines h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
}

.section-lines__intro {
    font-size: 1.15rem;
    color: #bbb;
    line-height: 1.8;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.lines-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.line-card {
    text-align: center;
    text-decoration: none;
    color: inherit;
    display: block;
    transition: border-color 0.4s, transform 0.4s var(--ease-smooth), box-shadow 0.4s;
}

.line-card:hover {
    border-color: rgba(201, 168, 76, 0.2);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6), 0 0 60px rgba(201, 168, 76, 0.04);
}

.line-card__icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.line-card h3 {
    font-family: var(--font-display);
    font-size: 2rem;
    letter-spacing: 0.3em;
    color: var(--white);
    margin-bottom: 0.25rem;
}

.line-card__source {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-style: italic;
    color: var(--gold);
    letter-spacing: 0.1em;
    margin-bottom: 1.25rem;
}

.line-card__desc {
    font-size: 0.95rem;
    color: #bbb;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.line-card__cta {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    transition: color 0.3s;
}

.line-card:hover .line-card__cta {
    color: var(--white);
}

.line-card__cta i {
    font-size: 0.7rem;
    margin-left: 0.3rem;
    transition: transform 0.3s;
}

.line-card:hover .line-card__cta i {
    transform: translateX(4px);
}

@media (max-width: 768px) {
    .lines-grid {
        grid-template-columns: 1fr;
        max-width: 450px;
        margin: 0 auto;
    }
}

/* ==========================================
   SECTION: Collection
   ========================================== */
.section-collection {
    position: relative;
    z-index: 10;
    padding: 6rem 2rem;
    overflow: hidden;
    /* Dark with subtle warm undertone gradient */
    background:
        linear-gradient(180deg,
            rgba(10, 10, 10, 0.98) 0%,
            rgba(12, 11, 10, 1) 30%,
            rgba(14, 12, 10, 1) 50%,
            rgba(12, 11, 10, 1) 70%,
            var(--black) 100%
        ),
        /* Subtle ember glow bottom-center */
        radial-gradient(ellipse at 50% 80%, rgba(139, 37, 0, 0.02) 0%, transparent 50%);
}

.section-collection__inner {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s var(--ease-smooth), transform 0.8s var(--ease-smooth);
}

.section-collection__inner.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-collection h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 3rem;
    letter-spacing: 0.05em;
}

.collection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.collection-card {
    text-align: center;
    transition: border-color 0.4s, transform 0.4s var(--ease-smooth), box-shadow 0.4s;
}

.collection-card:hover {
    border-color: rgba(201, 168, 76, 0.15);
    transform: translateY(-4px);
    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.5),
        0 0 60px rgba(201, 168, 76, 0.03);
}

.collection-card__icon {
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 1.5rem;
}

.collection-card h3 {
    font-family: var(--font-display);
    font-size: 2rem;
    letter-spacing: 0.3em;
    color: var(--white);
    margin-bottom: 0.75rem;
}

.collection-card p {
    font-family: var(--font-body);
    font-size: 1rem;
    color: #c0b8a8;
    letter-spacing: 0.1em;
}

/* ==========================================
   FOOTER
   ========================================== */
.site-footer {
    position: relative;
    z-index: 10;
    padding: 4rem 2rem;
    border-top: 1px solid var(--gray);
    text-align: center;
    background:
        linear-gradient(180deg, var(--black) 0%, rgba(12, 11, 10, 1) 100%),
        radial-gradient(ellipse at 50% 0%, rgba(201, 168, 76, 0.02) 0%, transparent 50%);
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    font-family: var(--font-display);
    font-size: 1.5rem;
    letter-spacing: 0.3em;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.footer-logo i {
    color: var(--gold-dim);
    font-size: 1rem;
}

.footer-tagline {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 0.9rem;
    color: var(--gray-mid);
    letter-spacing: 0.3em;
    margin-bottom: 2rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    font-family: var(--font-body);
    font-size: 0.9rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--gray-light);
    transition: color 0.3s;
}

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

.footer-copy {
    font-size: 0.75rem;
    color: var(--gray-mid);
    letter-spacing: 0.1em;
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 768px) {
    .glass-panel--hero {
        padding: 2.5rem 2rem 2rem;
    }

    .glass-panel--section {
        padding: 2rem 1.5rem;
    }

    .logo-mark {
        font-size: 1.8rem;
        gap: 0.75rem;
    }

    .about-badges {
        gap: 1rem;
    }

    .badge {
        font-size: 0.75rem;
        padding: 0.5rem 0.9rem;
    }

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

    .footer-links {
        gap: 1.5rem;
    }

    .section-watermark {
        font-size: 10rem;
    }

    .section-watermark--right,
    .section-watermark--left {
        font-size: 8rem;
    }
}

@media (max-width: 480px) {
    .glass-panel--hero {
        padding: 2rem 1.5rem 1.5rem;
    }

    .brand-name {
        letter-spacing: 0.2em;
    }

    .tagline {
        letter-spacing: 0.3em;
    }

    .about-badges {
        flex-direction: column;
        align-items: center;
    }
}

/* ==========================================
   UTILITIES
   ========================================== */
.js-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s var(--ease-smooth), transform 0.8s var(--ease-smooth);
}

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