/* =========================================
   OKOJIE RAYMOND GOLD - MASTER STYLESHEET
   ========================================= */

:root {
    --clr-primary: #0f172a;
    --clr-primary-light: #1e293b;
    --clr-accent: #d4af37;
    --clr-accent-hover: #b5952f;
    --clr-text-main: #334155;
    --clr-text-muted: #64748b;
    --clr-bg-main: #ffffff;
    --clr-bg-light: #f8fafc;
    --clr-white: #ffffff;
    
    --font-main: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --container-width: 1200px;
    --transition: 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    color: var(--clr-text-main);
    background-color: var(--clr-bg-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* --- Utilities & Typography --- */
h1, h2, h3, h4 { color: var(--clr-primary); line-height: 1.2; }
.text-primary { color: var(--clr-primary) !important; }
.text-accent { color: var(--clr-accent) !important; }
.text-white { color: var(--clr-white) !important; }
.text-muted { color: var(--clr-text-muted); }
.text-sm { font-size: 0.875rem; color: var(--clr-text-muted); }
.font-bold { font-weight: 600; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1.5rem; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1.5rem; }
.mt-3 { margin-top: 2.5rem; }
.pb-1 { padding-bottom: 0.5rem; }
.p-2 { padding: 1.5rem; }
.p-3 { padding: 3rem; }
.ml-1 { margin-left: 0.5rem; }

.bg-light { background-color: var(--clr-bg-light); }
.bg-dark { background-color: var(--clr-primary); }
.bg-white { background-color: var(--clr-white); }
.text-center { text-align: center; }
.w-100 { width: 100%; }
.align-top { align-items: flex-start; }
.border-bottom { border-bottom: 1px solid #e2e8f0; }
.border-bottom-accent { border-bottom: 2px solid var(--clr-accent); }
.border-box { border: 1px solid #cbd5e1; border-radius: 8px; }

.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1.75rem;
    font-weight: 600;
    border-radius: 4px;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
    text-align: center;
}
.btn-primary { background-color: var(--clr-accent); color: var(--clr-primary); }
.btn-primary:hover { background-color: var(--clr-accent-hover); }
.btn-outline { background-color: transparent; border-color: var(--clr-primary); color: var(--clr-primary); }
.btn-outline:hover { background-color: var(--clr-primary); color: var(--clr-white); }
.link-arrow { display: inline-block; color: var(--clr-accent); font-weight: 600; text-decoration: none; transition: var(--transition); }
.link-arrow:hover { color: var(--clr-accent-hover); transform: translateX(5px); }

/* --- Global Header (Desktop) --- */
.site-header {
    background: var(--clr-white);
    border-bottom: 1px solid #e2e8f0;
    position: sticky;
    top: 0;
    z-index: 1000;
}
.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}
.brand-logo {
    font-size: clamp(1rem, 3vw, 1.25rem);
    text-decoration: none;
    color: var(--clr-primary);
    letter-spacing: 0.05em;
    z-index: 1001;
}
.brand-logo strong { color: var(--clr-accent); }
.nav-list { display: flex; gap: 2rem; list-style: none; }
.nav-list a { text-decoration: none; color: var(--clr-text-main); font-weight: 500; transition: var(--transition); }
.nav-list a:hover { color: var(--clr-accent); }
.mobile-nav-actions { display: none; }

/* Hamburger Icon */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 24px;
    position: relative;
    z-index: 1001;
}
.mobile-toggle .bar {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--clr-primary);
    position: absolute;
    transition: var(--transition);
}
.mobile-toggle .bar:nth-child(1) { top: 0; }
.mobile-toggle .bar:nth-child(2) { top: 11px; }
.mobile-toggle .bar:nth-child(3) { bottom: 0; }
.mobile-toggle.is-active .bar:nth-child(1) { transform: rotate(45deg); top: 11px; }
.mobile-toggle.is-active .bar:nth-child(2) { opacity: 0; }
.mobile-toggle.is-active .bar:nth-child(3) { transform: rotate(-45deg); bottom: 11px; }

/* --- General Sections & Homepage --- */
.section { padding: clamp(4rem, 8vw, 6rem) 0; }
.section-title { font-size: clamp(2rem, 5vw, 2.5rem); margin-bottom: 1rem; }
.section-header { max-width: 600px; margin-bottom: 3rem; }
.page-header { padding: 6rem 0 4rem; border-bottom: 4px solid var(--clr-accent); }
.page-title { font-size: clamp(2.5rem, 5vw, 3.5rem); margin-bottom: 1rem; }
.page-subtitle { font-size: 1.25rem; color: #cbd5e1; max-width: 600px; margin: 0 auto; }

.hero { background: linear-gradient(135deg, var(--clr-bg-light) 0%, #e2e8f0 100%); padding: clamp(5rem, 10vw, 8rem) 0; }
.hero-content { max-width: 800px; }
.badge { display: inline-block; padding: 0.35rem 1rem; background: var(--clr-primary); color: var(--clr-accent); font-size: 0.875rem; font-weight: 600; border-radius: 50px; margin-bottom: 1.5rem; text-transform: uppercase; letter-spacing: 0.05em; }
.hero-title { font-size: clamp(2.25rem, 6vw, 4rem); margin-bottom: 1.5rem; }
.hero-subtitle { font-size: clamp(1.125rem, 3vw, 1.25rem); color: var(--clr-text-muted); margin-bottom: 2.5rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.grid-50-50 { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }

.card { background: var(--clr-white); padding: 2.5rem; border: 1px solid #e2e8f0; border-radius: 8px; }
.stat-card { padding: 3rem; border-left: 4px solid var(--clr-accent); border-radius: 8px; }

/* --- Forms & Sidebar Layouts --- */
.form-layout { display: grid; grid-template-columns: 1fr 2.5fr; gap: 3rem; align-items: start; }
.sidebar-box { padding: 2rem; border-radius: 8px; border: 1px solid #e2e8f0; }
.sidebar-box h3 { margin-bottom: 1rem; padding-bottom: 0.5rem; border-bottom: 1px solid rgba(0,0,0,0.1); }
.bg-dark .sidebar-box h3 { border-bottom-color: rgba(255,255,255,0.1); }
.form-wrapper { padding: 3rem; border-radius: 8px; border: 1px solid #e2e8f0; box-shadow: 0 4px 6px rgba(0,0,0,0.02); }
.form-section-title { color: var(--clr-primary); margin-bottom: 1.5rem; padding-bottom: 0.5rem; border-bottom: 2px solid var(--clr-bg-light); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.form-group.full-width { grid-column: 1 / -1; }
.form-group label { display: block; margin-bottom: 0.5rem; font-weight: 600; font-size: 0.875rem; color: var(--clr-primary-light); }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 0.875rem 1rem; border: 1px solid #cbd5e1; border-radius: 4px; font-family: inherit; font-size: 1rem; background-color: var(--clr-bg-light); transition: var(--transition); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--clr-accent); background-color: var(--clr-white); box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1); }
.file-upload-box { padding: 1.5rem; border: 2px dashed #cbd5e1; border-radius: 8px; background-color: #f8fafc; text-align: center; }
.file-upload-box input[type="file"] { background: transparent; border: none; padding: 0.5rem 0; box-shadow: none; cursor: pointer; }

/* --- Specific Components --- */
.clean-list { list-style: none; }
.clean-list li { position: relative; padding-left: 1.5rem; margin-bottom: 0.75rem; }
.clean-list li::before { content: "✓"; position: absolute; left: 0; color: var(--clr-accent); font-weight: bold; }
.clean-list li.no-check { padding-left: 0; }
.clean-list li.no-check::before { display: none; }
.clean-list li.no-check a { text-decoration: none; transition: var(--transition); }
.clean-list li.no-check a:hover { color: var(--clr-accent); }

/* Timeline */
.timeline-container { max-width: 700px; margin: 0 auto; padding: 2rem 0; }
.timeline { position: relative; padding-left: 3rem; list-style: none; }
.timeline::before { content: ''; position: absolute; left: 11px; top: 8px; bottom: 0; width: 2px; background: #e2e8f0; }
.timeline-step { position: relative; margin-bottom: 3rem; }
.timeline-step::before { content: ''; position: absolute; left: -3rem; top: 4px; width: 24px; height: 24px; background: var(--clr-accent); border-radius: 50%; border: 4px solid var(--clr-white); box-shadow: 0 0 0 2px var(--clr-accent); z-index: 1; transition: var(--transition); }
.timeline-step:hover::before { background: var(--clr-white); }
.step-number { font-size: 0.875rem; font-weight: 700; color: var(--clr-accent); text-transform: uppercase; letter-spacing: 0.05em; display: block; margin-bottom: 0.25rem; }
.step-title { font-size: 1.5rem; color: var(--clr-primary); margin-bottom: 0.5rem; }
.step-desc { color: var(--clr-text-muted); font-size: 1.05rem; }

/* Products Grid */
.category-nav { position: sticky; top: 80px; z-index: 990; padding: 1rem 0; }
.category-links { display: flex; justify-content: center; gap: 2rem; list-style: none; flex-wrap: wrap; }
.category-links a { text-decoration: none; color: var(--clr-text-main); font-weight: 600; transition: var(--transition); }
.category-links a:hover { color: var(--clr-accent); }
.product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.product-card { border: 1px solid #e2e8f0; border-radius: 8px; overflow: hidden; background: var(--clr-white); transition: var(--transition); }
.product-card:hover { box-shadow: 0 10px 25px rgba(0,0,0,0.05); border-color: var(--clr-accent); }
.product-header { padding: 1.5rem; text-align: center; border-bottom: 1px solid #e2e8f0; }
.product-body { padding: 1.5rem; }
.product-specs { list-style: none; margin-bottom: 1rem; }
.product-specs li { font-size: 0.9rem; padding: 0.5rem 0; border-bottom: 1px dashed #e2e8f0; color: var(--clr-text-muted); }
.product-specs li:last-child { border-bottom: none; }
.product-specs strong { color: var(--clr-primary); }

/* Services */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2.5rem; }
.service-card { background: var(--clr-white); padding: 2.5rem; border: 1px solid #e2e8f0; border-radius: 8px; position: relative; transition: var(--transition); border-top: 4px solid transparent; }
.service-card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(15, 23, 42, 0.08); border-top-color: var(--clr-accent); }
.service-icon { font-size: 2.5rem; font-weight: 800; color: rgba(212, 175, 55, 0.2); margin-bottom: 1rem; line-height: 1; font-family: monospace; }
.service-card h3 { color: var(--clr-primary); margin-bottom: 1rem; font-size: 1.25rem; }

/* FAQ */
.faq-container { max-width: 800px; margin: 0 auto; }
.faq-wrapper { border: 1px solid #e2e8f0; border-radius: 8px; overflow: hidden; box-shadow: 0 4px 6px rgba(0,0,0,0.02); }
.faq-item { border-bottom: 1px solid #e2e8f0; }
.faq-item:last-child { border-bottom: none; }
.faq-question { padding: 1.5rem 2rem; font-size: 1.125rem; font-weight: 600; color: var(--clr-primary); cursor: pointer; position: relative; list-style: none; transition: background-color var(--transition); }
.faq-question::-webkit-details-marker { display: none; }
.faq-question:hover { background-color: var(--clr-bg-light); }
.faq-question::after { content: '+'; position: absolute; right: 2rem; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--clr-accent); transition: transform var(--transition); }
.faq-item[open] .faq-question { background-color: var(--clr-bg-light); color: var(--clr-accent); }
.faq-item[open] .faq-question::after { content: '−'; transform: translateY(-50%) rotate(180deg); }
.faq-answer { padding: 0 2rem 1.5rem 2rem; color: var(--clr-text-main); background-color: var(--clr-bg-light); line-height: 1.7; animation: fadeIn 0.3s ease-in-out; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: translateY(0); } }

/* About & Legal */
.trust-badge { padding: 2rem; background: var(--clr-white); border: 1px solid #e2e8f0; border-radius: 8px; box-shadow: 0 4px 6px rgba(0,0,0,0.02); }
.notice-banner { background-color: rgba(212, 175, 55, 0.15); border-left: 4px solid var(--clr-accent); padding: 1rem 1.5rem; border-radius: 0 4px 4px 0; }
.legal-content { max-width: 800px; margin: 0 auto; padding: 3rem; border: 1px solid #e2e8f0; border-radius: 8px; }
.legal-content h2 { color: var(--clr-primary); font-size: 1.5rem; margin-top: 2.5rem; margin-bottom: 1rem; padding-bottom: 0.5rem; border-bottom: 1px solid var(--clr-bg-light); }
.legal-content h2:first-child { margin-top: 0; }

/* Contact Map */
.map-container { width: 100%; height: 250px; border-radius: 8px; overflow: hidden; border: 1px solid #e2e8f0; margin-top: 1rem; }

/* --- Footer --- */
.site-footer { background: var(--clr-primary-light); color: #94a3b8; padding: 4rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-col h4 { color: var(--clr-white); margin-bottom: 1.5rem; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.75rem; }
.footer-links a { color: #94a3b8; text-decoration: none; }
.footer-links a:hover { color: var(--clr-accent); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 2rem; text-align: center; font-size: 0.875rem; }


/* =========================================
   MOBILE RESPONSIVENESS & SIDEBAR
   ========================================= */

@media (max-width: 992px) {
    .desktop-actions { display: none; }
    .mobile-toggle { display: block; z-index: 1001; }
    .header-inner { height: 90px; }
    
    /* The Dark Overlay */
    .nav-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(15, 23, 42, 0.6);
        backdrop-filter: blur(4px);
        z-index: 998;
        opacity: 0;
        visibility: hidden;
        transition: 0.3s ease;
    }
    .nav-overlay.is-active { opacity: 1; visibility: visible; }
    
    /* The Slide-Out Sidebar */
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 380px;
        height: 100vh;
        background: var(--clr-white);
        padding: 7rem 2rem 3rem;
        box-shadow: -10px 0 30px rgba(0,0,0,0.15);
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        display: flex;
        flex-direction: column;
        z-index: 999;
        overflow-y: auto;
    }
    .main-nav.is-open { right: 0; }
    
    .nav-list { flex-direction: column; gap: 2rem; margin-bottom: 2rem; }
    .nav-list a { font-size: 1.25rem; display: block; font-weight: 600; }
    .mobile-nav-actions { display: block; margin-top: auto; }
    
    /* Adjustments for smaller screens */
    .grid-50-50, .form-layout { grid-template-columns: 1fr; gap: 3rem; }
    .form-sidebar { order: 2; }
    .form-wrapper { order: 1; padding: 2rem; }
    .hero-actions .btn { width: 100%; }
}

@media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .grid-4, .grid-3, .grid-2, .form-grid { grid-template-columns: 1fr; }
    .services-grid { grid-template-columns: 1fr; }
    .legal-content { padding: 1.5rem; border: none; box-shadow: none; }
}

@media (max-width: 600px) {
    .timeline { padding-left: 2.5rem; }
    .timeline::before { left: 9px; }
    .timeline-step::before { left: -2.5rem; width: 20px; height: 20px; }
    .faq-question { padding: 1.25rem 1rem; padding-right: 3rem; }
    .faq-question::after { right: 1rem; }
    .faq-answer { padding: 0 1rem 1.25rem 1rem; }
}