/* Base Variables and Reset */
:root {
    --primary-color: #2176ff; /* User Requested Accent Color */
    --hover-color: #1a5ecc;
    --text-color: #333333;
    --text-light: #555555;
    --bg-color: #f7f9fb;
    --white: #ffffff;
    --border-color: #e0e0e0;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
    font-size: 16px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--hover-color);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navigation */
.site-header {
    background: var(--white);
    border-bottom: 3px solid var(--primary-color);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    text-transform: uppercase;
}

.menu {
    list-style: none;
    display: flex;
    gap: 20px;
}

.menu a {
    color: var(--text-color);
    font-weight: 500;
    padding: 8px 0;
    display: block;
    border-bottom: 2px solid transparent;
}

.menu a:hover, .menu a.active {
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
}

.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 4px;
    padding: 5px;
}

.hamburger {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: 0.3s;
}

/* Main Content Area */
.site-main {
    padding: 40px 20px;
    background: var(--white);
    margin-top: 30px;
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
    min-height: 60vh;
}

h1, h2, h3 {
    color: var(--text-color);
    margin-bottom: 15px;
    line-height: 1.3;
}

h1 {
    font-size: 2.2rem;
    color: var(--primary-color);
    border-bottom: 2px solid var(--bg-color);
    padding-bottom: 10px;
    margin-bottom: 25px;
}

h2 { font-size: 1.8rem; margin-top: 30px; }
h3 { font-size: 1.4rem; margin-top: 25px; }

p {
    margin-bottom: 15px;
}

ul, ol {
    margin: 0 0 15px 25px;
}

/* Specific Modules */
.result-box {
    margin: 30px 0;
    text-align: center;
}

.result-image-wrapper {
    display: flex;
    justify-content: center;
    margin: 20px 0;
    border: 1px solid var(--border-color);
    padding: 10px;
    background: var(--bg-color);
    border-radius: 4px;
}

.time-links {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 25px;
    background: var(--bg-color);
    padding: 15px;
    border-radius: 6px;
}

.time-btn {
    background: var(--white);
    color: var(--primary-color);
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: bold;
    border: 2px solid var(--primary-color);
    text-align: center;
}

.time-btn:hover {
    background: var(--primary-color);
    color: var(--white);
}

.alert-info {
    background-color: #e9f2ff;
    border-left: 4px solid var(--primary-color);
    padding: 15px;
    margin: 20px 0;
    color: #0b4aab;
}

/* Form Styles for Contact Page */
.contact-form {
    max-width: 600px;
    margin: 0;
}
.contact-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}
.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: inherit;
}
.contact-form button {
    background: var(--primary-color);
    color: #fff;
    padding: 12px 25px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    font-weight: bold;
}
.contact-form button:hover {
    background: var(--hover-color);
}

/* Footer Section */
.site-footer {
    background: var(--white);
    border-top: 1px solid var(--border-color);
    padding: 30px 0;
    text-align: center;
}

.footer-links {
    margin-bottom: 15px;
}

.footer-links a {
    color: var(--text-light);
    margin: 0 10px;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.copyright {
    color: var(--text-light);
    font-size: 0.9em;
    max-width: 800px;
    margin: 0 auto;
}

/* Mobile Responsiveness */
@media screen and (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .menu {
        display: none;
        width: 100%;
        flex-direction: column;
        background: var(--white);
        position: absolute;
        top: 100%;
        left: 0;
        gap: 0;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    }
    
    .menu.show {
        display: flex;
    }
    
    .menu a {
        padding: 15px 20px;
        border-bottom: 1px solid var(--border-color);
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .site-main {
        margin-top: 15px;
        padding: 20px 15px;
    }
}
