/* =============================================
   site.css — All styles for ajunaky.github.io

   Design tokens
     Teal:   #008080           links, tags, borders, icons
     Purple: #885ead           year headings
     Body:   Eczar, serif
     Display/Nav: Qwigley, serif
   ============================================= */


/* =============================================
   SKIP LINK
   ============================================= */

.skip-link {
    position: absolute;
    top: -100px;
    left: 0;
    background: #008080;
    color: #fff;
    padding: 8px 16px;
    z-index: 9999;
    font-family: Eczar, serif;
    text-decoration: none;
}

.skip-link:focus {
    top: 0;
    outline: 2px solid #fff;
    outline-offset: 2px;
}


/* =============================================
   CONTAINER — override Bootstrap 3 fixed breakpoints
   with a fluid responsive approach
   ============================================= */

.container {
    max-width: 1200px;
    width: 100%;
    padding-left: 24px;
    padding-right: 24px;
    margin-right: auto;
    margin-left: auto;
    box-sizing: border-box;
}


/* =============================================
   BASE TYPOGRAPHY
   ============================================= */

html {
    font-size: 1.3em;
    background-color: #000;
}

body, li {
    font-family: Eczar, serif;
    font-weight: 300;
    color: #fff;
    font-size: 14px;
    font-style: normal;
    text-align: center;
    background-color: #000;
}

h1, #typed {
    display: inline-block;
    margin-top: 20px;
    text-align: center;
    color: #fff;
    font-size: 3.0em;
    font-family: Qwigley, serif;
    white-space: pre;
}

h2 {
    font-family: Qwigley, serif;
    font-size: 3em;
    font-weight: 300;
    color: #885ead;
    font-style: normal;
}

h3 {
    font-family: Eczar, serif;
    font-size: 1.7em;
    font-weight: 300;
    color: #fff;
    font-style: normal;
}

p, h4 {
    font-family: Eczar, serif;
    font-size: 1.5em;
    font-weight: 300;
    color: #fff;
    font-style: normal;
}


/* =============================================
   LINKS
   ============================================= */

a, a:visited {
    color: #008080;
}

a:hover,
a:active {
    color: #fff;
    font-style: normal;
}

a:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.8);
    outline-offset: 2px;
}


/* =============================================
   NAV
   ============================================= */

.navbar-custom {
    margin-bottom: 0;
    font-family: Qwigley, serif;
}

/* Always show nav links inline — no hamburger/collapse */
.navbar-custom .navbar-nav {
    float: right;
    margin: 0;
}

.navbar-custom .navbar-nav > li {
    float: left;
}

.navbar-custom .navbar-nav > li > a {
    padding-top: 15px;
    padding-bottom: 15px;
}

.navbar-custom .navbar-brand {
    font-weight: 700;
}

.navbar-custom .navbar-brand:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.8);
    outline-offset: 2px;
}

.navbar-custom a {
    color: #fff;
}

.navbar-custom .nav li a {
    transition: color 0.2s ease;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.navbar-custom .nav li a:hover,
.navbar-custom .nav li a:active {
    color: rgba(255, 255, 255, 0.8);
    background-color: transparent;
}

.navbar-custom .nav li a:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.8);
    outline-offset: 2px;
    background-color: transparent;
}

/* Nav link label — <span class="light"> inside nav anchors */
.light {
    font-weight: 500;
    font-family: Qwigley, Julee, serif;
    font-size: 1.6em;
    color: #fff;
}


/* =============================================
   FOOTER
   ============================================= */

footer {
    background-color: #000;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 2.5rem 0;
}

.footer-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

.footer-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    color: rgba(0, 128, 128, 0.6);
    text-decoration: none;
    transition: color 0.2s ease;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.footer-icon:hover,
.footer-icon:focus,
.footer-icon:active {
    color: #fff;
    text-decoration: none;
}

.footer-icon:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.8);
    outline-offset: 4px;
    border-radius: 2px;
}


/* =============================================
   HOMEPAGE HERO
   ============================================= */

.intro {
    display: table;
    width: 100%;
    height: auto;
    padding: 100px 0;
    text-align: center;
    color: #fff;
    background-size: cover;
}

.intro img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Social icons — email and LinkedIn on homepage */
.icon {
    opacity: 0.5;
    display: inline-block;
    height: 60px;
    width: 60px;
}

.icon:hover,
.icon:active {
    opacity: 1;
}

.icon:focus-visible {
    opacity: 1;
    outline: 2px solid rgba(255, 255, 255, 0.8);
    outline-offset: 3px;
}


/* =============================================
   TALKS PAGE — HEADER
   ============================================= */

.talks-header {
    padding: 140px 0 60px;
    background-color: #000;
    text-align: center;
}

.talks-page-title {
    font-family: Qwigley, serif;
    font-size: clamp(3rem, 8vw, 6rem);
    color: #fff;
    margin: 0 0 0.5rem;
    font-weight: 300;
}

.talks-page-sub {
    font-family: Eczar, serif;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.55);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin: 0;
    font-weight: 300;
}


/* =============================================
   TALKS PAGE — CONTENT
   ============================================= */

.talks-main {
    background-color: #000;
    padding: 3rem 0 5rem;
    text-align: left;
}

/* Year headings */
.talks-year {
    font-family: Qwigley, serif;
    font-size: 3rem;
    color: #885ead;
    font-weight: 300;
    margin: 3.5rem 0 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(136, 94, 173, 0.25);
}

.talks-year:first-child {
    margin-top: 0;
}

.talks-codeveloped-intro {
    font-family: Eczar, serif;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    margin: -0.75rem 0 1.5rem;
    font-style: italic;
}

/* Talk items */
.talk-item {
    border-left: 2px solid rgba(0, 128, 128, 0.35);
    padding: 0 0 2rem 1.5rem;
    margin-bottom: 0.5rem;
}

.talk-meta {
    margin-bottom: 0.4rem;
}

/* Tags */
.talk-tag {
    display: inline-block;
    font-family: Eczar, serif;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #008080;
    border: 1px solid rgba(0, 128, 128, 0.4);
    border-radius: 2px;
    padding: 1px 6px;
    margin-right: 4px;
}

/* Title */
.talk-title {
    font-family: Eczar, serif;
    font-size: 1.25rem;
    font-weight: 400;
    color: #fff;
    margin: 0.25rem 0 0.6rem;
    line-height: 1.4;
}

/* Description */
.talk-desc {
    font-family: Eczar, serif;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.65;
    margin-bottom: 0.75rem;
}

/* Venue list */
.talk-venues {
    list-style: none;
    padding: 0;
    margin: 0 0 0.75rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem 0;
}

.talk-venues li {
    font-family: Eczar, serif;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.5);
    width: 100%;
    padding: 0;
    background: none;
    text-align: left;
}

.talk-venues li::before {
    content: '— ';
    color: rgba(0, 128, 128, 0.5);
}

.talk-venues em {
    color: rgba(255, 255, 255, 0.3);
    font-style: italic;
}

/* Talk links (slides / recording) */
.talk-links {
    margin-top: 0.5rem;
}

.talk-link {
    font-family: Eczar, serif;
    font-size: 0.82rem;
    color: #008080;
    text-decoration: none;
    margin-right: 1rem;
    border-bottom: 1px solid rgba(0, 128, 128, 0.35);
    padding-bottom: 1px;
    transition: color 0.2s ease, border-color 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

.talk-link:hover,
.talk-link:focus,
.talk-link:active {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
}

.talk-link:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.8);
    outline-offset: 2px;
}


/* =============================================
   SPEAKER KIT PAGE
   ============================================= */

.sk-section {
    margin-bottom: 4rem;
}

/* Details table */
.sk-details {
    margin: 0;
}

.sk-detail-row {
    display: flex;
    gap: 1.5rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    align-items: baseline;
}

.sk-detail-row:last-child {
    border-bottom: none;
}

.sk-details dt {
    font-family: Eczar, serif;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.35);
    min-width: 90px;
    padding-top: 0;
}

.sk-details dd {
    font-family: Eczar, serif;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

/* Headshot */
.sk-headshot-wrap {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    flex-wrap: wrap;
}

.sk-headshot {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 3px;
    display: block;
}

.sk-headshot-actions {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 0.75rem;
    padding-bottom: 0.25rem;
}

.sk-download {
    display: inline-block;
}

.sk-headshot-note {
    font-family: Eczar, serif;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.3);
    font-style: italic;
    margin: 0;
    max-width: 260px;
}

/* Bio blocks */
.sk-bio-block {
    border-left: 2px solid rgba(0, 128, 128, 0.35);
    padding: 0 0 2rem 1.5rem;
    margin-bottom: 0.5rem;
}

.sk-bio-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.sk-bio-note {
    font-family: Eczar, serif;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.3);
    font-style: italic;
}

.sk-bio-text {
    font-family: Eczar, serif;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
    margin: 0 0 0.75rem;
    max-width: 680px;
}

/* Copy button */
.sk-copy-btn {
    font-family: Eczar, serif;
    font-size: 0.82rem;
    color: #008080;
    background: transparent;
    border: 1px solid rgba(0, 128, 128, 0.4);
    border-radius: 2px;
    padding: 10px 16px;
    cursor: pointer;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.sk-copy-btn:hover,
.sk-copy-btn:focus,
.sk-copy-btn:active {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.4);
}

.sk-copy-btn:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.8);
    outline-offset: 2px;
}

/* Speaking topics */
.sk-topics {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sk-topic {
    border-left: 2px solid rgba(0, 128, 128, 0.35);
    padding-left: 1.5rem;
}

.sk-topic-title {
    font-family: Eczar, serif;
    font-size: 1.1rem;
    font-weight: 400;
    color: #fff;
    margin: 0 0 0.5rem;
}

/* Contact */
.sk-contact-link {
    margin: 1rem 0 0.5rem;
}

.sk-talks-note {
    margin-top: 1rem;
}


/* =============================================
   RESPONSIVE
   ============================================= */

@media (max-width: 768px) {
    .talks-header {
        padding: 120px 0 40px;
    }

    .talks-year {
        font-size: 2.5rem;
    }

    .talk-item {
        padding-left: 1rem;
    }

    .talk-title {
        font-size: 1.1rem;
    }

    .sk-headshot-wrap {
        flex-direction: column;
    }

    .sk-detail-row {
        flex-direction: column;
        gap: 0.2rem;
    }

    .sk-details dt {
        min-width: auto;
    }
}

@media (max-width: 600px) {
    /* Compress nav so brand + link fit on one line at 320px */
    .navbar-custom .navbar-brand {
        font-size: 1.1em;
        padding-left: 10px;
    }

    .navbar-custom .navbar-nav > li > a {
        padding-top: 12px;
        padding-bottom: 12px;
        padding-right: 10px;
    }

    h1, #typed {
        font-size: clamp(1.4rem, 7vw, 2rem);
        white-space: normal;
        word-break: break-word;
    }

    .intro img {
        max-width: min(280px, 80vw);
    }

    .icon {
        height: 48px;
        width: 48px;
    }
}
