/*!
 * ASBOG Main Site Stylesheet (asbogbs.css)
 * National Association of State Boards of Geology
 */

/* ==========================================================================
   1. BASIC LAYOUT & GLOBAL STYLES
   ========================================================================== */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    padding-top: 85px;
    background-color: #eaefef;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

@media (min-width: 992px) {
    body {
        padding-top: 85px;
    }
}

.card {
    height: 100%;
}

.card-img-top {
    min-height: 1px;
}

/* ==========================================================================
   2. TYPOGRAPHY & COLOR SYSTEM
   ========================================================================== */
h1,
h2,
h3,
h4,
h5,
p,
a {
    color: #051f38;
}

a {
    text-decoration: underline;
}

.card-title {
    font-size: 1.15rem;
    color: #051f38;
}

.card-body {
    padding-top: 0.75em;
}

.table-bordered td,
.table-bordered th {
    border: 1px solid #555;
}

h2:target {
    padding-top: 60px;
    margin-top: -60px;
}

/* ==========================================================================
   3. HEADER & NAVIGATION BAR
   ========================================================================== */
.business-header {
    height: 100%;
    min-height: 360px;
    padding-top: 30px;
    background-size: cover;
}

.navbar,
.dropdown-menu {
    background-color: #0B3255;
}

.navbar {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.4);
    min-height: 85px;
}

.navbar-brand {
    font-weight: 500;
}

.navbar a {
    color: #fff;
    font-size: medium;
    text-decoration: none;
}

.navbar a:hover,
.navbar a:focus,
.navbar a:active,
.navbar .nav-link:hover,
.navbar .nav-link:focus,
.navbar .nav-link:active,
.navbar .dropdown-toggle:focus,
.navbar .dropdown-toggle:active,
.navbar .dropdown-toggle.show,
.navbar .show > .nav-link,
.navbar a.active,
.navbar .nav-link.active {
    color: #80993D !important;
}

.navbar a.active:hover,
.navbar .nav-link.active:hover,
.navbar .show > .nav-link:hover,
.navbar a.active:focus,
.navbar .nav-link.active:focus {
    color: #80993D !important;
}

#navbarResponsive {
    text-align: center;
}

#nav-logo {
    height: 75px;
    width: auto;
    position: absolute;
    top: 10px;
    left: 10px;
}

#nav-logo img {
    width: 75px;
    height: auto;
}

#survey-logo {
    height: 75px;
    width: auto;
    position: absolute;
    top: 10px;
    right: 10px;
}

@media (max-width: 1090px) {
    #survey-logo {
        display: none;
    }
}

.nav-link {
    font-size: 1.1rem;
}

.nav-item:hover {
    text-decoration: underline;
    text-decoration-color: #80993D;
}

.dropdown-item:hover {
    text-decoration: underline;
    background-color: #B1403E;
    color: white;
}

.navbar-toggler {
    border-width: 1px;
    border-color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 992px) {
    .dropdown-menu {
        text-align: center;
    }
}

.page-header {
    color: white;
    font-size: 3em;
}

.background-text {
    background: rgba(0, 0, 0, 0.3);
}

/* ==========================================================================
   4. HERO SECTIONS & BUTTON OVERRIDES
   ========================================================================== */
.hero-section {
    height: auto !important;
    min-height: 150px;
}

.btn-primary {
    background-color: #80993D !important;
}

.btn-primary:hover {
    color: white !important;
    background-color: #F47646 !important;
}

/* ==========================================================================
   5. FOOTER STYLES
   ========================================================================== */
footer {
    background-color: #80993D;
}

.footer-logo {
    text-align: center;
    max-width: 100px;
}

#copyright {
    font-size: 0.8em;
}

/* Force white text inside dark footers to override global p/a/h* color rules */
footer.bg-dark,
footer.bg-dark p,
footer.bg-dark a,
footer.bg-dark h1,
footer.bg-dark h2,
footer.bg-dark h3,
footer.bg-dark h4,
footer.bg-dark h5,
footer.bg-dark h6 {
    color: #ffffff !important;
}

/* ==========================================================================
   6. RESPONSIVE MOBILE OVERRIDES
   ========================================================================== */
@media (max-width: 768px) {
    .navbar-brand {
        font-size: 0.85em;
        margin-left: -5px;
    }

    .navbar {
        padding: 0.9rem;
    }

    .navbar-toggler {
        padding: 0;
    }

    .page-header {
        font-size: 1.8rem !important;
    }

    .hero-section h1.display-4 {
        font-size: 2rem !important;
    }

    .hero-section {
        padding: 40px 0 !important;
    }
}

/* ==========================================================================
   7. ANNOUNCEMENTS & CALLOUT BANNERS
   ========================================================================== */
.announcement-card {
    background-color: #ffffff;
    border: 1px solid #d4dcdc !important;
    border-left: 6px solid #0B3255 !important;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.announcement-card:hover {
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.announcement-badge {
    background-color: #0B3255;
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 0.35rem 0.75rem;
    border-radius: 4px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
}