/* Base CSS - Shared styles across all portals */

/* Ensure fixed navbar doesn't overlap content */
body {
    padding-top: 56px;
}

/* Utility classes */
.text-primary-custom {
    color: #2c3e50;
}

.bg-primary-custom {
    background-color: #2c3e50;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus styles for accessibility */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 2px solid #3498db;
    outline-offset: 2px;
}

/* Skip link for accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: #000;
    color: white;
    padding: 8px;
    z-index: 100;
}

.skip-link:focus {
    top: 0;
}

/* Footer — base styles shared across all portals */
.footer {
    background-color: #1a252f;
    color: rgba(255, 255, 255, 0.8);
    padding: 3.5rem 0 2rem;
}
.footer a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s ease, opacity 0.2s ease;
}
.footer a:hover,
.footer a:focus {
    color: white;
}
.footer-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
}
.footer-brand:hover,
.footer-brand:focus {
    color: white;
    opacity: 0.9;
}
.footer-social a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.2s ease, transform 0.2s ease;
    display: inline-block;
}
.footer-social a:hover,
.footer-social a:focus {
    color: white;
    transform: translateY(-2px);
}
.footer h2 {
    color: white;
    letter-spacing: 0.05em;
}
.footer address {
    font-style: normal;
}

/* ==========================================================================
   Navbar & Footer Typography — Cormorant Garamond
   Editorial serif on shared components, consistent across all pages.
   Font loaded via base.html <link>.
   ========================================================================== */

nav.navbar-kotobuki .navbar-brand.fw-bold {
    font-family: 'Cormorant Garamond', Georgia, serif !important;
    font-weight: 400 !important;
    letter-spacing: 0.05em;
    font-size: 1.2rem;
}

nav.navbar-kotobuki .nav-link {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 400;
    letter-spacing: 0.04em;
    font-size: 0.95rem;
}

footer.footer {
    font-family: 'Cormorant Garamond', Georgia, serif;
}

a.footer-brand {
    font-family: 'Cormorant Garamond', Georgia, serif !important;
    font-weight: 400 !important;
    letter-spacing: 0.05em;
    font-size: 1.2rem;
}

footer.footer .h6,
footer.footer h2 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 500;
    letter-spacing: 0.06em;
}

footer.footer nav a {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 400;
    letter-spacing: 0.03em;
}

/* Consent Banner */
.consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid #ddd;
    padding: 1rem 2rem;
    z-index: 9999;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.08);
}
.consent-banner__content {
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    font-size: 0.9rem;
}
.consent-banner__content p { margin: 0; color: #555; }
.consent-banner__content a { color: #2c5f7c; }
.consent-banner__actions { display: flex; gap: 0.75rem; flex-shrink: 0; }
.consent-btn {
    padding: 0.5rem 1.25rem;
    border-radius: 3px;
    font-size: 0.85rem;
    cursor: pointer;
    border: 1px solid #ccc;
    background: #fff;
    color: #333;
}
.consent-btn--accept {
    background: #2c5f7c;
    color: #fff;
    border-color: #2c5f7c;
}
@media (max-width: 640px) {
    .consent-banner__content { flex-direction: column; text-align: center; }
}
