:root {
    --gold-primary: #D4AF37;
    --gold-light: #F4C430;
    --gold-dark: #AA8C2C;
    --black-bg: #050505;
    --black-card: #0a0a0a;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --text-main: #ffffff;
    --text-muted: #888888;
    --transition-speed: 0.3s;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* {
    box-sizing: border-box;
    scrollbar-width: thin;
    scrollbar-color: var(--gold-dark) var(--black-bg);
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-body);
    background-color: var(--black-bg);
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--text-main);
    margin-bottom: 1rem;
}

.text-gold {
    color: var(--gold-primary);
    background: linear-gradient(135deg, #FFE5B4, var(--gold-light), var(--gold-primary), var(--gold-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 5%;
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    height: 40px;
    width: auto;
}

.logo-text {
    font-family: 'Cinzel', serif;
    font-size: 1.3rem;
    /* Slightly reduced to fit full name if needed, or keep 1.5 */
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--gold-primary);
    background: linear-gradient(135deg, #FFE5B4, var(--gold-primary), var(--gold-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hamburger {
    display: none;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-speed);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 100px 5%;
    background: radial-gradient(circle at center, #111 0%, var(--black-bg) 70%);
    overflow: hidden;
}

.hero-content {
    z-index: 2;
    text-align: center;
    max-width: 800px;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 800;
    text-shadow: 0 0 40px rgba(0, 0, 0, 0.8);
    /* Separation from background */
}

.hero p {
    font-size: 1.25rem;
    color: #ffffff;
    /* Was var(--text-muted) */
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.9);
    /* Strong shadow for readability */
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn {
    display: inline-block;
    padding: 12px 32px;
    background: var(--gold-primary);
    color: var(--black-bg);
    text-decoration: none;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition-speed);
    border: 1px solid var(--gold-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.btn:hover {
    background: transparent;
    color: var(--gold-primary);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

.hero-3d-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.3;
    /* Background texture/particles would go here */
    background-image: radial-gradient(circle at 20% 50%, rgba(212, 175, 55, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(212, 175, 55, 0.08) 0%, transparent 40%);
}

/* Hero Canvas for Scrollytelling */
#hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    /* Behind content */
    opacity: 1;
    /* Full opacity for clarity */
    mix-blend-mode: lighten;
    /* Clean blending */
    filter: contrast(1.4) saturate(0.7) brightness(0.9);
    /* Toned down orange, clearer gold */
    -webkit-mask-image: radial-gradient(circle, rgba(0, 0, 0, 1) 60%, rgba(0, 0, 0, 0) 100%);
    mask-image: radial-gradient(circle, rgba(0, 0, 0, 1) 60%, rgba(0, 0, 0, 0) 100%);
    /* Fade edges for seamless blending */
}

@media (max-width: 768px) {
    #hero-canvas {
        opacity: 0.9;
        /* Parity with desktop */
    }
}

/* Vignette Overlay for Smoothness */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 40%, var(--black-bg) 90%);
    z-index: 1;
    pointer-events: none;
}

@media (max-width: 768px) {
    #hero-canvas {
        opacity: 0.5;
    }
}


/* Sections General */
.section {
    padding: 100px 5%;
    position: relative;
}

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

.section-header h2 {
    font-size: 3rem;
    background: linear-gradient(to right, #fff, #999);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-header .subtitle {
    color: var(--gold-primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-card {
    background: var(--black-card);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
}

.stat-row {
    display: flex;
    gap: 40px;
    margin-top: 30px;
}

.stat h3 {
    font-size: 2.5rem;
    color: var(--gold-primary);
    margin-bottom: 5px;
}

/* Products Section */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--glass-bg);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    transition: transform var(--transition-speed);
    border: 1px solid rgba(255, 255, 255, 0.05);
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-10px);
    border-color: var(--gold-primary);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.product-img {
    width: 100%;
    height: 250px;
    object-fit: contain;
    margin-bottom: 20px;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.5));
}

/* Markets Section */
.markets-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.market-pill {
    padding: 15px 30px;
    background: var(--black-card);
    border: 1px solid var(--gold-dark);
    border-radius: 50px;
    color: var(--text-main);
    font-weight: 600;
}

/* Contact Section */
.contact-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--black-card);
    padding: 50px;
    border-radius: 20px;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.form-input {
    width: 100%;
    padding: 15px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--text-main);
    font-family: var(--font-body);
    transition: var(--transition-speed);
}

.form-input:focus {
    outline: none;
    border-color: var(--gold-primary);
    background: rgba(212, 175, 55, 0.05);
}

textarea.form-input {
    min-height: 120px;
    resize: vertical;
}

.submit-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, var(--gold-priority), var(--gold-dark));
    /* Typo fix: gold-priority not defined, fallback */
    background: var(--gold-primary);
    color: var(--black-bg);
    border: none;
    border-radius: 8px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition-speed);
}

.submit-btn:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
}

.contact-info-footer {
    display: flex;
    align-items: center;
    gap: 20px;
    text-align: left;
    margin-top: 50px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
}

.contact-footer-logo {
    width: 300px;
    height: auto;
    mix-blend-mode: screen;
}

.contact-info-footer p {
    color: var(--text-muted);
    margin: 5px 0;
}

/* Footer */
footer {
    background: #000;
    padding: 50px 5%;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    color: var(--text-muted);
}

/* Mobile */
/* Mobile Navigation */
@media (max-width: 768px) {
    .navbar {
        padding: 15px 20px;
        justify-content: space-between;
    }

    .logo-img {
        height: 30px;
    }

    .logo-text {
        font-size: 0.9rem;
    }

    .hamburger {
        display: block;
        cursor: pointer;
        z-index: 1001;
    }

    .bar {
        width: 25px;
        height: 3px;
        background-color: var(--gold-primary);
        margin: 5px 0;
        transition: 0.3s;
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 70%;
        background-color: rgba(0, 0, 0, 0.95);
        align-items: center;
        justify-content: center;
        transition: 0.4s;
        z-index: 1000;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.5);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        margin: 20px 0;
    }

    /* Animate Hamburger */
    .hamburger.active .bar:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    .hero h1 {
        font-size: 2.2rem;
    }

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

    .contact-container {
        padding: 20px;
    }

    .markets-container {
        flex-direction: column;
        align-items: center;
    }

    .contact-info-footer {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .contact-footer-logo {
        width: 150px;
        margin-bottom: 20px;
    }
}

/* Visibility Utilities */
@media (min-width: 769px) {
    .desktop-only {
        display: block !important;
    }

    .mobile-only {
        display: none !important;
    }
}

#markets {
    background: linear-gradient(rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.85)), url('../assets/images/global_map.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    /* Parallax effect */
}

@media (max-width: 768px) {
    .desktop-only {
        display: none !important;
    }

    .mobile-only {
        display: block !important;
    }
}

/* Ensure Hero Images are visible */
.hero-floating-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    /* Let clicks pass through to text/buttons */
    z-index: 5;
    /* Ensure it is above the background but below navbar */
}

.hero-floating-container img {
    pointer-events: auto;
    /* Re-enable pointer events on images if needed */
}

/* Mobile adjustments for 3D elements */
@media (max-width: 768px) {
    .hero-floating-container {
        opacity: 0.3;
        /* Dim them on mobile so text is readable */
        z-index: 0;
    }

    .hero-iphone {
        width: 200px !important;
        right: -50px !important;
        top: 30% !important;
    }

    .hero-macbook {
        display: none;
        /* Hide secondary bulky items on mobile */
    }

    .hero-watch {
        width: 120px !important;
        right: -20px !important;
        bottom: 10% !important;
    }
}