@import url('https://fonts.googleapis.com/css2?family=Comic+Neue:wght@400;700&family=Patrick+Hand&display=swap');

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

body {
    font-family: 'Comic Neue', cursive, sans-serif;
    background-color: #fdf6e3;
    color: #2c3e50;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

h1, h2, h3 {
    font-family: 'Patrick Hand', cursive;
    color: #1a3a2a;
    text-align: center;
}

a {
    color: #1a5276;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
    color: #2e86c1;
}

/* Header */
.header {
    background-color: #1a3a2a;
    color: #fdf6e3;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    border-bottom: 4px solid #e67e22;
}

.header .logo-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #fdf6e3;
}

.header .logo-link img {
    height: 50px;
    width: auto;
}

.header .logo-link span {
    font-family: 'Patrick Hand', cursive;
    font-size: 1.5rem;
    white-space: nowrap;
}

.nav {
    display: flex;
    gap: 20px;
    margin-left: auto;
    flex-wrap: wrap;
}

.nav a {
    color: #fdf6e3;
    font-family: 'Patrick Hand', cursive;
    font-size: 1.15rem;
    padding: 5px 10px;
    border-radius: 5px;
    transition: background 0.2s;
}

.nav a:hover {
    background-color: rgba(255,255,255,0.15);
    text-decoration: none;
}

/* Footer */
.footer {
    background-color: #1a3a2a;
    color: #fdf6e3;
    text-align: center;
    padding: 15px 20px;
    margin-top: auto;
    border-top: 4px solid #e67e22;
    font-family: 'Patrick Hand', cursive;
    font-size: 1rem;
}

/* Main content */
.main-content {
    max-width: 1000px;
    margin: 20px auto;
    padding: 0 20px;
    flex: 1;
}

.main-content.wide {
    max-width: 960px;
}

/* Coming Soon page */
.coming-soon {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    text-align: center;
    padding: 20px;
}

.coming-soon img {
    max-width: 350px;
    width: 90%;
    margin-bottom: 20px;
}

.coming-soon h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    color: #1a3a2a;
}

.coming-soon p {
    font-size: 1.2rem;
    max-width: 500px;
}

/* Homepage */
.homepage-logo {
    display: block;
    max-width: 400px;
    width: 90%;
    margin: 0 auto 20px;
}

.homepage-intro {
    font-size: 1.15rem;
    text-align: center;
    max-width: 850px;
    margin: 0 auto;
}

.homepage-intro .cta {
    display: block;
    margin-top: 15px;
    font-family: 'Patrick Hand', cursive;
    font-size: 1.5rem;
    color: #1a3a2a;
}

/* Facility Panels */
.facility-panel {
    background: #fff;
    border: 3px solid #1a3a2a;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 4px 4px 0 #c0c0a0;
}

.facility-panel h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
    text-align: left;
}

.panel-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 5px;
}

.panel-title h3 {
    margin-bottom: 0;
}

.panel-marginalia {
    height: 2.8rem;
    width: 5rem;
    object-fit: contain;
}

.facility-address {
    font-family: 'Comic Neue', cursive, sans-serif;
    font-size: 1.05rem;
    font-weight: 400;
    text-align: center;
    margin-bottom: 12px;
    color: #555;
}

.facility-panel > img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid #ddd;
    margin-bottom: 12px;
}

.facility-panel ul {
    padding-left: 25px;
}

.facility-panel ul li {
    margin-bottom: 6px;
}

.explain-text {
    background: #e8f5e9;
    border-radius: 12px;
    padding: 25px;
    margin-top: 30px;
    margin-bottom: 30px;
}

.explain-text h2 {
    margin-bottom: 12px;
}

.explain-text p {
    margin-bottom: 10px;
}

.subtitle-text {
    max-width: 500px;
    margin: 15px auto;
    text-align: center;
}

/* Schedule table */
.schedule-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 1.1rem;
    margin-top: 20px;
}

.schedule-table th,
.schedule-table td {
    border: 2px solid #1a3a2a;
    padding: 12px 20px;
    text-align: center;
}

.schedule-table th {
    background-color: #1a3a2a;
    color: #fdf6e3;
    font-family: 'Patrick Hand', cursive;
    font-size: 1.2rem;
}

.schedule-table td {
    background: #fff;
}

/* Contact */
.contact-embed {
    margin-top: 20px;
    width: 800px;
}

.contact-embed iframe {
    border-radius: 8px;
}

/* Marginalia */

.title-with-marginalia {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.title-with-marginalia h1 {
    flex: 1;
}

.marginalia-corner {
    width: 30px;
    height: auto;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 0;
}

.marginalia-corner.left {
    right: auto;
    left: 0;
}

.marginalia-inline {
    display: block;
    margin: 20px auto;
    max-width: 150px;
    opacity: 1.0;
}

.page-title {
    margin-bottom: 20px;
}
/* Page intro text */
.page-intro {
    font-size: 1.1rem;
    margin-bottom: 25px;
    text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
    .header {
        flex-direction: column;
        text-align: center;
    }

    .nav {
        margin-left: 0;
        justify-content: center;
    }

    .marginalia {
        display: none;
    }

    .coming-soon h1 {
        font-size: 2rem;
    }

    .contact-embed {
        margin-top: 20px;
        width: 100%;
    }
}
