﻿/* Reset and Base Styles */
body {
    font-family: Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background: #f5f5f5; /* Light neutral background */
    color: #333;
}

/* Standardized Header */
header {
    text-align: center;
    background: #8B0000; /* Deep red - symbolizes strength, honor */
    color: white;
    padding: 20px;
}
header h1 {
    font-size: 28px;
    margin-bottom: 10px;
}
header p {
    font-size: 18px;
    margin: 5px 0;
}

/* Standardized Navigation */
nav {
    background: #222;
    padding: 10px 0;
}
nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    padding: 0;
    margin: 0;
}
nav ul li {
    margin: 0 15px;
}
nav ul li a {
    text-decoration: none;
    font-weight: bold;
    color: white;
    padding: 5px;
    border-bottom: 2px solid transparent;
    transition: all 0.3s;
}
nav ul li a:hover {
    color: #FFD700; /* Gold - symbolizes wisdom */
    border-bottom: 2px solid #FFD700;
}

/* Main Content */
main {
    max-width: 900px;
    margin: 20px auto;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

/* Carousel Styling */
.banner {
    text-align: center;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}
.slider {
    margin: 0 auto;
    width: 900px;
    height: 150px;
    position: relative;
    overflow: hidden;
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}
.slider li {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out, transform 1s ease-in-out;
}
.slider li.active {
    opacity: 1;
    transform: translateX(0);
}
.slider li img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Sections */
section {
    margin-bottom: 15px;
}

/* Footer */
footer {
    text-align: center;
    background: #222;
    color: white;
    padding: 20px 0;
    font-size: 14px;
}
footer a {
    color: #FFD700;
    text-decoration: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        align-items: center;
    }
    nav ul li {
        margin: 5px 0;
    }
    main {
        width: 95%;
    }
    .banner {
        flex-direction: column;
    }
}

header{
    position: relative;             /* lets us absolutely‑position children */
    padding-right: 140px;           /* reserve space so text never touches logo */
}
.dojo-logo{
    position: absolute;
    top: 50%;                       /* vertically centre in the bar */
    right: 20px;                    /* 20 px from the edge */
    transform: translateY(-50%);
    height: 120px;                  /* matches the attribute above */
    width: 120px;                   /*   ″   */
} 

/* Mobile: let the logo sit under the title block
   instead of squashing the header */
@media (max-width: 768px){
    .dojo-logo{
        position: static;
        margin-top: 8px;
    }
}


