/*
Theme Name: Blocksy Child
Template: blocksy
Version: 1.0.0
*/

/* Import Fonts */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;600;700;800;900&family=Inter:wght@400;600;700;800&display=swap');

:root {
    --bg-dark: #050510;
    --bg-card: #0f0f1a;
    --accent-cyan: #00d2ff;
    --accent-gradient: linear-gradient(90deg, #00d2ff 0%, #3a7bd5 100%);
    --text-white: #ffffff;
    --text-gray: #b3b3b3;
}

body {
    background-color: var(--bg-dark) !important;
    color: var(--text-white) !important;
    font-family: 'Cairo', sans-serif !important;
}

/* Hide default theme header Globally */
.ct-header,
.site-header {
    display: none !important;
}

/* Hide default footer Globally (We use custom footer in templates or we can make a global one later) */
.ct-footer {
    display: none;
}

/* Unified Sticky Header */
.unified-header {
    position: fixed !important;
    /* Fixed on all pages */
    top: 0;
    left: 0;
    width: 100%;
    height: 90px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 50px;
    z-index: 9999;
    direction: rtl;
    /* Default structure RTL */
    background: rgba(5, 5, 16, 0.8);
    /* Semi-transparent background */
    backdrop-filter: blur(10px);
    /* Glassmorphism */
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.unified-header.en-mode {
    direction: ltr;
    /* Switch to LTR for English */
}

.header-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.header-nav {
    display: flex;
    gap: 30px;
    align-items: center;
}

.header-nav a {
    color: #e0e0e0;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: 0.3s;
    font-family: 'Cairo', sans-serif;
}

.en-mode .header-nav a {
    font-family: 'Inter', sans-serif;
}

.header-nav a:hover {
    color: var(--accent-cyan);
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.9rem;
    margin-right: 15px;
    /* Spacing */
}

.en-mode .lang-switcher {
    margin-right: 0;
    margin-left: 15px;
}

.lang-switcher span,
.lang-switcher a {
    cursor: pointer;
    opacity: 0.7;
    transition: 0.3s;
    color: #fff;
    text-decoration: none;
}

.lang-switcher span.active,
.lang-switcher a.active {
    opacity: 1;
    font-weight: 700;
    color: var(--accent-cyan);
}

.lang-switcher a:hover {
    opacity: 1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .unified-header {
        padding: 0 20px;
    }

    .header-nav {
        gap: 15px;
    }

    .header-nav a {
        font-size: 0.9rem;
    }
}