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

body {
    min-height: 100vh;
    position: relative;
    padding-bottom: 50px;
    overflow-y: auto;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/stalwart.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.2;
    z-index: -2;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(12, 145, 34, 0.3);
    z-index: -1;
}

.content {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: block;
    padding: 100px 20px 50px 20px;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
    text-align: left;
}

.index {
    background-color: rgba(0,0,0,0.5);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
}

a {
    background-color: rgba(0,0,0,0.7);
    font-family: DM Sans, sans-serif;
    color: white ;
    text-decoration: none;
    margin-left: 20px;
    padding: 10px 30px;
    border-radius: 5px;
    transition: background-color 0.3s;
}

a:hover {
    background-color: rgba(70, 2, 2, 0.9);
}

.h1,.nav-title {
    text-align: center;
}

/* Side Navigation Styles */
.side-navigation {
    position: fixed;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    z-index: 100;
}

.side-navigation a {
    display: block;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    text-decoration: none;
    padding: 15px 20px;
    border-radius: 10px;
    transition: all 0.3s ease;
    font-weight: 500;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.side-navigation a:hover {
    background-color: rgba(0, 0, 0, 0.95);
    transform: translateX(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

/* Simple Navigation */
.simple-nav {
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 1000;
}

.simple-nav a {
    display: inline-block;
    background: black;
    color: white;
    padding: 10px 15px;
    margin-right: 10px;
    text-decoration: none;
    border: 1px solid white;
    font-weight: bold;
}

.top-left-link:hover {
    background-color: rgba(0, 0, 0, 0.95);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

/* Navbar Styles */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-links li a {
    color: white;
    text-decoration: none;
    text-align: left;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    background-color: rgba(175, 9, 9, 0.3);
    transition: all 0.3s ease;
}

.nav-links li a:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.caption {
    position: relative;
    top: 80px;
    margin: 80px auto 20px auto;
    max-width: 800px;
    color: white;
    font-family: DM Sans, sans-serif;
    font-size: 1.5rem;
    font-weight: bold;
    text-align: left;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    background-color: rgba(3, 78, 66, 0.3);
    padding: 20px 40px;
    border-radius: 10px;
    margin-top: 30px;
    z-index: 999;
    backdrop-filter: blur(5px);
    overflow-x: auto;
}

/* Navbar Styles */
.navbar {
    background-color: none;
    position: fixed;
    top: 20px;
    display: flex;
    gap: 15px;
    z-index: 1000;
}

.nav-link {
    background-color: rgba(14, 1, 1, 0.8);
    color: white;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-family: DM Sans, sans-serif;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(31, 1, 1, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);


}

.nav-link:hover {
    background-color: rgba(189, 6, 6, 0.95);
    transform: translateY(-2px) scale(1.1);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

.departments {
    font-family: 'DC Sans', sans-serif;
    bottom: 20px;
    right: 20px;
    margin-top: 30px;
}

.h1 {
    font-family: 'DM Sans', sans-serif;
    font-size: 3rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 30px;
    text-decoration: underline;
}

.h2 {
    font-family: 'DM Sans', sans-serif;
    font-size: 2.5rem;
    font-weight: bold;
    text-align: center;
    margin-top: 20px;
    margin-bottom: 20px;
    text-decoration: underline;
    padding: 20px 
}

.li {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.2rem;
    font-weight: bold;
    text-align: left;
    margin-bottom: 20px;
}

.other-departments  {
    font-family: 'DM Sans', sans-serif;
    bottom: 20px;
    right: 20px;
    margin-top: 30px;
    text-decoration: underline;
}

.motorcycle-bay {
    color: #FFD700 !important;
    background-color: rgba(255, 215, 0, 0.1);
    padding: 10px;
    border-left: 0px solid hsl(51, 100%, 50%);
    margin: 10px 0;
    border-radius: 5px;
    text-decoration: underline;
}


.maintenance-dept {
    color: #FFD700 !important;
    background-color: rgba(255, 215, 0, 0.1);
    padding: 10px;
    border-left: 0px solid hsl(51, 100%, 50%);
    margin: 10px 0;
    border-radius: 5px;
    text-decoration: underline;
}

.qualified-tradesman {
    color: #FFD700 !important;
    background-color: rgba(0, 255, 0, 0.1);
    padding: 10px;
    border-left: 0px solid #FFD700;
    margin: 10px 0;
    border-radius: 5px;
    text-decoration: underline;
}

.tyre-bay {
    color: #FFD700 !important;
    background-color: rgba(0, 255, 0, 0.1);
    padding: 10px;
    border-left: 0px solid #FFD700;
    margin: 10px 0;
    border-radius: 5px;
    text-decoration: underline;
}

.wash-down {
    color: #FFD700 !important;
    background-color: rgba(0, 255, 0, 0.1);
    padding: 10px;
    border-left: 0px solid #FFD700;
    margin: 10px 0;
    border-radius: 5px;
    text-decoration: underline; color: #FFD700;
}

/* Mobile Responsive Design */
@media (max-width: 768px) {
    .navbar, .side-navigation, .simple-nav {
        position: relative;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        padding: 10px;
    }
    
    .nav-container, .nav-links {
        flex-direction: column;
        gap: 10px;
    }
    
    .nav-links li a, a {
        margin: 5px;
        padding: 12px 16px;
        font-size: 14px;
        min-height: 44px;
        display: block;
        text-align: center;
    }
    
    .content {
        margin: 10px;
        padding: 15px 10px;
        margin-top: 20px;
    }
    
    .index {
        padding: 15px;
        margin-bottom: 15px;
    }
    
    h1 {
        font-size: 2em;
    }
    
    h2 {
        font-size: 1.5em;
    }
    
    h3 {
        font-size: 1.2em;
    }
}

@media (max-width: 480px) {
    .navbar, .side-navigation, .simple-nav {
        flex-direction: column;
        align-items: center;
    }
    
    .nav-links li a, a {
        width: 90%;
        margin: 3px 0;
    }
    
    .content {
        margin: 5px;
        padding: 10px 5px;
    }
    
    .index {
        padding: 10px;
        margin-bottom: 10px;
    }
    
    h1 {
        font-size: 1.8em;
    }
    
    h2 {
        font-size: 1.3em;
    }
    
    p {
        font-size: 16px;
        line-height: 1.5;
    }
}

