/*
Theme Name: Saqr Group Corporate Theme
Theme URI: https://saqr.3boxadv.tech/
Author: Saqr Group Engineering & Media
Author URI: https://saqr.3boxadv.tech/
Description: Luxury Corporate WordPress Theme with Arabic RTL and English LTR support for Saqr Group of Companies (مجموعة شركات صقر).
Version: 1.0.0
Text Domain: saqr-group
*/

:root {
    /* Primary Royal Dark Green & Gold Identity */
    --saqr-primary-900: #061A11;
    --saqr-primary-800: #0B2B1D;
    --saqr-primary-700: #103D2A;
    --saqr-primary-600: #17543A;
    --saqr-primary-500: #1E704E;
    --saqr-primary-50:  #EDF7F2;

    /* Theme Aliases for Dark Green */
    --saqr-navy-900: #061A11;
    --saqr-navy-800: #0B2B1D;
    --saqr-navy-700: #103D2A;
    --saqr-navy-600: #17543A;
    --saqr-navy-50:  #EDF7F2;

    /* Luxury Gold Palette */
    --saqr-gold-500: #C5A059;
    --saqr-gold-400: #DFBA73;
    --saqr-gold-600: #9E7B35;
    --saqr-gold-grad: linear-gradient(135deg, #F3DC9B 0%, #C5A059 50%, #9A7730 100%);
    --saqr-gold-subtle: rgba(197, 160, 89, 0.12);

    --saqr-white: #FFFFFF;
    --saqr-bg-light: #F7FAF8;
    --saqr-card-bg: #FFFFFF;
    --saqr-slate-100: #F1F5F9;
    --saqr-slate-200: #E2E8F0;
    --saqr-slate-300: #CBD5E1;
    --saqr-slate-500: #64748B;
    --saqr-slate-700: #334155;
    --saqr-slate-900: #0F172A;
    --saqr-radius-sm: 6px;
    --saqr-radius: 12px;
    --saqr-radius-lg: 18px;
    --saqr-shadow: 0 4px 20px -2px rgba(11, 43, 29, 0.08);
    --saqr-shadow-lg: 0 16px 36px -6px rgba(11, 43, 29, 0.22);
    --saqr-shadow-gold: 0 8px 24px rgba(197, 160, 89, 0.35);
    --saqr-font-ar: 'Cairo', 'Tajawal', 'Segoe UI', Tahoma, sans-serif;
    --saqr-font-en: 'Montserrat', 'Inter', system-ui, sans-serif;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--saqr-font-ar);
    background-color: var(--saqr-bg-light);
    color: var(--saqr-slate-700);
    line-height: 1.7;
    overflow-x: hidden;
}

body.lang-en {
    font-family: var(--saqr-font-en);
    direction: ltr;
    text-align: left;
}

body.lang-ar {
    font-family: var(--saqr-font-ar);
    direction: rtl;
    text-align: right;
}

a {
    color: var(--saqr-gold-500);
    text-decoration: none;
    transition: all 0.25s ease;
}

a:hover {
    color: var(--saqr-gold-400);
}

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

.saqr-container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    color: var(--saqr-navy-800);
    font-weight: 800;
    line-height: 1.3;
    margin-top: 0;
}

.text-gold { color: var(--saqr-gold-500) !important; }
.text-navy { color: var(--saqr-navy-800) !important; }
.text-white { color: var(--saqr-white) !important; }
.text-muted { color: var(--saqr-slate-500) !important; }
.font-bold { font-weight: 700 !important; }

/* Topbar */
.saqr-topbar {
    background: var(--saqr-navy-900);
    color: var(--saqr-slate-300);
    padding: 10px 0;
    font-size: 13px;
    border-bottom: 1px solid rgba(197, 160, 89, 0.2);
}

.saqr-topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.saqr-topbar-contact {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.topbar-link {
    color: var(--saqr-slate-300);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
}

.topbar-link:hover {
    color: var(--saqr-gold-400);
}

.topbar-link .dashicons {
    color: var(--saqr-gold-500);
    font-size: 16px;
    width: 16px;
    height: 16px;
}

.saqr-topbar-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.lang-switch-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(197, 160, 89, 0.4);
    color: var(--saqr-gold-400);
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
}

.lang-switch-btn:hover {
    background: var(--saqr-gold-500);
    color: var(--saqr-navy-900);
}

/* Header & Main Nav */
.saqr-navbar {
    background: var(--saqr-navy-800);
    box-shadow: var(--saqr-shadow);
    position: sticky;
    top: 0;
    z-index: 999;
    padding: 14px 0;
    border-bottom: 2px solid var(--saqr-gold-500);
}

.saqr-navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.saqr-brand-logo img {
    height: 52px;
    width: auto;
}

.saqr-nav-links {
    display: flex;
    align-items: center;
    gap: 22px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.saqr-nav-item {
    position: relative;
}

.saqr-nav-link {
    color: var(--saqr-white);
    font-weight: 700;
    font-size: 14px;
    padding: 8px 4px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.saqr-nav-link:hover, .saqr-nav-link.active {
    color: var(--saqr-gold-400);
}

/* Dropdown */
.saqr-nav-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--saqr-navy-800);
    min-width: 250px;
    box-shadow: var(--saqr-shadow-lg);
    border-radius: 8px;
    border: 1px solid rgba(197, 160, 89, 0.3);
    padding: 10px 0;
    display: none;
    list-style: none;
    z-index: 1000;
}

body.lang-en .saqr-nav-dropdown {
    right: auto;
    left: 0;
}

.saqr-nav-item:hover .saqr-nav-dropdown {
    display: block;
    animation: fadeIn 0.2s ease;
}

.saqr-nav-dropdown a {
    color: var(--saqr-slate-200);
    padding: 10px 18px;
    display: block;
    font-size: 13px;
    font-weight: 600;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.saqr-nav-dropdown a:hover {
    background: rgba(197, 160, 89, 0.15);
    color: var(--saqr-gold-400);
    padding-right: 22px;
}

/* Nav Actions */
.saqr-nav-cta {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-nav-portal {
    background: transparent;
    border: 1px solid var(--saqr-gold-500);
    color: var(--saqr-gold-400) !important;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
}

.btn-nav-portal:hover {
    background: var(--saqr-gold-subtle);
    border-color: var(--saqr-gold-400);
}

.btn-nav-quote {
    background: var(--saqr-gold-grad);
    color: var(--saqr-navy-900) !important;
    padding: 8px 18px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 800;
    box-shadow: 0 4px 12px rgba(197, 160, 89, 0.3);
}

.btn-nav-quote:hover {
    transform: translateY(-1px);
    box-shadow: var(--saqr-shadow-gold);
}

.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: 1px solid var(--saqr-gold-500);
    color: var(--saqr-gold-400);
    padding: 6px 10px;
    border-radius: 6px;
    cursor: pointer;
}

@media (max-width: 1024px) {
    .saqr-nav-links { display: none; }
    .mobile-menu-toggle { display: block; }
    .saqr-nav-cta { display: none; }
}

/* Mobile Drawer */
.saqr-mobile-drawer {
    display: none;
    background: var(--saqr-navy-900);
    padding: 20px;
    border-top: 1px solid var(--saqr-gold-500);
}

.saqr-mobile-drawer.active {
    display: block;
}

.saqr-mobile-drawer ul {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
}

.saqr-mobile-drawer a {
    color: var(--saqr-white);
    padding: 10px 0;
    display: block;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-weight: 700;
}

/* Hero Section with Blurred Architectural Skyscraper Background */
.saqr-hero-section {
    position: relative;
    background-color: #061A11;
    color: var(--saqr-white);
    padding: 95px 0 110px;
    overflow: hidden;
}

.saqr-hero-section::before {
    content: "";
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background-image: url('assets/images/hero-bg-tower.jpg');
    background-size: cover;
    background-position: center 30%;
    background-repeat: no-repeat;
    filter: blur(7px) brightness(0.60) saturate(1.15);
    transform: scale(1.06);
    z-index: 1;
}

.saqr-hero-section::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(6, 26, 17, 0.88) 0%, rgba(11, 43, 29, 0.76) 50%, rgba(6, 26, 17, 0.92) 100%),
                radial-gradient(circle at 85% 20%, rgba(197, 160, 89, 0.22) 0%, transparent 65%);
    z-index: 2;
}

.saqr-hero-section .saqr-container {
    position: relative;
    z-index: 3;
}

.saqr-hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
}

@media (max-width: 900px) {
    .saqr-hero-grid { grid-template-columns: 1fr; }
}

.hero-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(197, 160, 89, 0.12);
    border: 1px solid var(--saqr-gold-500);
    color: var(--saqr-gold-400);
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 42px;
    font-weight: 900;
    line-height: 1.25;
    color: var(--saqr-white);
    margin-bottom: 20px;
}

.hero-title span {
    background: var(--saqr-gold-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: 17px;
    line-height: 1.8;
    color: var(--saqr-slate-300);
    margin-bottom: 30px;
    max-width: 620px;
}

.hero-cta-group {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.saqr-btn-hero-primary {
    background: var(--saqr-gold-grad);
    color: var(--saqr-navy-900) !important;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 800;
    border-radius: 8px;
    box-shadow: var(--saqr-shadow-gold);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.saqr-btn-hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(197, 160, 89, 0.45);
}

.saqr-btn-hero-secondary {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--saqr-white) !important;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 700;
    border-radius: 8px;
}

.saqr-btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: var(--saqr-gold-400);
}

.hero-trust-bar {
    display: flex;
    gap: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
}

.trust-metric-num {
    font-size: 28px;
    font-weight: 900;
    color: var(--saqr-gold-400);
    line-height: 1;
}

.trust-metric-lbl {
    font-size: 12px;
    color: var(--saqr-slate-300);
    margin-top: 4px;
}

/* Hero Visual Card */
.hero-visual-card {
    background: linear-gradient(135deg, rgba(16, 42, 76, 0.85) 0%, rgba(7, 19, 41, 0.95) 100%);
    border: 1px solid rgba(197, 160, 89, 0.4);
    border-radius: var(--saqr-radius-lg);
    padding: 34px;
    box-shadow: var(--saqr-shadow-lg);
    position: relative;
}

.hero-visual-card::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: -15px;
    width: 90px;
    height: 90px;
    border-bottom: 3px solid var(--saqr-gold-500);
    border-left: 3px solid var(--saqr-gold-500);
    border-radius: 0 0 0 16px;
    pointer-events: none;
}

.hero-visual-title {
    font-size: 18px;
    font-weight: 800;
    color: var(--saqr-gold-400);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-subsidiaries-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hero-sub-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.2s;
}

.hero-sub-item:hover {
    background: rgba(197, 160, 89, 0.12);
    border-color: var(--saqr-gold-500);
    transform: translateX(-4px);
}

.hero-sub-icon {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: var(--saqr-gold-grad);
    color: var(--saqr-navy-900);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.hero-sub-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--saqr-white);
}

.hero-sub-meta {
    font-size: 11px;
    color: var(--saqr-gold-light);
}

/* Sections Common */
.saqr-section {
    padding: 80px 0;
}

.saqr-section-light {
    background-color: var(--saqr-white);
}

.saqr-section-dark {
    background: linear-gradient(135deg, #071329 0%, #0A192F 100%);
    color: var(--saqr-white);
}

.saqr-section-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 50px;
}

.section-tag {
    display: inline-block;
    color: var(--saqr-gold-600);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.saqr-section-dark .section-tag {
    color: var(--saqr-gold-400);
}

.section-title {
    font-size: 32px;
    font-weight: 900;
    margin-bottom: 14px;
}

.saqr-section-dark .section-title {
    color: var(--saqr-white);
}

.section-subtitle {
    font-size: 16px;
    color: var(--saqr-slate-500);
    line-height: 1.8;
}

.saqr-section-dark .section-subtitle {
    color: var(--saqr-slate-300);
}

/* Chairman Section */
.chairman-card {
    background: linear-gradient(135deg, #0F3D2A 0%, #061A11 100%);
    border: 2px solid var(--saqr-gold-500);
    border-radius: var(--saqr-radius-lg);
    padding: 44px;
    color: var(--saqr-white);
    box-shadow: var(--saqr-shadow-lg);
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 40px;
    align-items: center;
}

@media (max-width: 900px) {
    .chairman-card { grid-template-columns: 1fr; padding: 24px; }
}

.chairman-portrait-box {
    text-align: center;
    position: relative;
}

.chairman-portrait-wrap {
    width: 175px;
    height: 175px;
    margin: 0 auto 18px;
    border-radius: 50%;
    border: 3.5px solid var(--saqr-gold-500);
    overflow: hidden;
    box-shadow: 0 0 28px rgba(197, 160, 89, 0.45);
    background: #0B2B1D;
    position: relative;
}

.chairman-portrait-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.3s ease;
}

.chairman-portrait-wrap:hover img {
    transform: scale(1.05);
}

.chairman-emblem-seal {
    width: 140px;
    height: 140px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: var(--saqr-gold-subtle);
    border: 3px solid var(--saqr-gold-500);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 24px rgba(197, 160, 89, 0.3);
}

.chairman-name {
    font-size: 24px;
    font-weight: 900;
    color: var(--saqr-gold-400);
    margin-bottom: 4px;
}

.chairman-title-label {
    font-size: 13px;
    color: var(--saqr-slate-300);
    font-weight: 600;
}

.chairman-quote-text {
    font-size: 17px;
    line-height: 1.9;
    color: #E2E8F0;
    font-style: italic;
    position: relative;
    padding-right: 24px;
    border-right: 3px solid var(--saqr-gold-500);
    margin-bottom: 24px;
}

body.lang-en .chairman-quote-text {
    padding-right: 0;
    padding-left: 24px;
    border-right: none;
    border-left: 3px solid var(--saqr-gold-500);
}

/* Subsidiaries Grid */
.subsidiaries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.subsidiary-card {
    background: var(--saqr-white);
    border-radius: var(--saqr-radius);
    padding: 30px;
    border: 1px solid var(--saqr-slate-200);
    box-shadow: var(--saqr-shadow);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.subsidiary-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--saqr-shadow-lg);
    border-color: var(--saqr-gold-500);
}

.sub-card-icon {
    width: 54px;
    height: 54px;
    border-radius: 12px;
    background: var(--saqr-gold-subtle);
    color: var(--saqr-gold-600);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 20px;
    border: 1px solid rgba(197, 160, 89, 0.3);
}

.sub-card-title {
    font-size: 19px;
    font-weight: 800;
    color: var(--saqr-navy-800);
    margin-bottom: 6px;
}

.sub-card-en {
    font-size: 12px;
    color: var(--saqr-gold-600);
    font-weight: 700;
    margin-bottom: 14px;
}

.sub-card-desc {
    font-size: 14px;
    color: var(--saqr-slate-500);
    line-height: 1.7;
    margin-bottom: 20px;
}

.sub-card-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
    color: var(--saqr-navy-800);
}

.sub-card-btn:hover {
    color: var(--saqr-gold-600);
}

/* Projects Showcase */
.projects-showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.showcase-card {
    background: var(--saqr-white);
    border-radius: var(--saqr-radius);
    overflow: hidden;
    box-shadow: var(--saqr-shadow);
    border: 1px solid var(--saqr-slate-200);
    transition: transform 0.25s, box-shadow 0.25s;
}

.showcase-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--saqr-shadow-lg);
}

.showcase-header {
    background: var(--saqr-navy-800);
    padding: 22px;
    color: var(--saqr-white);
    position: relative;
    border-bottom: 3px solid var(--saqr-gold-500);
}

.showcase-code {
    font-size: 11px;
    font-weight: 800;
    color: var(--saqr-gold-400);
    background: rgba(197, 160, 89, 0.15);
    padding: 3px 8px;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 8px;
}

.showcase-title {
    font-size: 17px;
    font-weight: 800;
    color: var(--saqr-white);
    margin: 0;
    line-height: 1.4;
}

.showcase-body {
    padding: 22px;
}

.showcase-meta-row {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--saqr-slate-500);
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--saqr-slate-100);
}

.showcase-progress-wrap {
    margin-top: 14px;
}

/* Footer */
.saqr-footer {
    background: var(--saqr-navy-900);
    color: var(--saqr-slate-300);
    padding: 70px 0 24px;
    border-top: 3px solid var(--saqr-gold-500);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 36px;
    margin-bottom: 50px;
}

@media (max-width: 900px) {
    .footer-grid { grid-template-columns: 1fr; }
}

.footer-brand-desc {
    font-size: 14px;
    color: var(--saqr-slate-400);
    line-height: 1.8;
    margin-top: 16px;
}

.footer-col-title {
    color: var(--saqr-gold-400);
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 8px;
}

.footer-col-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 32px;
    height: 2px;
    background: var(--saqr-gold-500);
}

body.lang-en .footer-col-title::after {
    right: auto;
    left: 0;
}

.footer-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-links-list a {
    color: var(--saqr-slate-300);
    font-size: 14px;
}

.footer-links-list a:hover {
    color: var(--saqr-gold-400);
    padding-right: 6px;
}

body.lang-en .footer-links-list a:hover {
    padding-right: 0;
    padding-left: 6px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 14px;
}

.footer-contact-item .dashicons {
    color: var(--saqr-gold-400);
    margin-top: 3px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    font-size: 13px;
    color: var(--saqr-slate-500);
}
