/* assets/css/style.css */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

:root {
    --color-bg: #050505; /* Deeper black */
    --color-bg-secondary: #0f0f0f;
    --color-surface: rgba(255, 255, 255, 0.02);
    --color-surface-hover: rgba(255, 255, 255, 0.06);
    --color-text: #e0e0e0;
    --color-text-muted: #888888;
    --color-accent: #d4af37; /* Richer Gold */
    --color-accent-hover: #f1c40f;
    --color-border: rgba(212, 175, 55, 0.15);
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    
    --transition-fast: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-slow: 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

body {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 400;
    line-height: 1.2;
    color: #ffffff;
}

a { color: var(--color-text); text-decoration: none; transition: color var(--transition-fast); }
a:hover { color: var(--color-accent); }

.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 2rem; }

/* Top Bar (Socials) */
.top-bar {
    background: #000;
    padding: 0.5rem 0;
    font-size: 0.8rem;
    color: var(--color-text-muted);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.top-socials a {
    color: var(--color-text-muted);
    margin-left: 1rem;
    font-size: 1rem;
}
.top-socials a:hover { color: var(--color-accent); }

/* Header & Nav */
header {
    position: fixed;
    top: 35px; /* below top bar */
    width: 100%;
    z-index: 100;
    padding: 1.5rem 0;
    transition: all var(--transition-fast);
    border-bottom: 1px solid transparent;
}

header.scrolled {
    top: 0;
    background: rgba(5, 5, 5, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 1rem 0;
    border-bottom: 1px solid var(--color-border);
}

.nav-container { display: flex; justify-content: space-between; align-items: center; }
.logo img { height: 45px; transition: transform var(--transition-fast); }
.logo:hover img { transform: scale(1.05); }

.nav-links { display: flex; gap: 2.5rem; list-style: none; }
.nav-links li a {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
    position: relative;
    padding-bottom: 5px;
}
.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 1px;
    background: var(--color-accent);
    transition: width var(--transition-fast);
}
.nav-links li a:hover::after { width: 100%; }

.lang-switch { display: flex; gap: 0.5rem; align-items: center; }
.lang-switch a { font-size: 0.8rem; opacity: 0.5; letter-spacing: 1px; }
.lang-switch a.active { opacity: 1; color: var(--color-accent); font-weight: 600; }

/* Hero Section */
.hero { height: 100vh; display: flex; align-items: center; position: relative; overflow: hidden; }
.hero::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.8) 100%);
    z-index: 1;
}
.hero-bg {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover; z-index: 0;
    transform: scale(1.05);
    animation: slowZoom 25s ease-in-out infinite alternate;
}
@keyframes slowZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.15); }
}
.hero-content { position: relative; z-index: 2; max-width: 800px; text-align: center; margin: 0 auto; }
.hero h1 { font-size: 5rem; margin-bottom: 1.5rem; animation: fadeInUp 1s ease forwards; letter-spacing: 2px; }
.hero p { font-size: 1.3rem; color: #ccc; margin-bottom: 3rem; animation: fadeInUp 1s ease 0.2s forwards; opacity: 0; font-weight: 300; }

.btn {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: transparent;
    color: var(--color-accent);
    border: 1px solid var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
    animation: fadeInUp 1s ease 0.4s forwards;
    opacity: 0;
    position: relative;
    overflow: hidden;
}
.btn::before {
    content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
    background: var(--color-accent); transition: all var(--transition-fast); z-index: -1;
}
.btn:hover::before { left: 0; }
.btn:hover { color: #000; }

.btn-primary { background: var(--color-accent); color: #000; border-color: var(--color-accent); }
.btn-primary::before { background: #fff; }

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

/* Sections */
section { padding: 8rem 0; }
.section-title { text-align: center; font-size: 3rem; margin-bottom: 4rem; position: relative; padding-bottom: 1.5rem; }
.section-title::after {
    content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
    width: 80px; height: 1px; background: var(--color-accent);
}

/* Features / About Split */
.about-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.about-img-wrapper {
    position: relative;
}
.about-img-wrapper::after {
    content: ''; position: absolute; bottom: -20px; right: -20px;
    width: 100%; height: 100%; border: 1px solid var(--color-accent);
    z-index: -1; transition: all var(--transition-slow);
}
.about-img-wrapper:hover::after { bottom: -10px; right: -10px; }
.about-img {
    width: 100%; height: 500px; object-fit: cover;
    border-radius: 2px; filter: grayscale(20%); transition: all var(--transition-slow);
}
.about-img-wrapper:hover .about-img { filter: grayscale(0%); }

.about-text h3 { color: var(--color-accent); font-family: var(--font-body); font-size: 0.9rem; letter-spacing: 3px; text-transform: uppercase; margin-bottom: 1rem; }
.about-text h2 { font-size: 3rem; margin-bottom: 2rem; line-height: 1.1; }
.about-text p { color: var(--color-text-muted); font-size: 1.1rem; margin-bottom: 2rem; font-weight: 300; }

/* Features Grid */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3rem; text-align: center; margin-top: 6rem; }
.feature-card i { font-size: 2.5rem; color: var(--color-accent); margin-bottom: 1.5rem; }
.feature-card h4 { font-size: 1.5rem; margin-bottom: 1rem; }
.feature-card p { color: var(--color-text-muted); font-size: 0.95rem; font-weight: 300; }

/* Products Grid */
.products-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 2.5rem; }
.product-card {
    background: var(--color-bg-secondary);
    border: 1px solid rgba(255,255,255,0.02);
    overflow: hidden;
    transition: all var(--transition-slow);
    position: relative;
}
.product-card:hover {
    transform: translateY(-15px);
    border-color: var(--color-border);
    box-shadow: 0 30px 60px rgba(0,0,0,0.8);
}
.product-image { width: 100%; height: 450px; object-fit: cover; transition: transform 1s cubic-bezier(0.25, 0.8, 0.25, 1); }
.product-card:hover .product-image { transform: scale(1.1); }

.product-info {
    padding: 2.5rem; position: absolute; bottom: 0; left: 0; width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.7) 50%, transparent 100%);
    transform: translateY(20px); transition: transform var(--transition-fast);
}
.product-card:hover .product-info { transform: translateY(0); }
.product-info h3 { font-size: 1.8rem; margin-bottom: 0.5rem; }
.product-info p { font-size: 0.85rem; color: var(--color-accent); text-transform: uppercase; letter-spacing: 2px; opacity: 0; transition: opacity var(--transition-fast) 0.1s; }
.product-card:hover .product-info p { opacity: 1; }

/* Contact Form */
.contact-wrapper { display: grid; grid-template-columns: 1fr 1.2fr; gap: 6rem; }
.contact-info h3 { font-size: 2.5rem; margin-bottom: 1.5rem; }
.info-item { display: flex; align-items: flex-start; gap: 1.5rem; margin-bottom: 2rem; }
.info-item i { color: var(--color-accent); font-size: 1.5rem; margin-top: 5px; }
.info-item strong { display: block; margin-bottom: 0.5rem; font-size: 1.1rem; letter-spacing: 1px; font-family: var(--font-heading); color: #fff; }

.contact-form {
    background: var(--color-bg-secondary); padding: 4rem;
    border: 1px solid rgba(255,255,255,0.03); box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}
.form-group { margin-bottom: 2rem; position: relative; }
.form-control {
    width: 100%; padding: 1rem 0; background: transparent;
    border: none; border-bottom: 1px solid rgba(255,255,255,0.2);
    color: var(--color-text); font-family: var(--font-body); font-size: 1rem;
    transition: all var(--transition-fast);
}
.form-control::placeholder { color: var(--color-text-muted); opacity: 0.6; }
.form-control:focus { outline: none; border-bottom-color: var(--color-accent); }
textarea.form-control { min-height: 100px; resize: none; }

/* Footer */
footer { background: #030303; padding: 6rem 0 2rem; border-top: 1px solid rgba(255,255,255,0.05); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 4rem; margin-bottom: 4rem; }
.footer-brand img { height: 40px; margin-bottom: 1.5rem; }
.footer-brand p { color: var(--color-text-muted); font-size: 0.95rem; font-weight: 300; }
.footer-title { font-size: 1.2rem; margin-bottom: 2rem; color: #fff; font-family: var(--font-body); letter-spacing: 1px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 1rem; }
.footer-links a { color: var(--color-text-muted); font-size: 0.95rem; }
.footer-links a:hover { color: var(--color-accent); padding-left: 5px; }

.footer-socials { display: flex; gap: 1rem; margin-top: 1.5rem; }
.footer-socials a {
    display: flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50%; color: #fff; transition: all var(--transition-fast);
}
.footer-socials a:hover { background: var(--color-accent); border-color: var(--color-accent); color: #000; transform: translateY(-3px); }

.footer-bottom { text-align: center; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.05); color: var(--color-text-muted); font-size: 0.85rem; }

/* WhatsApp FAB */
.whatsapp-fab {
    position: fixed; bottom: 30px; right: 30px;
    background: #25D366; color: white;
    width: 60px; height: 60px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem; box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
    z-index: 1000; transition: all var(--transition-fast);
}
.whatsapp-fab.whatsapp-higher { bottom: 95px; }
.whatsapp-fab:hover { transform: scale(1.1); color: white; background: #1ebd5a; }

/* Preloader */
.preloader {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: #000; z-index: 9999;
    display: flex; align-items: center; justify-content: center;
    transition: opacity 1s ease-in-out, visibility 1s ease-in-out;
}
.preloader.loaded { opacity: 0; visibility: hidden; }
.preloader-logo img {
    height: 60px;
    animation: pulse 2s infinite alternate;
}
@keyframes pulse { 0% { opacity: 0.5; transform: scale(0.95); } 100% { opacity: 1; transform: scale(1.05); } }

/* Custom Cursor */
body { cursor: none; }
a, button, input, textarea, select { cursor: none; }
.cursor {
    width: 8px; height: 8px; background: var(--color-accent);
    border-radius: 50%; position: fixed; top: 0; left: 0;
    pointer-events: none; z-index: 10000;
    transform: translate(-50%, -50%); transition: width 0.2s, height 0.2s;
}
.cursor-follower {
    width: 40px; height: 40px; border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: 50%; position: fixed; top: 0; left: 0;
    pointer-events: none; z-index: 9999;
    transform: translate(-50%, -50%); transition: transform 0.1s;
}
.cursor.hover { width: 60px; height: 60px; background: rgba(212, 175, 55, 0.1); border: 1px solid var(--color-accent); mix-blend-mode: difference; }

/* Noise Overlay */
.noise-overlay {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    pointer-events: none; z-index: 9998; opacity: 0.04;
    background-image: url('data:image/svg+xml,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.65" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)"/%3E%3C/svg%3E');
}

/* Marquee */
.marquee-container {
    padding: 3rem 0; background: var(--color-accent); color: #000;
    overflow: hidden; white-space: nowrap; position: relative;
    border-top: 1px solid #fff; border-bottom: 1px solid #fff;
}
.marquee-content {
    display: inline-block; animation: marquee 30s linear infinite;
    font-family: var(--font-heading); font-size: 2.5rem; letter-spacing: 5px; text-transform: uppercase;
}
.marquee-content span { margin: 0 3rem; }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* Process Timeline */
.process-section { background: #080808; overflow: hidden; }
.process-wrapper { display: flex; align-items: stretch; gap: 4rem; padding: 2rem 0; }
.process-step {
    flex: 0 0 400px; padding: 3rem; background: var(--color-bg-secondary);
    border: 1px solid rgba(255,255,255,0.05); position: relative;
}
.process-number {
    font-size: 4rem; font-family: var(--font-heading); color: rgba(212, 175, 55, 0.1);
    position: absolute; top: 1rem; right: 2rem; line-height: 1;
}
.process-step h3 { font-size: 1.5rem; margin-bottom: 1rem; color: var(--color-accent); }
.process-step p { color: var(--color-text-muted); }

/* Hamburger Menu Button */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
    z-index: 200;
}
.hamburger span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--color-text);
    transition: all var(--transition-fast);
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile Nav Overlay */
.mobile-nav-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(5, 5, 5, 0.97);
    z-index: 150;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}
.mobile-nav-overlay.active { display: flex; }
.mobile-nav-overlay a {
    font-size: 1.3rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--color-text);
    transition: color var(--transition-fast);
}
.mobile-nav-overlay a:hover { color: var(--color-accent); }
.mobile-nav-overlay .mobile-lang {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}
.mobile-nav-overlay .mobile-lang a { font-size: 1rem; opacity: 0.5; }
.mobile-nav-overlay .mobile-lang a.active { opacity: 1; color: var(--color-accent); }

/* Responsive - Tablet */
@media (max-width: 992px) {
    .about-split, .contact-wrapper, .footer-grid { grid-template-columns: 1fr; gap: 3rem; }
    .features-grid { grid-template-columns: 1fr; }
    .hero h1 { font-size: 3.5rem; }
    .nav-links { display: none; }
    .lang-switch { display: none; }
    .hamburger { display: flex; }
    
    /* Products grid */
    .products-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
}

/* Responsive - Mobile */
@media (max-width: 768px) {
    /* Global overflow prevention */
    html, body { overflow-x: hidden; width: 100%; }
    
    /* Custom cursor off */
    body, a, button, input, textarea, select { cursor: auto !important; }
    .cursor, .cursor-follower { display: none !important; }
    
    /* Container padding */
    .container { padding: 0 1rem; }
    
    /* Top bar */
    .top-bar .container { flex-direction: column; gap: 0.3rem; text-align: center; }
    .top-bar { padding: 0.4rem 0; }
    
    /* Header */
    header { top: 50px; padding: 1rem 0; }
    header.scrolled { top: 0; }
    .logo img { height: 35px; }
    
    /* Hero */
    .hero h1 { font-size: 2rem; letter-spacing: 0; }
    .hero p { font-size: 0.95rem; padding: 0 0.5rem; margin-bottom: 2rem; }
    .hero-content { padding: 0 0.5rem; }
    .btn { padding: 0.9rem 2rem; font-size: 0.75rem; letter-spacing: 2px; }
    
    /* Section spacing */
    section { padding: 3rem 0; }
    .section-title { font-size: 1.8rem; margin-bottom: 2.5rem; }
    
    /* About image wrapper - prevent pseudo-element overflow */
    .about-img-wrapper::after { display: none; }
    .about-img { height: 300px; }
    .about-text h2 { font-size: 2rem; }
    
    /* Features grid */
    .features-grid { margin-top: 3rem; gap: 2rem; }
    
    /* Products grid */
    .products-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .product-image { height: 300px; }
    
    /* Contact form */
    .contact-wrapper { gap: 2rem; }
    .contact-form { padding: 2rem 1.5rem; }
    .contact-info h3 { font-size: 1.8rem; }
    
    /* Footer */
    footer { padding: 3rem 0 1.5rem; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; margin-bottom: 2rem; }
    
    /* WhatsApp FAB */
    .whatsapp-fab { width: 50px; height: 50px; font-size: 1.5rem; bottom: 20px; right: 15px; }
    .whatsapp-fab.whatsapp-higher { bottom: 85px; }
    
    /* Process timeline */
    .process-wrapper { flex-direction: column; gap: 1.5rem; }
    .process-step { flex: unset; width: 100%; padding: 1.5rem; }
    .process-section { overflow: visible; }
    .process-number { font-size: 3rem; }
    
    /* Marquee */
    .marquee-content { font-size: 1.5rem; letter-spacing: 2px; }
    .marquee-content span { margin: 0 1.5rem; }
    .marquee-container { padding: 2rem 0; }
    
    /* About intro page grid */
    .about-intro-section .container > div { grid-template-columns: 1fr !important; gap: 2rem !important; }
    
    /* Product detail page grid */
    .product-detail .container > div { grid-template-columns: 1fr !important; gap: 2rem !important; }
    .product-detail h1 { font-size: 2rem !important; }
    
    /* Values section (about page cards) */
    .values-section .container > div { grid-template-columns: 1fr !important; }
    
    /* All images */
    img { max-width: 100%; height: auto; }
}

