/* ═══════════════════════════════════════
   ENCEP OPALS — Premium Gemstone Website
   Style: Dark Luxury + Opal Iridescence
   ═══════════════════════════════════════ */

:root {
    --bg:        #0a0a0f;
    --bg2:       #0f0f1a;
    --bg3:       #13131f;
    --gold:      #c9a84c;
    --gold-light:#e8c96e;
    --white:     #f5f0e8;
    --gray:      #8b8b9e;
    --border:    rgba(201,168,76,0.15);
    --radius:    16px;
    --radius-lg: 24px;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--white);
    overflow-x: hidden;
    line-height: 1.6;
}

/* ── TYPOGRAPHY ── */
h1,h2,h3 { font-family: 'Cormorant Garamond', serif; line-height: 1.2; }
h1 { font-size: clamp(2.8rem, 6vw, 5rem); font-weight: 700; }
h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 600; }
h3 { font-size: 1.25rem; font-weight: 600; }
em { font-style: italic; color: var(--gold-light); }
a  { text-decoration: none; color: inherit; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; }

/* ── OPAL SHIMMER ANIMATION ── */
@keyframes shimmer {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
@keyframes pulse-glow {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50%       { opacity: 1;   transform: scale(1.05); }
}
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50%       { transform: translateY(-15px); }
}
@keyframes marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}
@keyframes spin-slow {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

/* ── OPAL TYPES CSS ── */
.opal-eth {
    background: linear-gradient(135deg, #e0f0ff, #c8f0d8, #ffe8d0, #d4c8ff, #b0e8ff, #ffd4e8, #c8ffd8);
    background-size: 400% 400%;
    animation: shimmer 6s ease infinite;
}
.opal-black {
    background: linear-gradient(135deg, #0a0a1a, #001a00, #1a0a00, #0d0d2e, #002020, #000000, #0d2000);
    background-size: 400% 400%;
    animation: shimmer 4s ease infinite;
    position: relative;
    overflow: hidden;
}
.opal-black::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(125deg, transparent 30%, rgba(0,255,80,0.5) 45%, rgba(255,50,0,0.4) 55%, transparent 70%);
    background-size: 300% 300%;
    animation: shimmer 3s ease infinite;
}
.opal-fire {
    background: linear-gradient(135deg, #ff4500, #ff7700, #ffaa00, #ff5500, #ff9900, #ff3300);
    background-size: 300% 300%;
    animation: shimmer 3s ease infinite;
}
.opal-crystal {
    background: linear-gradient(135deg, #e8f8ff, #d0f0ff, #f0d8ff, #d8f8e8, #fff0d8, #e8d8ff);
    background-size: 400% 400%;
    animation: shimmer 5s ease infinite;
}
.opal-beads {
    background: linear-gradient(135deg, #fff5e0, #ffe8c8, #ffd0a0, #ffe0c0, #ffeedd, #f8e8c0);
    background-size: 300% 300%;
    animation: shimmer 4s ease infinite;
    position: relative;
    overflow: hidden;
}
.opal-beads::after {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(circle at 30% 40%, rgba(255,200,100,0.6) 0%, transparent 40%),
                radial-gradient(circle at 70% 60%, rgba(200,230,255,0.5) 0%, transparent 40%),
                radial-gradient(circle at 50% 20%, rgba(180,255,200,0.4) 0%, transparent 30%);
}
.opal-raw {
    background: linear-gradient(135deg, #8b7355, #6b5430, #9b8360, #7a6040, #c8a870, #4a3520);
    background-size: 300% 300%;
    animation: shimmer 5s ease infinite;
    position: relative;
    overflow: hidden;
}
.opal-raw::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(125deg, transparent 40%, rgba(100,200,255,0.4) 50%, rgba(100,255,100,0.3) 60%, transparent 70%);
    background-size: 300% 300%;
    animation: shimmer 3s ease infinite;
}

.opal-shimmer {
    position: absolute; inset: 0;
    background: linear-gradient(125deg, transparent 20%, rgba(255,255,255,0.25) 40%, transparent 60%);
    background-size: 200% 200%;
    animation: shimmer 2s ease infinite;
    pointer-events: none;
}

/* ══════════════════════════════
   NAVBAR
══════════════════════════════ */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(10,10,15,0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: all 0.3s ease;
}
.navbar.scrolled { background: rgba(10,10,15,0.97); }
.nav-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; height: 72px; display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo-gem { font-size: 1.8rem; color: var(--gold); animation: pulse-glow 2s ease infinite; }
.logo-text { font-family: 'Cormorant Garamond', serif; font-size: 1.4rem; font-weight: 700; letter-spacing: 1px; }
.logo-text em { font-style: italic; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { font-size: 0.875rem; font-weight: 500; color: var(--gray); transition: color 0.2s; }
.nav-links a:hover { color: var(--white); }
.btn-nav {
    padding: 8px 20px; background: var(--gold); color: #0a0a0f;
    border-radius: 100px; font-weight: 700; font-size: 0.8rem;
    transition: all 0.2s; white-space: nowrap;
}
.btn-nav:hover { background: var(--gold-light); transform: translateY(-1px); }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--white); transition: all 0.3s; border-radius: 2px; }

/* ══════════════════════════════
   HERO
══════════════════════════════ */
.hero {
    min-height: 100vh;
    display: flex; align-items: center; justify-content: center;
    position: relative; overflow: hidden;
    text-align: center; padding: 120px 24px 80px;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.opal-orb {
    position: absolute; border-radius: 50%;
    filter: blur(80px); opacity: 0.35;
    animation: float 8s ease-in-out infinite;
}
.orb1 { width: 500px; height: 500px; background: radial-gradient(circle, #7c3aed, #2563eb, transparent); top: -100px; left: -100px; animation-delay: 0s; }
.orb2 { width: 400px; height: 400px; background: radial-gradient(circle, #059669, #0891b2, transparent); bottom: -80px; right: -80px; animation-delay: -3s; }
.orb3 { width: 300px; height: 300px; background: radial-gradient(circle, #dc2626, #ea580c, transparent); top: 50%; left: 50%; transform: translate(-50%,-50%); animation-delay: -5s; }
.orb4 { width: 200px; height: 200px; background: radial-gradient(circle, #ca8a04, #d97706, transparent); top: 20%; right: 15%; animation-delay: -2s; }
.stars { position: absolute; inset: 0; background-image: radial-gradient(1px 1px at 20% 30%, rgba(255,255,255,0.4) 0, transparent 100%), radial-gradient(1px 1px at 80% 10%, rgba(255,255,255,0.3) 0, transparent 100%), radial-gradient(1px 1px at 50% 70%, rgba(255,255,255,0.35) 0, transparent 100%), radial-gradient(1px 1px at 30% 80%, rgba(255,255,255,0.25) 0, transparent 100%), radial-gradient(1px 1px at 70% 50%, rgba(255,255,255,0.3) 0, transparent 100%); }

.hero-content { position: relative; z-index: 1; max-width: 800px; }
.hero-tag {
    display: inline-block; padding: 6px 18px;
    border: 1px solid var(--gold); border-radius: 100px;
    color: var(--gold); font-size: 0.8rem; font-weight: 600;
    letter-spacing: 1.5px; text-transform: uppercase;
    margin-bottom: 24px; backdrop-filter: blur(8px);
    background: rgba(201,168,76,0.1);
}
.hero-title { margin-bottom: 20px; text-shadow: 0 0 60px rgba(201,168,76,0.3); }
.hero-sub { color: rgba(245,240,232,0.7); font-size: 1.1rem; max-width: 560px; margin: 0 auto 36px; }
.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 56px; }
.hero-stats { display: flex; align-items: center; gap: 32px; justify-content: center; flex-wrap: wrap; }
.stat { text-align: center; }
.stat-num { display: block; font-family: 'Cormorant Garamond', serif; font-size: 2rem; font-weight: 700; color: var(--gold); }
.stat-label { font-size: 0.75rem; color: var(--gray); letter-spacing: 1px; text-transform: uppercase; }
.stat-divider { width: 1px; height: 40px; background: var(--border); }
.hero-scroll { position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; }
.hero-scroll span { font-size: 0.7rem; letter-spacing: 2px; text-transform: uppercase; color: var(--gray); }
.scroll-line { width: 1px; height: 48px; background: linear-gradient(to bottom, var(--gold), transparent); animation: pulse-glow 2s ease infinite; }

/* ── BUTTONS ── */
.btn-primary {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 32px; background: var(--gold); color: #0a0a0f;
    border-radius: 100px; font-weight: 700; font-size: 0.9rem;
    border: none; cursor: pointer;
    transition: all 0.25s; box-shadow: 0 8px 32px rgba(201,168,76,0.3);
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 12px 40px rgba(201,168,76,0.4); }
.btn-ghost {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 32px; background: transparent; color: var(--white);
    border-radius: 100px; font-weight: 600; font-size: 0.9rem;
    border: 1px solid rgba(245,240,232,0.3);
    transition: all 0.25s;
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.w-full { width: 100%; justify-content: center; }

/* ══════════════════════════════
   MARQUEE
══════════════════════════════ */
.marquee-bar {
    background: var(--gold); color: #0a0a0f;
    padding: 14px 0; overflow: hidden;
}
.marquee-track {
    display: flex; gap: 48px; width: max-content;
    animation: marquee 25s linear infinite;
    font-size: 0.8rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
}
.marquee-track span { white-space: nowrap; }

/* ══════════════════════════════
   SECTION HEADER
══════════════════════════════ */
.section-header { text-align: center; max-width: 600px; margin: 0 auto 64px; }
.section-tag {
    display: inline-block; padding: 5px 16px;
    border: 1px solid var(--gold); border-radius: 100px;
    color: var(--gold); font-size: 0.75rem; font-weight: 600;
    letter-spacing: 2px; text-transform: uppercase; margin-bottom: 16px;
}
.section-header h2 { margin-bottom: 16px; }
.section-header p { color: var(--gray); font-size: 1rem; }

/* ══════════════════════════════
   COLLECTIONS / PRODUCTS
══════════════════════════════ */
.collections { background: var(--bg); }

.filter-bar { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 48px; }
.filter-btn {
    padding: 8px 20px; border-radius: 100px; font-size: 0.85rem; font-weight: 600;
    background: transparent; color: var(--gray); border: 1px solid rgba(139,139,158,0.3);
    cursor: pointer; transition: all 0.2s;
}
.filter-btn:hover { color: var(--white); border-color: var(--white); }
.filter-btn.active { background: var(--gold); color: #0a0a0f; border-color: var(--gold); }

.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.product-card {
    background: var(--bg2); border: 1px solid var(--border);
    border-radius: var(--radius-lg); overflow: hidden;
    transition: all 0.3s ease; display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-6px); border-color: rgba(201,168,76,0.4); box-shadow: 0 20px 60px rgba(0,0,0,0.5); }
.product-card.hidden { display: none; }

.product-img {
    height: 200px; position: relative; overflow: hidden;
}
.product-badge {
    position: absolute; top: 12px; left: 12px;
    padding: 4px 12px; border-radius: 100px;
    background: var(--gold); color: #0a0a0f;
    font-size: 0.7rem; font-weight: 700; letter-spacing: 1px;
    z-index: 2;
}
.badge-rare { background: linear-gradient(135deg, #1a1a2e, #16213e); color: #00ff80; border: 1px solid #00ff80; }
.badge-hot  { background: #ff4500; color: white; }
.badge-natural { background: #065f46; color: #6ee7b7; }
.product-origin {
    position: absolute; bottom: 12px; right: 12px;
    padding: 4px 10px; border-radius: 8px;
    background: rgba(0,0,0,0.6); backdrop-filter: blur(8px);
    font-size: 0.75rem; z-index: 2;
}
.product-info { padding: 24px; display: flex; flex-direction: column; flex: 1; gap: 8px; }
.product-cat { font-size: 0.7rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); }
.product-info h3 { font-size: 1.1rem; color: var(--white); }
.product-info p  { font-size: 0.85rem; color: var(--gray); flex: 1; }
.product-footer { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; gap: 12px; flex-wrap: wrap; }
.product-price { font-size: 0.8rem; color: var(--gray); font-style: italic; }
.btn-order {
    padding: 8px 18px; background: transparent; color: var(--gold);
    border: 1px solid var(--gold); border-radius: 100px;
    font-size: 0.8rem; font-weight: 700; transition: all 0.2s; white-space: nowrap;
}
.btn-order:hover { background: var(--gold); color: #0a0a0f; }

.more-cta { text-align: center; margin-top: 56px; }
.more-cta p { color: var(--gray); margin-bottom: 20px; }

/* ══════════════════════════════
   WHY US
══════════════════════════════ */
.why-us { background: var(--bg2); }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.why-card {
    background: var(--bg3); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 32px 24px;
    transition: all 0.3s; text-align: center;
}
.why-card:hover { transform: translateY(-4px); border-color: rgba(201,168,76,0.3); }
.why-icon { font-size: 2.5rem; margin-bottom: 16px; }
.why-card h3 { font-size: 1rem; margin-bottom: 12px; color: var(--white); }
.why-card p { font-size: 0.85rem; color: var(--gray); line-height: 1.7; }

/* ══════════════════════════════
   ABOUT
══════════════════════════════ */
.about { background: var(--bg); }
.about-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-visual { display: flex; align-items: center; justify-content: center; }
.about-gem-display { position: relative; width: 300px; height: 300px; }
.gem-big { width: 260px; height: 260px; border-radius: 50%; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); animation: float 6s ease-in-out infinite; box-shadow: 0 0 80px rgba(201,168,76,0.2); }
.gem-small { width: 100px; height: 100px; border-radius: 50%; position: absolute; animation: float 4s ease-in-out infinite; box-shadow: 0 0 40px rgba(0,0,0,0.5); }
.about-text { display: flex; flex-direction: column; gap: 20px; }
.about-text .section-tag { text-align: left; }
.about-text h2 { text-align: left; }
.about-text p { color: var(--gray); line-height: 1.8; }
.about-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.about-tags span {
    padding: 6px 16px; border-radius: 100px;
    border: 1px solid var(--border); color: var(--gold);
    font-size: 0.8rem; font-weight: 600;
    background: rgba(201,168,76,0.08);
}

/* ══════════════════════════════
   GALLERY
══════════════════════════════ */
.gallery-section { background: var(--bg2); }
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 240px 240px;
    gap: 16px;
}
.gallery-item {
    border-radius: var(--radius); overflow: hidden;
    position: relative; cursor: pointer;
    transition: all 0.3s; border: 1px solid var(--border);
}
.gallery-item:hover { transform: scale(1.02); border-color: rgba(201,168,76,0.4); box-shadow: 0 20px 40px rgba(0,0,0,0.5); }
.g-large { grid-column: span 2; }
.gallery-label {
    position: absolute; bottom: 0; left: 0; right: 0;
    padding: 12px 16px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    font-size: 0.85rem; font-weight: 600; z-index: 2;
}
.gallery-note { text-align: center; margin-top: 24px; color: var(--gray); font-size: 0.9rem; }

/* ══════════════════════════════
   TESTIMONIALS
══════════════════════════════ */
.testimonials { background: var(--bg); }
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testi-card {
    background: var(--bg2); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 28px;
}
.featured-testi { border-color: rgba(201,168,76,0.4); background: linear-gradient(135deg, rgba(201,168,76,0.06), var(--bg2)); }
.testi-stars { color: var(--gold); font-size: 1rem; margin-bottom: 16px; letter-spacing: 2px; }
.testi-card p { color: var(--gray); font-size: 0.9rem; line-height: 1.8; margin-bottom: 20px; font-style: italic; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1rem; flex-shrink: 0; }
.testi-author strong { font-size: 0.9rem; }
.testi-author small { color: var(--gray); font-size: 0.8rem; }

/* ══════════════════════════════
   CONTACT
══════════════════════════════ */
.contact { background: var(--bg2); }
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 20px; }
.contact-info .section-tag { text-align: left; }
.contact-info h2 { text-align: left; }
.contact-info > p { color: var(--gray); line-height: 1.8; }
.contact-channels { display: flex; flex-direction: column; gap: 12px; }
.channel-card {
    display: flex; align-items: center; gap: 16px;
    padding: 16px 20px; background: var(--bg3);
    border: 1px solid var(--border); border-radius: var(--radius);
    transition: all 0.2s;
}
.channel-card:hover { border-color: rgba(201,168,76,0.3); transform: translateX(4px); }
.channel-icon { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0; }
.channel-card strong { display: block; font-size: 0.9rem; }
.channel-card small { color: var(--gray); font-size: 0.8rem; }

.contact-form {
    background: var(--bg3); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 36px;
}
.contact-form h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; margin-bottom: 24px; color: var(--gold-light); }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 0.8rem; font-weight: 600; margin-bottom: 8px; color: var(--gray); text-transform: uppercase; letter-spacing: 1px; }
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%; padding: 12px 16px;
    background: var(--bg2); border: 1px solid var(--border);
    border-radius: 10px; color: var(--white); font-size: 0.9rem;
    font-family: 'Inter', sans-serif; outline: none; transition: border 0.2s;
    resize: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--gold); }
.form-group select option { background: var(--bg2); }

/* ══════════════════════════════
   FOOTER
══════════════════════════════ */
.footer { background: #050508; border-top: 1px solid var(--border); padding: 64px 0 0; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; padding-bottom: 48px; }
.footer-brand { display: flex; flex-direction: column; gap: 16px; }
.footer-brand p { color: var(--gray); font-size: 0.85rem; line-height: 1.7; max-width: 280px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links strong { color: var(--white); font-size: 0.85rem; margin-bottom: 4px; }
.footer-links a { color: var(--gray); font-size: 0.85rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid var(--border); padding: 20px 0; text-align: center; }
.footer-bottom p { color: var(--gray); font-size: 0.8rem; }

/* ══════════════════════════════
   RESPONSIVE
══════════════════════════════ */
@media (max-width: 1024px) {
    .products-grid { grid-template-columns: repeat(2, 1fr); }
    .why-grid { grid-template-columns: repeat(2, 1fr); }
    .about-inner { grid-template-columns: 1fr; gap: 48px; }
    .about-visual { display: none; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: auto; }
    .g-large { grid-column: span 2; }
    .testi-grid { grid-template-columns: 1fr; }
    .contact-inner { grid-template-columns: 1fr; gap: 40px; }
    .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .nav-links { display: none; position: absolute; top: 72px; left: 0; right: 0; background: rgba(10,10,15,0.98); flex-direction: column; padding: 24px; gap: 20px; border-bottom: 1px solid var(--border); }
    .nav-links.open { display: flex; }
    .hamburger { display: flex; }
    .products-grid { grid-template-columns: 1fr; }
    .why-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: 1fr; }
    .g-large { grid-column: span 1; }
    .footer-inner { grid-template-columns: 1fr; }
    .hero-stats { gap: 20px; }
    .stat-divider { display: none; }
}
