
/* =====================================
   JJCORETECH WEBSITE
   Official Brand Stylesheet
===================================== */

/* BRAND COLOURS */
:root {
    --core-black: #080B12;
    --tech-blue: #1677FF;
    --innovation-green: #00C781;
    --energy-orange: #FF8A24;
    --white: #FFFFFF;
    --light-text: #B8C2D1;
    --card-background: #111927;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: var(--core-black);
    color: var(--white);
    line-height: 1.7;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: 90%;
    max-width: 1150px;
    margin: auto;
}

/* HEADER */
.site-header {
    background: #080B12;
    border-bottom: 1px solid #1B2638;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    min-height: 75px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

..logo {
    display: inline-flex;
    align-items: center;
}

.brand-logo {
    display: block;
    width: 230px;
    max-width: 100%;
    height: auto;
}
.navigation {
    display: flex;
    gap: 25px;
}

.navigation a {
    font-size: 14px;
    color: var(--light-text);
    transition: color 0.3s ease;
}

.navigation a:hover {
    color: var(--innovation-green);
}

/* HERO */
.hero {
    min-height: 620px;
    display: flex;
    align-items: center;
    background:
        radial-gradient(
            circle at 85% 30%,
            rgba(22, 119, 255, 0.18),
            transparent 35%
        ),
        var(--core-black);
}

.hero-content {
    padding-top: 70px;
    padding-bottom: 70px;
}

.eyebrow,
.section-label {
    color: var(--innovation-green);
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 2px;
    margin-bottom: 18px;
}

.hero h1 {
    max-width: 850px;
    font-size: clamp(36px, 6vw, 65px);
    line-height: 1.15;
    margin-bottom: 25px;
}

.hero h1 span {
    display: block;
    color: var(--tech-blue);
}

.hero-description {
    max-width: 650px;
    color: var(--light-text);
    font-size: 17px;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.btn {
    display: inline-block;
    padding: 13px 24px;
    border-radius: 5px;
    font-weight: bold;
    transition: 0.3s ease;
}

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

.btn-primary:hover {
    background: var(--innovation-green);
    color: var(--core-black);
}

.btn-secondary {
    border: 1px solid var(--innovation-green);
    color: var(--innovation-green);
}

.btn-secondary:hover {
    background: var(--innovation-green);
    color: var(--core-black);
}

.tagline {
    color: var(--energy-orange);
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 2px;
    margin-top: 45px;
}

/* GENERAL SECTIONS */
.section {
    padding: 90px 0;
}

.section h2 {
    font-size: clamp(28px, 4vw, 40px);
    margin-bottom: 20px;
}

.section p {
    color: var(--light-text);
    max-width: 800px;
}

/* SERVICES */
.services-section {
    background: #0D1420;
}

.section-intro {
    margin-bottom: 35px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
    margin-top: 35px;
}

.service-card {
    background: var(--card-background);
    border: 1px solid #243248;
    border-radius: 10px;
    padding: 30px;
    transition: transform 0.3s ease,
                border-color 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--tech-blue);
}

.service-card h3 {
    color: var(--innovation-green);
    font-size: 21px;
    margin-bottom: 12px;
}

/* PROJECTS */
.project-card {
    margin-top: 30px;
    padding: 35px;
    background: var(--card-background);
    border-left: 4px solid var(--energy-orange);
    border-radius: 8px;
}

.project-category {
    color: var(--energy-orange) !important;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 2px;
}

.project-card h3 {
    font-size: 26px;
    margin: 12px 0;
}

.project-status {
    display: inline-block;
    color: var(--innovation-green);
    border: 1px solid var(--innovation-green);
    padding: 5px 12px;
    margin-top: 20px;
    border-radius: 20px;
    font-size: 12px;
}

/* CONTACT */
.contact-section {
    background: #0D1420;
}

.contact-section .btn {
    margin-top: 20px;
}

.contact-details {
    margin-top: 25px;
}

/* FOOTER */
.site-footer {
    padding: 30px 0;
    text-align: center;
    border-top: 1px solid #243248;
}

.site-footer p {
    color: var(--light-text);
    font-size: 13px;
    margin: 5px 0;
}

/* TABLET AND MOBILE */
@media (max-width: 768px) {

    .nav-container {
        flex-direction: column;
        padding: 15px 0;
    }

    .navigation {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px 18px;
    }

    .navigation a {
        font-size: 13px;
    }

    .hero {
        min-height: auto;
    }

    .hero-content {
        padding-top: 65px;
        padding-bottom: 65px;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 65px 0;
    }
}

/* SMALL PHONES */
@media (max-width: 380px) {

    .logo {
        font-size: 20px;
    }

    .navigation {
        gap: 10px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        text-align: center;
    }
/* =====================================
   MOBILE HAMBURGER NAVIGATION
===================================== */

/* Hide menu button on desktop */
.menu-toggle {
    display: none;
    background: transparent;
    color: #00C781;
    border: 1px solid #00C781;
    border-radius: 5px;
    padding: 8px 13px;
    font-size: 23px;
    cursor: pointer;
}

/* Mobile menu */
@media (max-width: 768px) {

    .nav-container {
        position: relative;
        flex-direction: row;
        justify-content: space-between;
        flex-wrap: wrap;
        padding: 12px 0;
    }

    .brand-logo {
        width: 190px;
    }

    .menu-toggle {
        display: block;
    }

    .navigation {
        display: none;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        width: 100%;
        padding: 12px 0;
        background: #111927;
        border: 1px solid #243248;
        border-radius: 6px;
    }

    .navigation.active {
        display: flex;
    }

    .navigation a {
        display: block;
        width: 100%;
        padding: 12px 18px;
    }

    .navigation a:hover {
        background: #1B2638;
        color: #00C781;
    }
}

}
