/* kit.css - Kaoryanse Project Styles */

:root {
    --primary-teal: #008080;
    --light-teal: #a2e1ad;
    --deep-green: #669966;
    --text-white: #ffffff;
    --text-yellow: #ffff99;
    --bg-light: #f4f9f4;
    --shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

body {
    background-color: var(--bg-light);
    font-family: "MS UI Gothic", "MS PGothic", sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* Header & Navigation */
header {
    background: var(--deep-green);
    color: var(--text-yellow);
    box-shadow: var(--shadow);
    width: 100%;
    position: relative;
    z-index: 1000;
}

.header-top {
    max-width: 1000px;
    margin: 0 auto;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: url('img/kg2_3.jpg') no-repeat center center;
    background-size: cover;
}

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

.logo-section img {
    height: 70px;
    width: auto;
}

.branding {
    text-align: right;
    margin-left: 20px;
}

.branding-top {
    font-size: 10pt;
}

.branding-main {
    font-size: 16pt;
    font-weight: bold;
}

/* Navigation */
nav {
    background-color: var(--light-teal);
    width: 100%;
}

.nav-inner {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 5px 20px;
}

nav ul {
    list-style: none;
    display: flex;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
}

nav ul li {
    margin-left: 10px;
    font-size: 9pt;
}

nav ul li:not(:first-child)::before {
    content: "｜";
    color: white;
    margin-right: 10px;
}

nav ul li a {
    text-decoration: none;
    color: white;
    transition: var(--transition);
}

nav ul li a:hover {
    text-decoration: underline;
    opacity: 0.8;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    flex-direction: column;
    gap: 5px;
    z-index: 1100;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: white;
    border-radius: 2px;
    transition: var(--transition);
}

/* Main Content Container */
.container {
    max-width: 800px;
    margin: 20px auto;
    padding: 0 15px;
    background: white;
    box-shadow: var(--shadow);
}

/* Table Responsive Helper */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

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

/* Mobile Adjustments */
@media (max-width: 768px) {
    .header-top {
        padding: 5px 15px;
    }

    .branding-top {
        font-size: 8pt;
    }

    .branding-main {
        font-size: 12pt;
    }

    .logo-section img {
        height: 50px;
    }

    .hamburger {
        display: flex;
    }

    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 250px;
        height: 100vh;
        background: var(--primary-teal);
        transition: right 0.3s ease;
        padding-top: 60px;
        box-shadow: -2px 0 5px rgba(0, 0, 0, 0.2);
    }

    nav.open {
        right: 0;
    }

    .nav-inner {
        flex-direction: column;
        align-items: flex-start;
        padding: 0;
    }

    nav ul {
        flex-direction: column;
        width: 100%;
    }

    nav ul li {
        margin: 0;
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    nav ul li:not(:first-child)::before {
        content: "";
        margin: 0;
    }

    nav ul li a {
        display: block;
        padding: 15px 20px;
        color: white;
        font-size: 11pt;
    }

    /* Hamburger Animation */
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
    }

    /* Responsive tables on mobile */
    table {
        width: 100% !important;
        display: block;
    }

    table tr,
    table td {
        display: block;
        width: 100% !important;
        box-sizing: border-box;
    }

    .container {
        margin: 10px;
        padding: 10px;
    }

    blockquote {
        margin: 10px;
        padding: 0;
    }
}