/* Navigation Bar */
.navbar {
    background-color: rgb(52,52,52);
    padding: 12px 0;
    text-align: center;
    margin-bottom: 0px;
    padding-top: 25px;

    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999; /* keeps it above all content */
}

.navbar a {
    color: #fff;
    text-decoration: none;
    margin: 0 15px;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 1px;
}

.navbar a:hover {
    color: #ff3333;
}

.navbar a.active {
    color: #b30000;                 /* dojo red accent */
    font-size: 22px;
    font-weight: 700;               /* slightly bolder */
    /*border-bottom: 2px solid #b30000;*/ /* underline highlight */
    padding-bottom: 4px;            /* spacing for underline */
}

/*Divider between menu items*/
.divider {
    height: 2px;
    width: 80%;
    margin: 20px auto 20px auto;
    background: rgba(255,255,255,0.25);
    position: relative;
}

.divider::after {
    content: "";
    position: absolute;
    right: 0;
    top: -4px;
    width: 40px;
    height: 2px;
    background: rgba(255,255,255,0.35);
}

/* Headings */
h1 {
    font-family: "Yuji Syuku", serif;
    font-size: 48px;
    margin-bottom: 20px;
}

h2 {
    font-family: "M PLUS 1p", sans-serif;
    font-size: 32px;
    margin-bottom: 15px;
}

h3 {
    font-family: "M PLUS 1p", sans-serif;
    font-size: 24px;
    margin-bottom: 10px;
}

h4 {
    font-family: "M PLUS 1p", sans-serif;
    font-size: 20px;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* Hero Copy */
.hero-copy h1 {
    font-size: 56px;
    letter-spacing: 2px;
}

.hero-copy {
    text-shadow: 2px 2px 6px rgba(0,0,0,0.6);
}

/* Body */
body {
    font-family: "Noto Sans", Arial, sans-serif;
    background-color: rgba(17,17,17,0.85);
    padding-top: 50px; /* adjust to match your header height */
}

/* Body Text */
p {
    font-family: "Noto Sans", sans-serif;
    font-size: 17px;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* Dojo Border and Accent */
.dojo-border {
    border: 2px solid rgba(255,255,255,0.15);
    border-radius: 6px;
    padding: 20px;
    position: relative;
}

.dojo-border::before,
.dojo-border::after {
    content: "";
    position: absolute;
    width: 60px;
    height: 2px;
    background: rgba(255,255,255,0.25);
}

.dojo-border::before {
    top: -6px;
    left: 20px;
}

.dojo-border::after {
    bottom: -6px;
    right: 20px;
}

.dojo-accent {
    border-left: 4px solid #b30000;
    padding-left: 20px;
}

.dojo-texture {
    background: radial-gradient(rgba(255,255,255,0.05), rgba(0,0,0,0.4));
    border-radius: 8px;
}

/* Footer */
.footer-divider {
    height: 2px;
    width: 80%;
    margin: 40px auto 20px auto;
    background: rgba(255,255,255,0.25);
    position: relative;
}

.footer-divider::after {
    content: "";
    position: absolute;
    right: 0;
    top: -4px;
    width: 40px;
    height: 2px;
    background: rgba(255,255,255,0.35);
}

.footer {
    background-color: rgb(52,52,52);
    padding: 10px 0;
    text-align: center;
    margin-top: 0;
}

.footer-text {
    color: #fff;
    font-size: 14px;
    margin-top: 10px;
    font-family: "Noto Sans", sans-serif;
}

/* Social Icons */
.footer-social img,
.social-icons img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    margin: 0 8px;
    vertical-align: middle;
    cursor: pointer;
    border-radius: 6px;
    transition: transform 0.2s ease, opacity 0.2s ease;
    margin-top: 10px;
}

.footer-social img:hover,
.social-icons img:hover {
    transform: scale(1.15);
    opacity: 0.85;
}

/* ============================
   MOBILE TYPOGRAPHY REFINEMENTS
   ============================ */
@media (max-width: 700px) {

    /* Hero Title */
    .hero-copy h1 {
        font-size: 40px;
        letter-spacing: 1px;
    }

    /* Section Headings */
    h1 {
        font-size: 36px;
    }

    h2 {
        font-size: 26px;
        margin-bottom: 12px;
    }

    h3 {
        font-size: 20px;
        margin-bottom: 8px;
    }

    h4 {
        font-size: 18px;
        margin-bottom: 8px;
    }

    /* Body Text */
    p {
        font-size: 15px;
        line-height: 1.55;
        margin-bottom: 12px;
    }

    /* Navigation */
    .navbar a {
        font-size: 16px;
        letter-spacing: 0.5px;
        margin: 0 10px;
    }

    /* Intro Banner */
    .intro-bar {
        font-size: 18px;
        padding: 20px 15px;
    }

    /* Two-column layout becomes stacked */
    .two-column {
        flex-direction: column;
        gap: 20px;
    }

    .left,
    .right {
        padding-top: 0;
    }

    /* Image sizing */
    .image-card img {
        height: 250px;
    }
}

/* Mobile Social Bar */
.mobile-social-bar {
    display: none;
}

@media (max-width: 700px) {
    .mobile-social-bar {
        display: flex;
        justify-content: center;
        gap: 18px;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: rgba(40,40,40,0.9);
        padding: 10px 0;
        z-index: 9999;
    }

    .mobile-social-bar img {
        width: 26px;
        height: 26px;
        border-radius: 6px;
        object-fit: contain;
        transition: transform 0.2s ease, opacity 0.2s ease;
    }

    .mobile-social-bar img:hover {
        transform: scale(1.2);
        opacity: 0.85;
    }

    body {
        padding-bottom: 70px;
    }
}