/* ================================================
   Custom Theme — Allegheny Pilgrims
   Palette: Deep Navy Gradient + Gold + White
   Fonts:   Barlow Condensed (headings) · Barlow (body)
   ================================================ */

/* ----------------------------------------
   Variables
   ---------------------------------------- */

:root {
    --gold:        #c9a030;
    --gold-light:  #dbb84a;
    --white:       #ffffff;
    --text-main:   rgba(255, 255, 255, 0.90);
    --text-soft:   rgba(255, 255, 255, 0.60);

    /* Horizontal gradient: deep midnight → main navy → rich ocean blue */
    --gradient:      linear-gradient(to right, #051829, #0d3558, #1a5276);
    --gradient-dark: linear-gradient(to right, #020c14, #092844, #125068);
}

/* ----------------------------------------
   Base — gradient applied to the whole page
   ---------------------------------------- */

html {
    background-color: #051829;
}

body {
    font-family: 'Barlow', Arial, sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.7;
    background: var(--gradient);
    min-height: 100vh;
    color: var(--text-main);
}

p {
    text-align: justify;
}

a {
    color: var(--gold);
    transition: color 0.2s ease;
}

a:hover, a:focus {
    color: var(--gold-light);
    text-decoration: none;
}

strong, b {
    font-weight: 600;
}

/* ----------------------------------------
   Typography — Barlow Condensed headings
   ---------------------------------------- */

h1, h2, h3, h4, h5, h6,
.headline,
.headline-support {
    font-family: 'Barlow Condensed', Arial, sans-serif;
    font-weight: 800;
    letter-spacing: 0.04em;
    line-height: 1.1;
    text-transform: uppercase;
    color: var(--white);
}

h1 { font-size: 86px; }
h2 { font-size: 66px; }
h3 { font-size: 50px; }
h4 { font-size: 38px; }
h5 { font-size: 28px; }
h6 { font-size: 22px; }

@media (max-width: 767px) {
    h1 { font-size: 52px; }
    h2 { font-size: 40px; }
    h3 { font-size: 32px; }
    h4 { font-size: 26px; }
    h5 { font-size: 22px; }
    h6 { font-size: 18px; }
    p { text-align: left; }
    .speaker-photo { width: 160px; }
}

/* ----------------------------------------
   Navbar
   ---------------------------------------- */

.navbar-default {
    background: linear-gradient(to right, #020c14, #071e33, #0d3558);
    border-color: transparent;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
    padding: 12px 0;
}

.navbar-default .navbar-nav > li > a {
    font-family: 'Barlow Condensed', Arial, sans-serif;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-soft) !important;
}

.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus {
    color: var(--gold) !important;
    background-color: transparent !important;
    border-radius: 0;
}

.navbar-toggle {
    border-color: rgba(255, 255, 255, 0.2);
}

.navbar-toggle .icon-bar {
    background-color: var(--white);
}

/* ----------------------------------------
   Header — photo tinted with gradient overlay
   ---------------------------------------- */

.header.parallax-bg {
    background: url('../images/bannerimg2.JPG') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    position: relative;
}

.header.parallax-bg::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(
        to right,
        rgba(3, 10, 20, 0.93),
        rgba(7, 30, 51, 0.88),
        rgba(21, 74, 110, 0.84)
    );
    z-index: 0;
}

.header .container {
    position: relative;
    z-index: 1;
}

.header {
    text-shadow: none;
    color: var(--white);
}

.header .headline {
    font-size: 64px;
    letter-spacing: 0.08em;
    color: var(--white);
    text-shadow: none;
}

@media (max-width: 767px) {
    .header .headline { font-size: 36px; }
}

.event_when {
    font-family: 'Barlow Condensed', Arial, sans-serif !important;
    font-weight: 700;
    font-size: 28px;
    letter-spacing: 0.08em;
    color: var(--white) !important;
    margin-bottom: 4px;
    text-align: center;
}

.event_where {
    font-family: 'Barlow Condensed', Arial, sans-serif;
    font-weight: 600;
    font-size: 22px;
    letter-spacing: 0.04em;
    color: var(--text-soft) !important;
    text-transform: uppercase;
}

/* ----------------------------------------
   Logo Badge (replaces anniversary badge)
   ---------------------------------------- */

.logo-badge {
    display: block;
    width: 195px;
    height: auto;
    margin: 60px auto 8px;
}

/* ----------------------------------------
   Register Button (header and footer CTA)
   Matches the "Add to My Calendar" button shape,
   with gold border and gold text from the start.
   ---------------------------------------- */

.register-btn-wrap {
    text-align: center;
    margin: 20px 0 0;
}

.register-link {
    display: inline-block;
    padding: 16px 25px;
    border: 2px solid var(--gold);
    border-radius: 3px;
    font-family: 'Barlow Condensed', Arial, sans-serif;
    font-weight: 700;
    font-size: 32px;
    letter-spacing: 0.12em;
    line-height: 20px;
    text-transform: uppercase;
    color: var(--gold);
    background: transparent;
    text-decoration: none;
    vertical-align: middle;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.register-link:hover,
.register-link:focus {
    background-color: var(--gold);
    color: #071e33 !important;
    text-decoration: none;
}

/* ----------------------------------------
   Consistent Section Spacing
   ---------------------------------------- */

section {
    padding: 80px 0;
}

.highlight {
    padding: 80px 0;
}

.footer-action {
    padding: 80px 0 0;
}

section + section {
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

/* ----------------------------------------
   Section Titles — left-aligned, gold
   ---------------------------------------- */

.section-title {
    text-align: left;
    margin: 0 0 50px;
}

.section-title h4 {
    color: var(--gold);
}

.highlight .section-title {
    margin-top: 0;
    text-align: left;
}

/* ----------------------------------------
   Section Backgrounds
   ---------------------------------------- */

#about,
#collaborative {
    background: transparent;
}

.highlight {
    background: rgba(0, 0, 0, 0.18);
}

.footer-action {
    background: transparent;
}

/* ----------------------------------------
   Buttons (kept for any remaining uses)
   ---------------------------------------- */

.btn {
    font-family: 'Barlow Condensed', Arial, sans-serif;
    font-weight: 700;
    font-size: 20px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border-radius: 3px;
    border-width: 2px;
}

.btn-xl {
    font-size: 26px;
    padding: 13px 54px;
}

.btn-default,
.btn-success {
    background-color: var(--gold) !important;
    border-color: var(--gold) !important;
    color: #071e33 !important;
}

.btn-default:hover,
.btn-default:focus,
.btn-success:hover,
.btn-success:focus {
    background-color: var(--gold-light) !important;
    border-color: var(--gold-light) !important;
    color: #071e33 !important;
}

/* ----------------------------------------
   Speaker — float image left, text wraps
   ---------------------------------------- */

.speaker-content {
    overflow: hidden;
}

.speaker-photo {
    float: left;
    width: 200px;
    height: auto;
    margin: 0 28px 16px 0;
    border-radius: 6px;
    border: 2px solid rgba(201, 160, 48, 0.35);
}

.speaker-name {
    margin-top: 0;
    color: var(--white);
}

.speaker-content p {
    color: var(--text-main);
}

/* ----------------------------------------
   Venue — flat layout, no media component
   ---------------------------------------- */

#venue .col-md-8 h5 {
    color: var(--white);
    margin-top: 0;
}

#venue .col-md-8 p {
    color: var(--text-main);
}

/* ----------------------------------------
   About Calendar
   ---------------------------------------- */

.about-calendar {
    margin-top: 32px;
}

.about-calendar h5 {
    margin-bottom: 16px;
    color: var(--white);
}

/* ----------------------------------------
   Add to Calendar Widget
   ---------------------------------------- */

.atc-style-theme .atcb-link {
    color: rgba(255, 255, 255, 0.70) !important;
    border-color: rgba(255, 255, 255, 0.30) !important;
    background: transparent !important;
}

.atc-style-theme .atcb-link:hover,
.atc-style-theme .atcb-link:active,
.atc-style-theme .atcb-link:focus {
    color: var(--gold) !important;
    border-color: var(--gold) !important;
}

/* ----------------------------------------
   Footer CTA
   ---------------------------------------- */

.footer-action .headline {
    color: var(--white);
}

.footer-action .headline-support {
    color: var(--text-soft);
    font-family: 'Barlow Condensed', Arial, sans-serif;
    font-weight: 600;
    letter-spacing: 0.1em;
}

/* ----------------------------------------
   Footer
   ---------------------------------------- */

footer {
    background: rgba(0, 0, 0, 0.30);
    color: var(--text-soft);
    padding: 50px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.footer-tagline {
    font-size: 16px;
    color: var(--text-soft);
    margin-bottom: 20px;
    text-align: center;
}

footer small.text-muted {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.30) !important;
}

footer p {
    text-align: center;
}

.social-icons a i {
    background-color: var(--gold);
    color: #071e33;
}

.social-icons a:hover {
    opacity: 0.85;
}
