@import url('https://fonts.googleapis.com/css2?family=Mulish:ital,wght@0,400;0,700;1,400&display=swap');

/* Reset and Base Variables */
:root {
    --primary-color: #41556b; /* Accent from > arrows */
    --text-color: #333;
    --link-color: #8b8d8a;
    --heading-color: #111;
    --bg-color: #fff;
    --nav-bg: #fff;
    --footer-bg: #f9f9f9;
    --max-width: 1200px;
}

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

body {
    font-family: 'Mulish', sans-serif;
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

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

h1, h2, h3, h4, h5, h6 {
    color: var(--heading-color);
    margin-bottom: 1rem;
    font-weight: 700;
}

h1 { font-size: 1.8rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.2rem; }

/* Header Top */
.site-header {
    background: var(--nav-bg);
    width: 100vw;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: relative;
    z-index: 100;
}

.header-top {
    background-color: #f1f1f1;
    padding: 10px 0;
    font-size: 0.9rem;
}

.header-top-content {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
}

/* Main Navigation */
.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 80px;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

.main-nav li {
    position: relative;
}

.main-nav a {
    color: var(--heading-color);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    padding: 10px 0;
    display: block;
}

.main-nav a:hover {
    color: var(--primary-color);
}

/* Dropdown */
.has-dropdown .dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 250px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
    flex-direction: column;
    gap: 0;
}

.has-dropdown:hover .dropdown,
.has-dropdown.open .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown a {
    padding: 12px 20px;
    border-bottom: 1px solid #eee;
    font-size: 0.85rem;
}

.dropdown a:hover {
    background: #f9f9f9;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 24px;
    position: relative;
    z-index: 101;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--heading-color);
    margin-bottom: 5px;
    transition: all 0.3s;
}

/* Keyvisual */
.keyvisual {
    width: 100vw;
    max-height: 400px;
    overflow: hidden;
}

.kv-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Main Content Area */
.content-wrapper {
    max-width: var(--max-width);
    margin: 40px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

main {
    min-height: 500px;
}

main p {
    margin-bottom: 1.2rem;
}

main ul {
    margin-bottom: 1.2rem;
    padding-left: 20px;
}

/* Sidebar */
.sidebar {
    background: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 15px rgba(0,0,0,0.05);
}

.contact-info {
    list-style: none;
    margin-bottom: 30px;
}

.contact-info li {
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.inline-icon {
    display: inline-block;
    vertical-align: middle;
    height: 20px;
    margin-left: 10px;
}

.hours-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.hours-table td {
    padding: 8px 0;
    vertical-align: top;
}

/* Footer */
.site-footer {
    background: var(--footer-bg);
    padding: 40px 20px;
    text-align: center;
    border-top: 1px solid #eee;
    margin-top: 40px;
}

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

.footer-links a {
    margin: 0 10px;
    color: var(--heading-color);
    font-size: 0.9rem;
}

.footer-meta {
    font-size: 0.85rem;
    color: #666;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    border-top: 1px solid #ccc;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 9999;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cookie-content {
    max-width: 800px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
    justify-content: space-between;
}

.cookie-content p {
    font-size: 0.9rem;
    flex: 1;
    min-width: 300px;
}

.btn {
    padding: 10px 20px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}

.btn:hover {
    background: #2a394a;
}

/* Strato / cm4all Overrides */
.cm_column_wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

.cm_column {
    flex: 1;
    min-width: 200px;
}

.cm_column_gap, .cm-logo, .cm-template-keyvisual__media, .sidebar_wrapper {
    display: none !important; /* hide original strato structural items except content */
}
.sidebar .cm_column_gap {
    display: none !important;
}

.clearFloating {
    clear: both;
}

/* Responsive */
@media (max-width: 900px) {
    .content-wrapper {
        grid-template-columns: 1fr;
    }
    
    .menu-toggle {
        display: block;
    }

    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #fff;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        display: none;
    }

    .main-nav.active {
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 0;
    }

    .main-nav a {
        padding: 15px 20px;
        border-bottom: 1px solid #eee;
    }

    .has-dropdown .dropdown {
        position: static;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        background: #f9f9f9;
    }
    
    .has-dropdown.open .dropdown {
        display: flex;
    }
    
    .logo img {
        height: 60px;
    }
    
    .header-top-content {
        flex-direction: column;
        text-align: center;
        gap: 5px;
    }
}
