/* UNIFIED THEME STYLES - Global Dark Mode & Components */

/* Root Styles - Light Mode */
:root {
    --bg: #f8f9fa;
    --bg-dark: #0f1419;
    --text: #1a1a1a;
    --text-light: #666;
    --text-lighter: #999;
    --primary: #0a5cff;
    --primary-dark: #0845cc;
    --primary-light: #38bdf8;
    --accent: #7c3aed;
    --card: #ffffff;
    --card-dark: #1f2937;
    --card-radius: 24px;
    --shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 30px 80px rgba(10, 92, 255, 0.15);
    --transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Dark Mode - All Variables */
body.dark {
    --bg: var(--bg-dark);
    --text: #e5e7eb;
    --text-light: #9ca3af;
    --text-lighter: #6b7280;
    --card: var(--card-dark);
    --primary: var(--primary-light);
    --primary-dark: #0ea5e9;
    --accent: #a78bfa;
    --shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    --shadow-hover: 0 30px 80px rgba(56, 189, 248, 0.15);
}

/* Global Elements */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background 0.3s ease, color 0.3s ease;
    -webkit-font-smoothing: antialiased;
}

/* Scroll Progress */
#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    width: 0;
    z-index: 1001;
}

/* HEADER UNIFIED */
.header,
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: background 0.3s ease, border-color 0.3s ease;
}

body.dark .header,
body.dark .site-header {
    background: rgba(15, 20, 25, 0.85);
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

/* Header Inner */
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    height: 80px;
}

/* Logo */
.logo,
.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: var(--transition);
}

.logo:hover,
.brand:hover {
    transform: scale(1.02);
}

.logo img,
.logo-img {
    height: 45px;
    width: 45px;
    border-radius: 12px;
    object-fit: cover;
    border: 2px solid var(--primary);
}

.logo span,
.brand span {
    font-weight: 800;
    color: var(--primary);
    font-size: 1.2rem;
}

/* Navigation */
.nav,
nav {
    display: flex;
    gap: 25px;
    align-items: center;
    transition: var(--transition);
}

.nav a,
nav a,
.nav-links a {
    text-decoration: none;
    color: var(--text-light);
    font-weight: 600;
    transition: 0.3s;
    font-size: 0.95rem;
}

.nav a:hover,
.nav a.active,
nav a:hover,
nav a.active,
.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
}

/* Hamburger Menu */
.menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    width: 40px;
    height: 40px;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.menu-btn span {
    width: 25px;
    height: 2.5px;
    background: var(--text);
    border-radius: 2px;
    transition: 0.3s;
}

.menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(10px, 10px);
}

.menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* Mobile Menu */
@media (max-width: 1024px) {
    .menu-btn {
        display: flex;
    }

    .nav,
    nav {
        display: none;
    }

    .nav.active,
    nav.active {
        display: flex !important;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        gap: 0;
        padding: 20px;
        z-index: 999;
        width: 100%;
    }

    body.dark .nav.active,
    body.dark nav.active {
        background: rgba(15, 20, 25, 0.98);
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    .nav-links a {
        padding: 12px;
        text-align: center;
    }

    .nav a {
        padding: 12px;
        border-radius: 8px;
        transition: all 0.3s;
    }

    .nav a:hover {
        background: rgba(10, 92, 255, 0.1);
    }

    body.dark .nav a:hover {
        background: rgba(56, 189, 248, 0.1);
    }
}

/* Cards & Components */
.card,
.service-card,
.info-card,
.exp-card,
.video-card {
    background: var(--card);
    border-radius: var(--card-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

body.dark .card,
body.dark .service-card,
body.dark .info-card,
body.dark .exp-card,
body.dark .video-card {
    border-color: rgba(255, 255, 255, 0.05);
}

/* Icon Boxes */
.icon-box,
.icon-wrapper {
    width: 50px;
    height: 50px;
    background: rgba(10, 92, 255, 0.1);
    color: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: 0.3s;
}

body.dark .icon-box,
body.dark .icon-wrapper {
    background: rgba(56, 189, 248, 0.15);
}

/* Footer */
footer {
    text-align: center;
    padding: 60px 40px;
    color: var(--text-light);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    background: var(--bg);
    transition: background 0.3s ease, border-color 0.3s ease;
}

body.dark footer {
    border-top-color: rgba(255, 255, 255, 0.1);
}

/* Theme Toggle Button */
#themeToggle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: none;
    border: 1px solid rgba(0, 0, 0, 0.1);
    cursor: pointer;
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
    z-index: 100;
}

body.dark #themeToggle {
    border-color: rgba(255, 255, 255, 0.1);
    color: var(--text);
}

#themeToggle:hover {
    background: rgba(10, 92, 255, 0.1);
}

body.dark #themeToggle:hover {
    background: rgba(56, 189, 248, 0.1);
}

/* Text Helpers */
.text-light {
    color: var(--text-light);
}

.text-primary {
    color: var(--primary);
}

.text-accent {
    color: var(--accent);
}

/* Utilities */
.transition-all {
    transition: var(--transition);
}

.no-select {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
}

.about-hero-copy {
    max-width: 700px;
    margin: 0 auto 40px;
    font-size: 1.1rem;
    color: var(--text-light);
}

.hero-description {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 35px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    align-items: center;
}

.btn-large {
    font-size: 1.05rem;
    padding: 18px 36px;
}

.services-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text);
}

.service-image {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 12px;
    margin-top: 15px;
}

.service-description {
    margin-top: 10px;
    color: var(--text-light);
}

.contact-description {
    max-width: 600px;
    margin: 0 auto;
    color: var(--text-light);
}

.form-message {
    margin-top: 20px;
    text-align: center;
    font-weight: bold;
    padding: 15px;
    border-radius: 10px;
    color: var(--text);
    background: rgba(10, 92, 255, 0.1);
    display: none;
}

.form-message.success {
    background: rgba(10, 92, 255, 0.1);
    color: var(--primary);
}

.form-message.error {
    background: rgba(255, 0, 0, 0.1);
    color: #ff6b6b;
}

body.dark .form-message {
    background: rgba(56, 189, 248, 0.1);
}

body.dark .form-message.error {
    background: rgba(255, 107, 107, 0.15);
}

.video-meta {
    display: flex;
    align-items: center;
    gap: 6px;
}

.section-heading {
    text-align: center;
    margin: 60px 0 40px;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--text);
}

.client-logo {
    height: 50px;
    margin: 0 10px;
    object-fit: contain;
}

/* Accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--text);
    color: var(--bg);
    padding: 8px 16px;
    z-index: 100;
    text-decoration: none;
    border-radius: 0 0 4px 0;
}

.skip-link:focus {
    top: 0;
}

/* CTA Cards */
.cta-section {
    padding: 80px 5%;
    text-align: center;
    background: linear-gradient(135deg, rgba(10, 92, 255, 0.05), rgba(124, 58, 237, 0.05));
}

.cta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 40px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.cta-card {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 35px 25px;
    background: var(--card);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    border: 2px solid transparent;
    color: inherit;
}

body.dark .cta-card {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.cta-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.cta-card-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 32px;
}

.cta-card-icon.primary {
    background: rgba(10, 92, 255, 0.1);
    color: var(--primary);
}

.cta-card-icon.accent {
    background: rgba(124, 58, 237, 0.1);
    color: var(--accent);
}

.cta-card-icon.info {
    background: rgba(10, 150, 255, 0.1);
    color: var(--primary);
}

.cta-card-icon.neutral {
    background: rgba(100, 116, 139, 0.1);
    color: #647c8f;
}

.cta-card-icon.map {
    background: rgba(52, 168, 224, 0.1);
    color: #34a8e0;
}

.cta-card-title {
    color: var(--primary);
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.cta-card-text {
    color: var(--text-light);
    font-size: 0.95rem;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    color: white;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.cta-button.primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}

.cta-button.secondary {
    background: linear-gradient(135deg, var(--accent), #6d28d9);
}

body.dark .cta-button.primary {
    background: linear-gradient(135deg, var(--primary-light), var(--primary-dark));
}

body.dark .cta-button.secondary {
    background: linear-gradient(135deg, var(--accent), #7c3aed);
}

.btn-primary {
    background: var(--primary);
    color: white;
    padding: 16px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
    box-shadow: 0 10px 20px rgba(10, 92, 255, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(10, 92, 255, 0.3);
}

.btn-secondary {
    padding: 16px 32px;
    border: 2px solid var(--primary);
    color: var(--primary);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-secondary:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(10, 92, 255, 0.3);
}

.video-container video {
    width: 100%;
    height: 100%;
    border-radius: 18px;
    object-fit: cover;
}

.video-meta i {
    width: 14px;
    display: inline-block;
    vertical-align: middle;
    margin-right: 6px;
}

.cta-section-title {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 40px;
    color: var(--text);
}

.footer-cta {
    text-align: center;
    padding: 60px 0;
    color: var(--text-light);
    font-size: 0.9rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

body.dark .footer-cta {
    border-top-color: rgba(255, 255, 255, 0.1);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}
