:root {
    --bg-dark: #050505;
    --bg-panel: rgba(20, 20, 20, 0.7);
    --gold-primary: #D4AF37;
    --gold-bright: #FEE140;
    --silver-primary: #C0C0C0;
    --silver-bright: #E0E0E0;
    --platinum-primary: #E5E4E2;
    --text-main: #ffffff;
    --text-muted: #aaaaaa;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Outfit', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.text-gold {
    background: linear-gradient(to right, #BF953F, #FCF6BA, #B38728, #FBF5B7, #AA771C);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.text-silver {
    background: linear-gradient(to right, #A0A0A0, #E0E0E0, #909090);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.btn-primary {
    background: linear-gradient(45deg, var(--gold-primary), #B38728);
    color: #000;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--gold-primary);
    color: var(--gold-primary);
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    display: inline-block;
}

.btn-secondary:hover {
    background: rgba(212, 175, 55, 0.1);
    color: var(--gold-bright);
    border-color: var(--gold-bright);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 0;
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.logo-text {
    color: #ffffff;
    text-transform: uppercase;
}

.logo img {
    height: 50px;
    width: auto;
    object-fit: contain;
    border-radius: 0;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a:not(.btn-primary):hover {
    color: var(--gold-primary);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Language Selector */
.lang-selector {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-left: 1rem;
    padding-left: 1.5rem;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.lang-selector a {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    transition: color 0.3s;
}

.lang-selector a:hover,
.lang-selector a.active {
    color: var(--gold-primary);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

#dust-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    /* Background level */
    opacity: 0.8;
    /* More visible */
}

/* Ensure content is above dust */
.video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.video-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 5, 5, 0.85);
    /* Darken video more */
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 1rem;
    line-height: 1.1;
    text-transform: uppercase;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-metals-list {
    font-family: monospace;
    color: var(--gold-primary);
    margin-bottom: 3rem;
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    font-size: 0.8rem;
    color: var(--text-muted);
    opacity: 0.7;
    z-index: 1;
}

.scroll-indicator .mouse {
    width: 20px;
    height: 35px;
    border: 2px solid var(--text-muted);
    border-radius: 10px;
    position: relative;
}

.scroll-indicator .mouse::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 6px;
    background: var(--text-muted);
    border-radius: 2px;
    animation: scrollMouse 2s infinite;
}

@keyframes scrollMouse {
    0% {
        transform: translate(-50%, 0);
        opacity: 1;
    }

    100% {
        transform: translate(-50%, 15px);
        opacity: 0;
    }
}

/* Metal Sections */
.metal-section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.metal-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
}

.metal-container.reverse {
    direction: rtl;
}

.metal-container.reverse>* {
    direction: ltr;
}

.metal-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.metal-list {
    list-style: none;
}

.metal-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.05rem;
}

.metal-list li i {
    color: var(--gold-primary);
}

#silver .metal-list li i {
    color: var(--silver-primary);
}

.img-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    opacity: 0.4;
}

.gold-glow {
    background: var(--gold-primary);
}

.silver-glow {
    background: var(--silver-primary);
}

.metal-image-wrapper {
    position: relative;
    border-radius: 20px;
    /* overflow: hidden; Removed to allow glow to spill a bit if needed, or kept but careful */
    overflow: visible;
}

.metal-img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: transform 0.5s ease;
    position: relative;
    z-index: 1;
}

/* Premium Metals Grid */
.metals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.metal-card {
    background: rgba(30, 30, 30, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease, background 0.3s;
    position: relative;
    overflow: hidden;
}

.metal-card:hover {
    background: rgba(40, 40, 40, 0.8);
    transform: translateY(-10px);
    border-color: var(--text-muted);
}

.card-img {
    height: 200px;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 1.5rem;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.metal-card:hover .card-img img {
    transform: scale(1.1);
}

.metal-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #fff;
}

.metal-card ul {
    list-style: none;
    text-align: left;
    color: var(--text-muted);
    padding-left: 1rem;
}

.metal-card ul li {
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 15px;
}

.metal-card ul li::before {
    content: '•';
    color: var(--gold-primary);
    position: absolute;
    left: 0;
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
}

.glass-panel {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
}

.contact-info {
    padding: 3rem;
}

.contact-map {
    height: 100%;
    min-height: 400px;
}

.contact-map iframe {
    filter: invert(90%) hue-rotate(180deg) grayscale(20%) contrast(1.1);
    mix-blend-mode: luminosity;
    /* Helps blend with dark theme */
    opacity: 0.8;
}

.contact-row {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.c-item {
    display: flex;
    gap: 1.5rem;
}

.c-item i {
    font-size: 1.5rem;
    color: var(--gold-primary);
    margin-top: 5px;
}

.c-item h4 {
    color: #fff;
    margin-bottom: 5px;
}

.c-item p {
    color: var(--text-muted);
}

.map-link {
    color: var(--gold-primary);
    font-size: 0.9rem;
    font-weight: 600;
}

.company-details {
    margin-top: 3rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Footer */
footer {
    padding: 2rem 0;
    background: #000;
    text-align: center;
    color: #555;
    font-size: 0.9rem;
}

/* Info Cards Section */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.info-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
}

.info-card i {
    font-size: 2.5rem;
    color: var(--gold-primary);
    margin-bottom: 1.5rem;
}

.info-card h3 {
    margin-bottom: 1rem;
    color: #fff;
    font-size: 1.3rem;
}

.info-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    text-align: center;
    /* Back to center for better spacing */
}

/* Improve Text Alignment */
.metal-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    text-align: left;
    /* Back to left for readability */
    line-height: 1.8;
    /* Increased line-height for "continuous" feel */
}

/* Responsive */
@media (max-width: 900px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .metal-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .metal-container.reverse {
        direction: ltr;
        /* Reset for mobile stack */
    }

    .glass-panel {
        grid-template-columns: 1fr;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: #000;
        flex-direction: column;
        padding: 2rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }
}

/* -- EDITOR PREVIEW OVERRIDES -- */
/* Forces mobile layout when inside the editor's mobile preview mode, 
   since the viewport width is still desktop size. */

body.preview-mobile .hero-title {
    font-size: 2.5rem;
}

body.preview-mobile .metal-container,
body.preview-tablet .metal-container {
    grid-template-columns: 1fr;
    gap: 2rem;
}

body.preview-mobile .metal-container.reverse,
body.preview-tablet .metal-container.reverse {
    direction: ltr;
}

body.preview-mobile .glass-panel,
body.preview-tablet .glass-panel {
    grid-template-columns: 1fr;
}

/* Navigation is handled in UniWeb Editor CSS, but ensuring fallback here */
body.preview-mobile .nav-links,
body.preview-tablet .nav-links {
    display: none !important;
}

body.preview-mobile .nav-links.active,
body.preview-tablet .nav-links.active {
    display: flex !important;
}

body.preview-mobile .menu-toggle,
body.preview-tablet .menu-toggle {
    display: block !important;
}