/* =========================================================
   NGỌC SƠN IT GUIDE
   COMMON CSS
   ========================================================= */

:root {
    --blue: #155eef;
    --blue-dark: #0f3f9e;
    --blue-light: #eef5ff;

    --yellow: #f2c94c;
    --yellow-dark: #d9a900;
    --yellow-light: #fff9df;

    --text: #1f2937;
    --text-light: #667085;

    --white: #ffffff;
    --background: #f7f9fc;
    --border: #e4e7ec;

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 18px;

    --shadow-sm: 0 4px 14px rgba(15, 23, 42, 0.06);
    --shadow-md: 0 10px 28px rgba(15, 23, 42, 0.10);

    --container-width: 100%;
}


/* =========================================================
   RESET
   ========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--background);
}

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

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


/* =========================================================
   CONTAINER
   ========================================================= */

.container {
    width: 100%;
    margin: 0 auto;
    padding-left: 28px;
    padding-right: 28px;
}


/* =========================================================
   HEADER
   ========================================================= */

.site-header {
    background: var(--white);
    border-bottom: 3px solid var(--yellow);
}

.header-inner {
    min-height: 68px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    width: 100%;
}


/* =========================================================
   LOGO
   ========================================================= */

.brand {
    display: inline-flex;
    align-items: center;

    border: none;
    outline: none;

    flex-shrink: 0;
}

.brand-logo {
    width: auto;
    height: 54px;

    object-fit: contain;

    border: none;
    outline: none;
    box-shadow: none;
}


/* =========================================================
   NAVIGATION
   ========================================================= */

.main-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;

    gap: 32px;
    margin-left: auto;
}

.nav-link {
    color: var(--blue-dark);
    font-weight: 600;
    white-space: nowrap;

    transition:
        color 0.2s ease,
        transform 0.2s ease;
}

.nav-link:hover {
    color: var(--blue);
    transform: translateY(-1px);
}


/* =========================================================
   MAIN
   ========================================================= */

.site-main {
    min-height: calc(100vh - 68px - 160px);
    padding: 25px 0 64px;
}


/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
    background: var(--white);
    border-top: 3px solid var(--yellow);
}

.footer-inner {
    padding: clamp(14px, 1.2vw, 20px) 0;
    text-align: center;
}

.footer-title {
    color: var(--blue-dark);
    font-size: clamp(14px, 1vw, 15px);
    line-height: 1.35;
    font-weight: 700;
    margin-bottom: 2px;
}

.footer-text {
    color: var(--text-light);
    font-size: clamp(12px, 0.9vw, 13px);
    line-height: 1.4;
}

.footer-copy {
    margin-top: 4px;
    color: var(--text-light);
    font-size: clamp(11px, 0.85vw, 12px);
    line-height: 1.3;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 640px) {

    .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .header-inner {
        min-height: 68px;
    }

    .brand-logo {
        height: 54px;
    }

    .main-nav {
        gap: 16px;
    }

    .nav-link {
        font-size: 14px;
    }

    .site-main {
        padding: 32px 0 40px;
    }
}
