﻿/* ============================================
   PRIME MINERAL LINK - COMPLETE STYLESHEET
   ============================================ */

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

:root {
    --primary: #C9A94E;
    --primary-dark: #B8963A;
    --primary-light: #E8D5A3;
    --secondary: #1A1A2E;
    --secondary-light: #2D2D44;
    --accent: #FFD700;
    --gold-gradient: linear-gradient(135deg, #C9A94E 0%, #FFD700 50%, #C9A94E 100%);
    --dark-gradient: linear-gradient(135deg, #0A0A15 0%, #1A1A2E 50%, #0A0A15 100%);
    --text-light: #FFFFFF;
    --text-dark: #1A1A2E;
    --text-muted: #B8B8C8;
    --font-primary: 'Playfair Display', serif;
    --font-secondary: 'Inter', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-secondary);
    color: var(--text-dark);
    line-height: 1.7;
    background: #F8F6F0;
    overflow-x: hidden;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 700;
}

.gold-text {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-badge {
    display: inline-block;
    background: rgba(201, 169, 78, 0.12);
    color: var(--primary);
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.section-title {
    font-size: 3.2rem;
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 600px;
    line-height: 1.8;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 16px 40px;
    border: none;
    border-radius: 8px;
    font-family: var(--font-secondary);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.4s ease;
}

.btn-primary {
    background: var(--gold-gradient);
    color: var(--text-dark);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(201, 169, 78, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--text-light);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary);
    transform: translateY(-3px);
}

.btn-whatsapp {
    background: #25D366;
    color: #fff;
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.btn-whatsapp:hover {
    background: #1DA851;
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(37, 211, 102, 0.3);
}

.service-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    transition: gap 0.3s;
}

.service-link:hover {
    gap: 16px;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    padding: 20px 0;
    transition: all 0.4s ease;
    background: transparent;
}

header.scrolled {
    background: rgba(10, 10, 21, 0.95);
    backdrop-filter: blur(20px);
    padding: 12px 0;
    border-bottom: 1px solid rgba(201, 169, 78, 0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-primary);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-light);
    text-decoration: none;
}

.logo span {
    color: var(--primary);
}

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

.nav-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold-gradient);
    transition: width 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-light);
}

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

.nav-cta {
    background: var(--gold-gradient);
    color: var(--text-dark) !important;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600 !important;
}

.nav-cta::after {
    display: none !important;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(201, 169, 78, 0.3);
    color: var(--text-dark) !important;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    width: 28px;
    height: 2px;
    background: var(--text-light);
    transition: all 0.3s ease;
}

/* Market Ticker */
.market-ticker {
    background: #0A0A15;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 10px 0;
    overflow: hidden;
    position: relative;
    z-index: 100;
    margin-top: 80px;
}

.ticker-container {
    display: flex;
    gap: 40px;
    animation: tickerScroll 20s linear infinite;
    white-space: nowrap;
}

@keyframes tickerScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
}

.ticker-label {
    font-weight: 600;
    color: var(--text-light);
}

.ticker-price {
    font-weight: 500;
}

.ticker-change {
    font-size: 0.8rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 4px;
}

.ticker-change.positive {
    color: #4CAF50;
    background: rgba(76, 175, 80, 0.1);
}

.ticker-change.negative {
    color: #f44336;
    background: rgba(244, 67, 54, 0.1);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--dark-gradient);
    position: relative;
    overflow: hidden;
    padding: 120px 0 80px;
}

.hero-video-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-video-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10, 10, 21, 0.85) 0%, rgba(10, 10, 21, 0.4) 100%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 4.2rem;
    line-height: 1.1;
    color: var(--text-light);
    margin-bottom: 8px;
}

.hero-content .sub-title {
    font-size: 1.4rem;
    color: var(--primary);
    font-weight: 400;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 520px;
    line-height: 1.9;
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.hero-stat h3 {
    font-size: 2.5rem;
    color: var(--text-light);
}

.hero-stat p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.gold-badge {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle at 30% 30%, rgba(201, 169, 78, 0.15), transparent 70%);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(201, 169, 78, 0.2);
    animation: floatBadge 6s ease-in-out infinite;
}

@keyframes floatBadge {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.gold-badge .icon {
    font-size: 6rem;
    margin-bottom: 10px;
}

.gold-badge h2 {
    font-size: 2.5rem;
    color: var(--text-light);
    text-align: center;
}

.gold-badge p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* Services */
.services {
    padding: 100px 0;
    background: #F8F6F0;
}

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

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

.service-card {
    background: #FFFFFF;
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(201, 169, 78, 0.15);
}

.service-card .icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.service-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Products */
.products {
    padding: 100px 0;
    background: var(--dark-gradient);
    color: var(--text-light);
}

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

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

.product-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s ease;
}

.product-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-4px);
    border-color: rgba(201, 169, 78, 0.3);
}

.product-card .product-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.product-card .product-body {
    padding: 24px;
}

.product-card h4 {
    font-size: 1.3rem;
    margin-bottom: 8px;
    color: #fff;
}

.product-card p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.95rem;
    line-height: 1.6;
}

.product-card .product-footer {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-card .availability {
    display: inline-block;
    background: rgba(201, 169, 78, 0.12);
    color: #C9A94E;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.product-card .inquire-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.product-card .inquire-link:hover {
    color: var(--primary-light);
}

/* Service Detail */
.service-detail {
    background: #F8F6F0;
    border-radius: 20px;
    padding: 50px;
    margin-bottom: 60px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    scroll-margin-top: 100px;
}

.service-detail .service-icon {
    font-size: 4rem;
    display: block;
    margin-bottom: 16px;
}

.service-detail h3 {
    font-size: 2rem;
    margin-bottom: 12px;
}

.service-detail p {
    color: #666;
    font-size: 1.05rem;
    line-height: 1.8;
}

.service-detail ul {
    margin-top: 20px;
    list-style: none;
    padding: 0;
}

.service-detail ul li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    color: #444;
}

.service-detail ul li:last-child {
    border-bottom: none;
}

.service-detail .service-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 16px;
}

/* Footer */
footer {
    background: #0A0A15;
    padding: 60px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-brand .logo {
    font-size: 1.6rem;
    margin-bottom: 12px;
    display: inline-block;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.95rem;
    max-width: 300px;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--primary);
    color: var(--text-dark);
}

.trust-badges {
    display: flex;
    gap: 12px;
    margin-top: 16px;
    flex-wrap: wrap;
}

.trust-badges span {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    padding: 4px 12px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
}

.footer-links h4 {
    color: var(--text-light);
    font-size: 1rem;
    margin-bottom: 16px;
}

.footer-links a,
.footer-links p {
    display: block;
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    padding: 6px 0;
    font-size: 0.9rem;
    transition: color 0.3s;
}

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

.footer-links p i {
    width: 20px;
    color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.85rem;
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.3);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s;
}

.footer-legal a:hover {
    color: var(--primary);
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25D366;
    color: #fff;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 30px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    z-index: 999;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 40px rgba(37, 211, 102, 0.5);
}

/* Scroll Top */
.scroll-top {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gold-gradient);
    color: var(--text-dark);
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 998;
    box-shadow: 0 4px 20px rgba(201, 169, 78, 0.3);
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(201, 169, 78, 0.4);
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    .hero-content p {
        margin: 0 auto 40px;
    }
    .hero-buttons {
        justify-content: center;
    }
    .hero-stats {
        justify-content: center;
    }
    .services-grid {
        grid-template-columns: 1fr 1fr;
    }
    .products-grid {
        grid-template-columns: 1fr 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .gold-badge {
        width: 300px;
        height: 300px;
    }
    .service-detail {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 30px;
    }
    .service-detail ul {
        text-align: left;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    .nav-links {
        display: none;
    }
    .menu-toggle {
        display: flex;
    }
    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(10, 10, 21, 0.98);
        padding: 30px;
        gap: 20px;
        align-items: center;
    }
    .hero-content h1 {
        font-size: 2.8rem;
    }
    .section-title {
        font-size: 2.2rem;
    }
    .services-grid {
        grid-template-columns: 1fr;
    }
    .products-grid {
        grid-template-columns: 1fr 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .hero-stats {
        grid-template-columns: 1fr 1fr;
    }
    .gold-badge {
        width: 220px;
        height: 220px;
    }
    .gold-badge .icon {
        font-size: 3.5rem;
    }
    .gold-badge h2 {
        font-size: 1.6rem;
    }
    .market-ticker {
        margin-top: 70px;
    }
    .service-detail {
        padding: 20px;
    }
    .service-detail .service-image {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }
    .products-grid {
        grid-template-columns: 1fr;
    }
    .hero-stats {
        grid-template-columns: 1fr;
    }
    .btn {
        padding: 14px 28px;
        font-size: 0.9rem;
    }
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        bottom: 20px;
        right: 20px;
    }
    .scroll-top {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        bottom: 80px;
        right: 20px;
    }
}