/* =========================================================
   Opulence Marketing Group — Global Stylesheet
   ========================================================= */

:root {
    --primary: #0b1f3a;
    --primary-dark: #07142a;
    --accent: #d4af37;
    --accent-light: #f1d87a;
    --light: #f8f9fc;
    --gray: #6b7280;
    --dark-gray: #374151;
    --white: #ffffff;
    --border: #e5e7eb;
    --success: #10b981;
    --shadow: 0 8px 24px rgba(11, 31, 58, 0.08);
    --shadow-lg: 0 20px 45px rgba(11, 31, 58, 0.15);
    --radius: 10px;
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', 'Helvetica Neue', Arial, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--dark-gray);
    background: var(--white);
    line-height: 1.7;
    font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--primary);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.5rem; }

p { margin-bottom: 1rem; }

a {
    color: var(--accent);
    text-decoration: none;
    transition: all 0.3s ease;
}

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

img { max-width: 100%; display: block; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.text-center { text-align: center; }

/* ===================== HEADER / NAVBAR ===================== */
.topbar {
    background: var(--primary-dark);
    color: var(--white);
    font-size: 0.85rem;
    padding: 8px 0;
}

.topbar .container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.topbar a { color: var(--accent-light); }

.navbar {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 0.5px;
}

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

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

.nav-links a {
    color: var(--primary);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
}

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

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

.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: -20px;
    background: var(--white);
    min-width: 220px;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius);
    padding: 10px 0;
    margin-top: 15px;
    list-style: none;
}

.dropdown:hover .dropdown-menu { display: block; }

.dropdown-menu li a {
    padding: 10px 20px;
    display: block;
    color: var(--primary);
}

.dropdown-menu li a:hover {
    background: var(--light);
    color: var(--accent);
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    background: var(--accent);
    color: var(--primary);
    border-radius: var(--radius);
    font-weight: 600;
    border: 2px solid var(--accent);
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn:hover {
    background: transparent;
    color: var(--accent);
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.btn-primary:hover {
    background: transparent;
    color: var(--primary);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary);
}

/* ===================== HERO ===================== */
.hero {
    background: linear-gradient(135deg, rgba(11, 31, 58, 0.92), rgba(7, 20, 42, 0.88)),
                url('https://images.unsplash.com/photo-1557804506-669a67965ba0?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
    color: var(--white);
    padding: 120px 0;
    text-align: center;
}

.hero h1 {
    color: var(--white);
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.2rem;
    max-width: 720px;
    margin: 0 auto 2rem;
    color: #e2e8f0;
}

.hero .btn { margin: 6px; }

.page-hero {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.page-hero h1 {
    color: var(--white);
    font-size: 2.8rem;
}

.page-hero .breadcrumb {
    color: var(--accent-light);
    font-size: 0.95rem;
}

.page-hero .breadcrumb a { color: var(--white); }

/* ===================== SECTIONS ===================== */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header .subtitle {
    color: var(--accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    margin-bottom: 10px;
    display: block;
}

.section-header p {
    max-width: 700px;
    margin: 15px auto 0;
    color: var(--gray);
}

/* ===================== SERVICES GRID ===================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 35px 28px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: all 0.35s ease;
    border-top: 4px solid transparent;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-top-color: var(--accent);
}

.service-card .icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 20px;
}

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

.service-card p {
    color: var(--gray);
    font-size: 0.95rem;
}

.service-card .more {
    color: var(--accent);
    font-weight: 600;
    margin-top: 15px;
    display: inline-block;
}

/* ===================== ABOUT / FEATURES ===================== */
.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-img {
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}

.features-list {
    list-style: none;
    margin-top: 20px;
}

.features-list li {
    padding: 10px 0 10px 30px;
    position: relative;
}

.features-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
    font-size: 1.1rem;
}

/* ===================== STATS ===================== */
.stats {
    background: var(--primary);
    color: var(--white);
    padding: 60px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 30px;
    text-align: center;
}

.stats-grid h2 {
    color: var(--accent);
    font-size: 3rem;
    margin: 0;
}

.stats-grid p {
    color: var(--white);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

/* ===================== CTA ===================== */
.cta {
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: var(--primary);
    text-align: center;
    padding: 70px 0;
}

.cta h2 { color: var(--primary); }

.cta .btn {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.cta .btn:hover {
    background: transparent;
    color: var(--primary);
}

/* ===================== SERVICE DETAIL PAGE ===================== */
.service-detail {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    margin-top: 40px;
}

.service-content h2 {
    margin-top: 30px;
}

.service-content ul {
    padding-left: 20px;
    margin-bottom: 20px;
}

.service-content ul li {
    margin-bottom: 8px;
}

.sidebar {
    background: var(--light);
    padding: 30px;
    border-radius: var(--radius);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.sidebar h3 { margin-bottom: 20px; }

.sidebar ul {
    list-style: none;
}

.sidebar ul li a {
    display: block;
    padding: 12px 15px;
    color: var(--primary);
    border-radius: 6px;
    margin-bottom: 5px;
    background: var(--white);
    border-left: 3px solid transparent;
    font-weight: 500;
}

.sidebar ul li a:hover,
.sidebar ul li a.active {
    border-left-color: var(--accent);
    color: var(--accent);
}

.sidebar .cta-box {
    background: var(--primary);
    color: var(--white);
    padding: 25px;
    border-radius: var(--radius);
    margin-top: 25px;
    text-align: center;
}

.sidebar .cta-box h4 {
    color: var(--white);
    font-family: var(--font-heading);
    margin-bottom: 10px;
}

.sidebar .cta-box .phone {
    color: var(--accent);
    font-size: 1.3rem;
    font-weight: 700;
    display: block;
    margin: 10px 0;
}

/* ===================== FAQ ===================== */
.faq-item {
    background: var(--light);
    border-radius: var(--radius);
    padding: 20px 25px;
    margin-bottom: 15px;
    border-left: 4px solid var(--accent);
}

.faq-item h4 {
    color: var(--primary);
    font-family: var(--font-heading);
    margin-bottom: 8px;
}

/* ===================== CONTACT ===================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 40px;
}

.contact-info .info-box {
    background: var(--light);
    padding: 25px;
    border-radius: var(--radius);
    margin-bottom: 20px;
    border-left: 4px solid var(--accent);
}

.contact-info h4 {
    color: var(--primary);
    font-family: var(--font-heading);
    margin-bottom: 8px;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 14px 16px;
    margin-bottom: 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-color: var(--accent);
}

.contact-form textarea {
    min-height: 140px;
    resize: vertical;
}

/* ===================== LEGAL PAGES ===================== */
.legal-content {
    max-width: 900px;
    margin: 0 auto;
}

.legal-content h2 {
    font-size: 1.6rem;
    margin-top: 35px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--accent);
}

.legal-content h3 {
    font-size: 1.2rem;
    margin-top: 25px;
}

.legal-content ul,
.legal-content ol {
    padding-left: 25px;
    margin-bottom: 15px;
}

.legal-content li {
    margin-bottom: 6px;
}

.legal-content .last-updated {
    background: var(--light);
    padding: 15px 20px;
    border-radius: var(--radius);
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 30px;
    border-left: 4px solid var(--accent);
}

/* ===================== FOOTER ===================== */
.footer {
    background: var(--primary-dark);
    color: #cbd5e1;
    padding: 70px 0 0;
}

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

.footer h4 {
    color: var(--white);
    font-family: var(--font-heading);
    margin-bottom: 20px;
    font-size: 1.15rem;
}

.footer a { color: #cbd5e1; font-size: 0.95rem; }

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

.footer ul { list-style: none; }

.footer ul li { margin-bottom: 10px; }

.footer .logo { color: var(--white); display: block; margin-bottom: 15px; }

.footer-contact p {
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.footer-contact strong { color: var(--accent); }

.social-links {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.social-links a {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}

.social-links a:hover {
    background: var(--accent);
    color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 20px 0;
    text-align: center;
    font-size: 0.88rem;
    color: #94a3b8;
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 992px) {
    .two-column,
    .service-detail,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    h1 { font-size: 2.4rem; }
    .hero h1 { font-size: 2.6rem; }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        padding: 20px;
        box-shadow: var(--shadow);
        gap: 15px;
    }
    .menu-toggle {
        display: block !important;
        background: none;
        border: none;
        font-size: 1.6rem;
        color: var(--primary);
        cursor: pointer;
    }
    .hero { padding: 80px 20px; }
    .footer-grid { grid-template-columns: 1fr; }
    .section { padding: 60px 0; }
}

.menu-toggle { display: none; }
