@import url('https://fonts.googleapis.com/css2?family=Karla:wght@400;500;700&family=Rubik:wght@400;500;700&display=swap');

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

body {
    font-family: 'Karla', sans-serif;
    line-height: 1.6;
    color: #1e293b;
    background-color: #ffffff;
}

a {
    color: #0e7490;
    text-decoration: none;
}

a:hover {
    color: #0a5a6b;
}

/* Header */
header {
    background: #ffffff;
    padding: 2rem 0 0;
    text-align: center;
}

.site-logo {
    display: inline-block;
}

.site-logo img {
    max-width: 320px;
    width: 100%;
    height: auto;
}

.tagline {
    color: #64748b;
    font-size: 0.85rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-top: 0.5rem;
}

/* Navigation */
.site-nav {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    padding: 1.25rem 1.5rem 0;
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 0;
}

.nav-link {
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #64748b;
    text-decoration: none;
    padding-bottom: 1rem;
    border-bottom: 2px solid transparent;
    transition: color 0.2s, border-color 0.2s;
}

.nav-link:hover {
    color: #1e293b;
    border-bottom-color: rgba(0, 0, 0, 0.15);
}

.nav-link--active {
    color: #1e293b;
    border-bottom-color: #0e7490;
}

.nav-link--external::after {
    content: '\2197';
    font-size: 0.7em;
    margin-left: 0.2em;
    vertical-align: super;
    opacity: 0.6;
}

/* Main content */
main {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2.5rem 2rem;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: 'Rubik', sans-serif;
    color: #1e293b;
}

h1 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

h2 {
    font-size: 1.6rem;
    margin: 2.5rem 0 1rem;
    color: #0e7490;
}

h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 1.5rem 0 0.4rem;
}

p {
    margin-bottom: 1rem;
    font-size: 0.95rem;
    line-height: 1.75;
    color: #475569;
}

ul, ol {
    margin: 0.75rem 0 1rem 1.5rem;
    color: #475569;
}

li {
    margin-bottom: 0.6rem;
    font-size: 0.95rem;
    line-height: 1.7;
}

strong {
    color: #1e293b;
    font-weight: 700;
}

/* ── Slideshow ─────────────────────────────────────────────────── */
.slideshow {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 4px;
    background: #111;
    aspect-ratio: 1200 / 350;
}

.slideshow-track {
    display: flex;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.slideshow-dots {
    position: absolute;
    bottom: 0.6rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.4rem;
    z-index: 10;
}

.dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255,255,255,0.35);
    cursor: pointer;
    transition: background 0.2s;
    border: none;
    padding: 0;
}

.dot.active {
    background: #0e7490;
}

/* ── Homepage layout ────────────────────────────────────────────── */
.home-hero {
    margin-bottom: 2.5rem;
}

.home-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

/* Match info section */
.match-section h2:first-child {
    margin-top: 0;
}

.info-box {
    background: #f8fafc;
    border-left: 3px solid #0e7490;
    border-radius: 0 4px 4px 0;
    padding: 1rem 1.25rem;
    margin: 1.25rem 0;
}

.info-box p {
    margin-bottom: 0;
    color: #64748b;
    font-size: 0.9rem;
}

.info-box strong {
    color: #1e293b;
}

/* Directions */
.directions-address {
    font-family: 'Rubik', sans-serif;
    font-size: 0.95rem;
    color: #0e7490;
    margin-top: 0.5rem;
}

.btn-map {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.6rem 1.25rem;
    border: 1px solid #0e7490;
    color: #0e7490;
    font-size: 0.88rem;
    font-family: 'Rubik', sans-serif;
    border-radius: 4px;
    transition: background 0.2s, color 0.2s;
}

.btn-map:hover {
    background: #0e7490;
    color: #ffffff;
}

/* Contact bar */
.contact-bar {
    margin-top: 2.5rem;
    padding: 1.75rem 2rem;
    background: #f8fafc;
    border-radius: 4px;
    text-align: center;
    border: 1px solid #e2e8f0;
}

.contact-bar p {
    margin-bottom: 0.25rem;
    color: #64748b;
}

.contact-bar .btn-primary {
    margin-top: 1rem;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    padding: 0.7rem 1.6rem;
    background: #0e7490;
    color: #ffffff;
    font-family: 'Rubik', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 4px;
    text-decoration: none;
    letter-spacing: 0.03em;
    transition: background 0.2s;
}

.btn-primary:hover {
    background: #0a5a6b;
    color: #ffffff;
}

.page-content .btn-primary,
.page-content .btn-primary:hover {
    color: #ffffff;
}

/* Affiliation badge */
.affiliation-badge {
    margin-top: 1.75rem;
}

.affiliation-badge img {
    opacity: 0.85;
    transition: opacity 0.2s;
}

.affiliation-badge img:hover {
    opacity: 1;
}

/* ── Page content (New Shooter / Contact) ───────────────────────── */
.page-content {
    max-width: 760px;
    margin: 0 auto;
}

.page-content h1 {
    margin-bottom: 0.5rem;
}

.page-content .page-lead {
    font-size: 1.05rem;
    color: #64748b;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.page-content ol li,
.page-content ul li {
    color: #475569;
}

.page-content a {
    color: #0e7490;
}

.page-content a:hover {
    color: #0a5a6b;
}

/* Contact page */
.contact-options {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.contact-option {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 1.5rem;
}

.contact-option h3 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-size: 1rem;
    color: #0e7490;
}

.contact-option p {
    margin-bottom: 0.75rem;
    color: #64748b;
    font-size: 0.9rem;
}

.contact-email-link {
    font-size: 1.05rem;
    font-family: 'Rubik', sans-serif;
    font-weight: 600;
    color: #1e293b;
}

.contact-email-link:hover {
    color: #0e7490;
}

/* Footer */
footer {
    background: #f8fafc;
    color: #94a3b8;
    text-align: center;
    padding: 2rem;
    margin-top: 4rem;
    border-top: 1px solid #e2e8f0;
    font-size: 0.8rem;
}

.footer-links {
    color: #94a3b8;
    font-size: 0.85rem;
    margin-bottom: 0.4rem;
}

.footer-links a {
    color: #94a3b8;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #1e293b;
}

.footer-address {
    color: #94a3b8;
    font-size: 0.82rem;
    margin-bottom: 0.4rem;
}

/* ── Responsive ─────────────────────────────────────────────────── */
@media (max-width: 768px) {
    .home-columns {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .slideshow {
        aspect-ratio: 16 / 7;
    }

    main {
        padding: 1.5rem 1.25rem;
    }

    h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.35rem;
    }

    .site-nav {
        gap: 1.25rem;
    }
}

@media (max-width: 480px) {
    .site-logo img {
        max-width: 240px;
    }
}
