/* Linktree — clean stylesheet */

@font-face {
    font-family: 'Skudi Optics';
    src: url('assets/fonts/SKUDI OPTICS.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

:root {
    --bg-overlay: rgba(255, 255, 255, 0.82);
    --card: rgba(255, 255, 255, 0.92);
    --text: #06201d;
    --muted: #425158;
    --accent: #00d9a3;
    --accent-2: #00b58a;
    --accent-muted: #00a082;
    --bg-tint: rgba(0, 0, 0, 0.18);
}

/* Accessibility: skip link */
.skip-link {
    position: absolute;
    left: -999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.skip-link:focus,
.skip-link:active {
    left: 12px;
    top: 12px;
    width: auto;
    height: auto;
    padding: 8px 12px;
    background: var(--accent);
    color: #fff;
    border-radius: 6px;
    z-index: 9999;
}

/* Keyboard focus outlines */
a:focus-visible,
.link-btn:focus-visible,
.error-home:focus-visible,
.logo-badge:focus-visible {
    outline: 3px solid #ffdca8;
    outline-offset: 3px;
}

a:focus,
.link-btn:focus,
.error-home:focus,
.logo-badge:focus {
    outline: 3px solid rgba(255, 220, 168, 0.92);
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    * {
        transition: none !important;
    }
}

/* Page background and centering */
body {
    margin: 0;
    font-family: 'Skudi Optics', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text);
    background-color: rgba(250, 250, 250, 0.92);
    background-image: url('assets/bg.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: var(--bg-tint);
    pointer-events: none;
    z-index: 0;
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 28px;
    box-sizing: border-box;
    background: transparent;
    border-radius: 14px;
    margin: 0;
    box-shadow: 0 8px 20px rgba(2, 6, 23, 0.04);
    z-index: 1;
    width: min(980px, 96%);
}

#main-content {
    width: 100%;
    max-width: 860px;
    margin: 0 auto;
    text-align: center;
}

/* Logo and title — large white title, no boxed hero */
.logo {
    width: 200px;
    height: 200px;
    display: block;
    margin: 0 auto 20px;
    border-radius: 50%;
    object-fit: cover;
}

.site-title {
    margin: 0 0 6px;
    font-size: 40px;
    font-weight: 900;
    color: #fff;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

.tagline {
    margin: 0 0 20px;
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

/* News & hours boxes */
.news-box,
.hours-box {
    background-color: var(--card);
    border: 1px solid rgba(15, 23, 42, 0.06);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    padding: 12px 14px;
    margin-bottom: 14px;
    border-radius: 8px;
    box-sizing: border-box;
}

.box-title {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 800;
    color: var(--accent);
}

.hours-content p {
    margin: 0;
    padding: 10px 0;
    color: var(--text);
    font-weight: 600;
    border-bottom: 1px solid rgba(2, 6, 23, 0.06);
}

.hours-content p:last-child {
    border-bottom: none;
}

.news-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
    color: var(--accent);
    font-weight: 700;
    font-size: 14px;
}

.news-list li {
    color: var(--text);
    font-weight: 600;
    padding: 10px 0;
    border-bottom: 1px solid rgba(2, 6, 23, 0.06);
}

.news-list li:last-child {
    border-bottom: none;
}

.news-list li.news-image {
    padding: 0;
}

.news-list li.news-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

.news-list li.news-pdf a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
}

.news-list li.news-pdf a:hover {
    text-decoration: underline;
}

/* Links */
.links {
    width: 100%;
    max-width: 420px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    margin: 0 auto;
}

.link-btn {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    text-decoration: none;
    background-color: var(--accent-muted);
    padding: 12px 16px;
    border-radius: 12px;
    color: #fff;
    box-shadow: 0 6px 12px rgba(2, 6, 23, 0.06);
    border: none;
    font-size: 16px;
    text-align: left;
    transition: transform .08s ease, box-shadow .08s ease, background-color .12s ease;
    width: 100%;
    box-sizing: border-box;
}

.link-btn i {
    font-size: 18px;
    width: 28px;
    text-align: center;
    display: inline-block;
}

.link-btn span {
    display: inline-block;
}

.link-btn:hover,
.link-btn:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(2, 6, 23, 0.08);
    background-color: var(--accent-2);
}

/* Footer */
.foot {
    background: var(--card);
    color: var(--text);
    padding: 12px 20px;
    text-align: center;
    font-size: 14px;
    width: 100%;
    box-sizing: border-box;
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 10;
    box-shadow: 0 -2px 10px rgba(2, 6, 23, 0.08);
}

.foot a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 700;
}

.foot a:focus-visible {
    text-decoration: underline;
}

/* Layout helpers */
.info-row {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 420px;
    align-items: stretch;
    margin: 0 auto 12px;
}

.news-box,
.hours-box {
    width: 100%;
}

@media(min-width:721px) {
    .info-row {
        flex-direction: row;
        align-items: flex-start;
        max-width: 860px;
        justify-content: center;
    }

    .news-box,
    .hours-box {
        flex: 1;
        max-width: 420px;
    }
}

/* Responsive tweaks */
@media(max-width:420px) {
    .container {
        padding: 20px;
    }

    .site-title {
        font-size: 28px;
    }
}

@media(min-width:721px) {
    .container {
        max-width: 980px;
        margin: 28px auto;
        padding: 36px;
    }
}

/* Error / 404 */
.error-wrap {
    display: flex;
    min-height: 60vh;
    align-items: center;
    justify-content: center;
    padding: 28px;
    box-sizing: border-box;
}

.error-card {
    background-color: rgba(250, 250, 250, 0.96);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 12px 28px rgba(2, 6, 23, 0.08);
    max-width: 560px;
    text-align: center;
}

.error-home {
    display: inline-block;
    text-decoration: none;
    padding: 10px 14px;
    border-radius: 8px;
    background-color: var(--accent);
    color: #fff;
    font-weight: 700;
}

.logo-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 104px;
    height: 104px;
    border-radius: 14px;
    background-color: var(--accent);
    box-shadow: 0 8px 22px rgba(2, 6, 23, 0.10);
    margin: 0 auto 10px;
}

.logo-badge img {
    width: 64px;
    height: auto;
    display: block;
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.12));
}

.error-desc {
    color: var(--muted);
    margin-bottom: 12px;
}