/* BOCTRR Website Stylesheet */

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f5f5f5;
}

/* Header Styles */
.header {
    background: linear-gradient(135deg, #003399 0%, #004cb3 100%);
    color: white;
    padding: 20px 0;
    border-bottom: 4px solid #001a4d;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    flex-wrap: wrap;
    gap: 20px;
}

.logo-section {
    flex: 1;
    min-width: 300px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.site-logo {
    max-width: 80px;
    height: auto;
    display: block;
}

.site-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.tagline {
    font-size: 1rem;
    line-height: 1.5;
    opacity: 0.95;
    max-width: 500px;
}

.emergency-section {
    flex: 1;
    min-width: 300px;
    text-align: right;
}

.emergency-banner {
    background-color: transparent;
    border: none;
    padding: 15px 20px;
    border-radius: 5px;
    color: white;
    font-size: 1rem;
}

.emergency-banner strong {
    color: white;
    font-size: 1.1rem;
}

/* Navigation Sidebar */
.sidebar {
    position: fixed;
    left: 0;
    top: 150px;
    width: 190px;
    background-color: #1a3a7a;
    border-right: 1px solid #001a4d;
    min-height: calc(100vh - 150px);
}

.nav-list {
    list-style: none;
    padding: 20px 0;
}

.nav-link {
    display: block;
    padding: 12px 20px;
    color: white;
    text-decoration: none;
    border-left: 4px solid transparent;
    transition: all 0.3s ease;
    font-weight: 500;
    position: relative;
    line-height: 1.4;
}

.nav-link::before {
    content: "○";
    position: absolute;
    left: 10px;
    top: 10px;
    color: #7ab0ff;
    font-size: 1rem;
}

.nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-left-color: #ffeb3b;
    color: white;
}

.nav-link.active {
    background-color: rgba(255, 255, 255, 0.1);
    border-left-color: #ffeb3b;
    color: white;
}

/* Main Content */
.main-content {
    margin-left: 190px;
    padding: 0;
    min-height: calc(100vh - 200px);
    background: white;
}

.content-container {
    display: flex;
    align-items: stretch;
    background: white;
}

.content-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 0;
}

.gradient-v {
    display: block;
    width: auto;
    height: 100%;
    min-height: 400px;
    flex-shrink: 0;
}

.gradient-h {
    display: block;
    width: 100%;
    height: auto;
}

/* Welcome Section */
.welcome-section {
    text-align: center;
    padding: 20px 30px;
}

.welcome-heading {
    font-size: 1.6rem;
    color: #003399;
    margin-bottom: 10px;
    line-height: 1.3;
    font-weight: bold;
}

.welcome-link {
    margin-bottom: 20px;
    font-style: italic;
}

.welcome-link a {
    color: #003399;
    text-decoration: underline;
}

.welcome-image {
    text-align: center;
    margin-top: 10px;
}

.logo-seal {
    width: 250px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.placeholder-seal {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #003399, #004cb3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    font-weight: bold;
    margin: 0 auto;
    box-shadow: 0 4px 15px rgba(0, 51, 153, 0.2);
}

/* Footer */
.footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: 40px;
}

.copyright {
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .sidebar {
        position: static;
        width: 100%;
        top: auto;
        border-right: none;
        border-bottom: 1px solid #ddd;
        min-height: auto;
    }

    .main-content {
        margin-left: 0;
        padding: 20px;
    }

    .header-container {
        flex-direction: column;
        text-align: center;
    }

    .emergency-section {
        text-align: center;
    }

    .welcome-section {
        flex-direction: column;
    }

    .site-title {
        font-size: 2rem;
    }

    .welcome-heading {
        font-size: 1.5rem;
    }

    .nav-list {
        display: flex;
        flex-wrap: wrap;
    }

    .nav-link {
        flex: 1;
        text-align: center;
        border-left: none;
        border-bottom: 2px solid transparent;
    }

    .nav-link:hover,
    .nav-link.active {
        border-left: none;
        border-bottom-color: #003399;
    }
}

/* Content Page Styles */
.page-content {
    max-width: 900px;
    margin: 0 auto;
}

.page-heading {
    font-size: 2rem;
    color: #003399;
    margin-bottom: 20px;
    border-bottom: 3px solid #003399;
    padding-bottom: 10px;
}

.page-body {
    font-size: 1rem;
    line-height: 1.8;
    color: #333;
}

.page-body p {
    margin-bottom: 15px;
}
