/* Fully Responsive Mobile-First Web Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #2c3e50;
    background-color: #f4f7f6;
    font-size: 15px;
    line-height: 1.6;
    -webkit-text-size-adjust: 100%;
}

/* Top Language Switcher Bar */
.top-bar {
    background-color: #113245;
    color: #ffffff;
    padding: 10px 15px;
    font-size: 13px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.top-bar .title-text {
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lang-switcher {
    display: flex;
    gap: 5px;
}

.lang-switcher a {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 12px;
    text-decoration: none;
    color: #bee9e8;
    background-color: rgba(255,255,255,0.1);
    transition: background-color 0.2s ease;
}

.lang-switcher a.active, .lang-switcher a:hover {
    background-color: #62b6cb;
    color: #ffffff;
}

/* Logo Bar */
.logo-bar {
    background-color: #ffffff;
    padding: 12px 15px;
    border-bottom: 1px solid #e0e6ed;
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 12px;
}

.logo-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-item img {
    max-height: 38px;
    width: auto;
    object-fit: contain;
}

.logo-item-text {
    font-weight: bold;
    color: #1b4965;
    font-size: 12px;
    line-height: 1.2;
}

.logo-item-text small {
    font-weight: normal;
    color: #555;
    font-size: 10px;
}

/* Header Banner */
.header {
    background-color: #1b4965;
    color: #ffffff;
    padding: 20px 15px;
    border-bottom: 4px solid #62b6cb;
    text-align: center;
}

.header h1 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 6px;
}

.header p {
    font-size: 13px;
    color: #bee9e8;
}

/* Navigation Bar with Mobile Toggle */
.nav-container {
    background-color: #2c3e50;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.mobile-menu-btn {
    display: none;
    width: 100%;
    background-color: #2c3e50;
    color: #ffffff;
    border: none;
    padding: 12px 15px;
    font-size: 14px;
    font-weight: bold;
    text-align: left;
    cursor: pointer;
}

.nav-bar {
    display: flex;
    flex-wrap: wrap;
    padding: 0 15px;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-bar a {
    color: #bee9e8;
    text-decoration: none;
    padding: 12px 15px;
    font-size: 13px;
    font-weight: bold;
    transition: background 0.2s;
}

.nav-bar a.active, .nav-bar a:hover {
    color: #ffffff;
    background-color: #1b4965;
    border-bottom: 3px solid #62b6cb;
}

/* Container & Grid Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 15px;
}

.main-grid {
    display: grid;
    grid-template-columns: 240px 1fr 260px;
    gap: 20px;
}

/* Sidebar Styles */
.left-sidebar, .right-sidebar {
    background-color: #ffffff;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #e0e6ed;
    height: fit-content;
}

.sidebar-title {
    font-size: 14px;
    font-weight: bold;
    color: #1b4965;
    border-bottom: 2px solid #e0e6ed;
    padding-bottom: 6px;
    margin-bottom: 12px;
}

.town-list {
    list-style: none;
}

.town-item {
    display: flex;
    align-items: center;
    padding: 8px 10px;
    margin-bottom: 6px;
    background-color: #f8fafb;
    border-radius: 6px;
    border: 1px solid #eaeff3;
    font-size: 13px;
    font-weight: 600;
    color: #1b4965;
}

.town-item img {
    width: 20px;
    height: 24px;
    object-fit: contain;
    margin-right: 8px;
}

.info-list {
    list-style: none;
    font-size: 13px;
}

.info-list li {
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px dashed #e0e6ed;
}

.info-list li strong {
    color: #2c3e50;
    display: block;
}

/* Main Content Typography */
.main-content {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #e0e6ed;
}

h2 {
    font-size: 18px;
    color: #1b4965;
    border-left: 4px solid #62b6cb;
    padding-left: 10px;
    margin-bottom: 12px;
    margin-top: 10px;
}

p {
    margin-bottom: 14px;
    text-align: justify;
}

.callout {
    background-color: #e8f4f8;
    border-left: 4px solid #1b4965;
    padding: 12px 15px;
    margin: 15px 0;
    border-radius: 0 6px 6px 0;
}

/* Footer */
.footer {
    margin-top: 30px;
    background-color: #1b4965;
    color: #bee9e8;
    padding: 25px 15px;
    font-size: 13px;
    border-top: 4px solid #62b6cb;
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.footer h4 {
    color: #ffffff;
    font-size: 14px;
    margin-bottom: 8px;
}

/* RESPONSIVE MEDIA QUERIES (TABLETS & MOBILE) */

@media (max-width: 992px) {
    .main-grid {
        grid-template-columns: 1fr;
    }
    
    .left-sidebar, .right-sidebar {
        order: 2;
    }
    
    .main-content {
        order: 1;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .top-bar {
        flex-direction: column;
        text-align: center;
    }

    .mobile-menu-btn {
        display: block;
    }

    .nav-bar {
        display: none;
        flex-direction: column;
        padding: 0;
    }

    .nav-bar.active {
        display: flex;
    }

    .nav-bar a {
        padding: 12px 20px;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .logo-bar {
        flex-direction: column;
        text-align: center;
    }
    
    .logo-item {
        border: none !important;
        padding: 0 !important;
    }
}
