/* ==========================================
   Knowledge Pioneers Contracting Company
   Main Website Stylesheet
   ========================================== */


/* ---------- Colors ---------- */

:root {
    --navy: #071A2F;
    --navy-light: #0D2947;
    --navy-dark: #04111F;

    --gold: #C7A35A;
    --gold-light: #D8BA78;

    --white: #FFFFFF;
    --off-white: #F6F7F9;

    --text: #17202A;
    --text-light: #6B7280;

    --border: #E5E7EB;
}


/* ---------- Reset ---------- */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    direction: rtl;

    font-family: Tahoma, Arial, sans-serif;

    background: var(--white);
    color: var(--text);

    line-height: 1.7;

    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    display: block;
    max-width: 100%;
}

button,
input,
textarea,
select {
    font-family: inherit;
}


/* ---------- Global Container ---------- */

.container {
    width: min(1180px, 90%);
    margin: 0 auto;
}


/* ==========================================
   Header
   ========================================== */

.site-header {
    width: 100%;

    background: rgba(7, 26, 47, 0.98);

    border-bottom: 1px solid rgba(199, 163, 90, 0.20);

    position: sticky;
    top: 0;

    z-index: 1000;

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}


/* ---------- Header Layout ---------- */

.header-container {
    min-height: 88px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 28px;
}


/* ==========================================
   Brand / Logo
   ========================================== */

.brand {
    display: flex;
    align-items: center;

    gap: 12px;

    flex-shrink: 0;
}


/* Temporary KPCC Logo */

.brand-mark {
    width: 58px;
    height: 58px;

    border: 1px solid var(--gold);
    border-radius: 12px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: var(--gold);

    font-size: 16px;
    font-weight: 800;

    letter-spacing: 1px;

    transition: 0.25s ease;
}

.brand:hover .brand-mark {
    background: var(--gold);
    color: var(--navy);
}


/* Company Name */

.brand-text {
    display: flex;
    flex-direction: column;

    line-height: 1.35;
}

.brand-text strong {
    color: var(--white);

    font-size: 15px;
    font-weight: 700;

    white-space: nowrap;
}

.brand-text span {
    color: #9CA8B5;

    font-size: 9px;

    direction: ltr;

    margin-top: 3px;

    white-space: nowrap;
}


/* ==========================================
   Navigation
   ========================================== */

.main-nav {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 21px;
}

.main-nav a {
    position: relative;

    color: #D8DEE5;

    font-size: 14px;
    font-weight: 500;

    padding: 32px 0;

    white-space: nowrap;

    transition:
        color 0.25s ease,
        transform 0.25s ease;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--gold);
}


/* Gold underline */

.main-nav a::after {
    content: "";

    position: absolute;

    right: 50%;
    bottom: 23px;

    width: 0;
    height: 2px;

    background: var(--gold);

    transform: translateX(50%);

    transition: width 0.25s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 22px;
}


/* ==========================================
   Quote Button
   ========================================== */

.header-quote {
    background: var(--gold);
    color: var(--navy);

    padding: 11px 19px;

    border: 1px solid var(--gold);

    border-radius: 7px;

    font-size: 13px;
    font-weight: 700;

    white-space: nowrap;

    flex-shrink: 0;

    transition:
        background 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease;
}

.header-quote:hover {
    background: var(--gold-light);

    border-color: var(--gold-light);

    transform: translateY(-2px);
}


/* ==========================================
   Temporary Home Hero
   ========================================== */

.test-section {
    min-height: calc(100vh - 88px);

    background:
        radial-gradient(
            circle at 20% 30%,
            rgba(199, 163, 90, 0.08),
            transparent 35%
        ),
        linear-gradient(
            135deg,
            var(--navy-dark),
            var(--navy)
        );

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;

    padding: 70px 20px;

    position: relative;
    overflow: hidden;
}


/* Decorative background */

.test-section::before {
    content: "";

    position: absolute;

    width: 450px;
    height: 450px;

    border: 1px solid rgba(199, 163, 90, 0.07);

    border-radius: 50%;

    top: -220px;
    left: -120px;
}

.test-section::after {
    content: "";

    position: absolute;

    width: 350px;
    height: 350px;

    border: 1px solid rgba(199, 163, 90, 0.05);

    border-radius: 50%;

    bottom: -180px;
    right: -100px;
}


/* Hero Content */

.test-content {
    position: relative;

    z-index: 2;

    max-width: 850px;
}

.test-content h1 {
    color: var(--white);

    font-size: clamp(38px, 5vw, 68px);

    line-height: 1.3;

    margin-bottom: 16px;

    font-weight: 800;
}

.test-content h1 span {
    color: var(--gold);
}

.test-content p {
    color: #CDD5DE;

    font-size: 18px;

    max-width: 700px;

    margin: 0 auto 30px;
}


/* Hero Button */

.test-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 150px;

    background: var(--gold);
    color: var(--navy);

    padding: 13px 28px;

    border: 1px solid var(--gold);

    border-radius: 8px;

    font-size: 14px;
    font-weight: 700;

    transition:
        background 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.test-button:hover {
    background: var(--gold-light);

    transform: translateY(-3px);

    box-shadow: 0 10px 30px rgba(199, 163, 90, 0.18);
}


/* ==========================================
   Tablet
   ========================================== */

@media (max-width: 1100px) {

    .header-container {
        gap: 18px;
    }

    .brand-text {
        display: none;
    }

    .main-nav {
        gap: 14px;
    }

    .main-nav a {
        font-size: 13px;
    }

    .header-quote {
        padding: 10px 15px;
    }
}


/* ==========================================
   Mobile
   ========================================== */

@media (max-width: 820px) {

    .container {
        width: min(92%, 1180px);
    }

    .header-container {
        min-height: 75px;

        gap: 12px;
    }

    .main-nav {
        display: none;
    }

    .brand-text {
        display: flex;
    }

    .brand-text strong {
        font-size: 13px;
    }

    .brand-text span {
        display: none;
    }

    .brand-mark {
        width: 48px;
        height: 48px;

        border-radius: 10px;

        font-size: 13px;
    }

    .header-quote {
        padding: 9px 13px;

        font-size: 11px;
    }

    .test-section {
        min-height: calc(100vh - 75px);

        padding: 60px 20px;
    }

    .test-content h1 {
        font-size: 36px;
    }

    .test-content p {
        font-size: 15px;

        margin-bottom: 25px;
    }

    .test-button {
        padding: 12px 22px;

        font-size: 13px;
    }
}


/* ==========================================
   Small Mobile
   ========================================== */

@media (max-width: 480px) {

    .brand-text strong {
        max-width: 125px;

        white-space: normal;

        line-height: 1.4;
    }

    .brand-mark {
        width: 44px;
        height: 44px;

        font-size: 12px;
    }

    .header-quote {
        padding: 8px 10px;

        border-radius: 6px;
    }

    .test-content h1 {
        font-size: 31px;
    }

    .test-content p {
        font-size: 14px;
    }
}