/* ═══════════════════════════════════════════════════════════════════════════
   ZIETSMAN MINING TRAINING — site.css
   Font: 'Open Sans', sans-serif  |  Primary: #edc416 (gold)  |  Dark: #111111
   ═══════════════════════════════════════════════════════════════════════════ */

:root {
    --gold:    #edc416;
    --gold-dk: #c9a800;
    --dark:    #111111;
    --dark2:   #1e1e1e;
    --white:   #ffffff;
    --light:   #f8f8f8;
    --border:  #e0e0e0;
    --text:    #222222;
    --muted:   #666666;
    --font:    'Open Sans', sans-serif;
    --radius:  6px;
    --shadow:  0 4px 20px rgba(0,0,0,0.08);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    font-size: 16px;
    color: var(--text);
    background: var(--white);
    margin: 0;
    padding: 0;
}

a { color: var(--dark); }
a:hover { color: var(--gold-dk); text-decoration: none; }

img { max-width: 100%; }

/* ─── NAV ─────────────────────────────────────────────────────────────────── */
.site-navbar {
    background: var(--dark);
    padding: 0 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.site-navbar .navbar-brand { padding: 10px 0; }

.nav-logo {
    height: 50px;
    width: auto;
}

.nav-logo-text {
    color: var(--gold);
    font-weight: 700;
    font-size: 0.9rem;
    line-height: 1.2;
    letter-spacing: 1px;
}

.site-navbar .nav-link {
    color: #ccc !important;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 22px 16px !important;
    transition: color 0.2s;
    position: relative;
}

.site-navbar .nav-link:hover,
.site-navbar .nav-item.active .nav-link {
    color: var(--gold) !important;
}

.site-navbar .nav-item.active .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 16px;
    right: 16px;
    height: 3px;
    background: var(--gold);
    border-radius: 2px 2px 0 0;
}

.nav-admin-link {
    color: var(--gold) !important;
}

.navbar-toggler {
    border: 1px solid rgba(255,255,255,0.2);
    padding: 6px 10px;
}

.navbar-toggler-icon { color: var(--gold); }

/* ─── BANNER CAROUSEL ─────────────────────────────────────────────────────── */
.banner-carousel { background: var(--dark); }

.banner-img {
    height: 480px;
    object-fit: cover;
    object-position: center;
}

.carousel-caption {
    background: rgba(0,0,0,0.5);
    border-radius: var(--radius);
    padding: 12px 24px;
    bottom: 40px;
}

.carousel-caption h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--white);
    margin: 0;
}

.carousel-indicators li {
    background-color: var(--gold);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
}

.banner-spec-note { padding: 6px 0; background: #f5f5f5; border-bottom: 1px solid var(--border); }

.banner-placeholder {
    background: linear-gradient(135deg, var(--dark) 0%, #2c2c2c 100%);
    color: var(--white);
    padding: 100px 0;
    text-align: center;
}

/* ─── SECTION COMMON ──────────────────────────────────────────────────────── */
.section-accent {
    width: 50px;
    height: 4px;
    background: var(--gold);
    margin: 0 auto 24px;
    border-radius: 2px;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 16px;
}

/* ─── HOME INFO SECTION ───────────────────────────────────────────────────── */
.home-info-section {
    padding: 72px 0;
    background: var(--white);
}

.info-body {
    font-size: 1.05rem;
    color: var(--muted);
    line-height: 1.8;
}

/* ─── BUTTONS ─────────────────────────────────────────────────────────────── */
.btn-primary-gold {
    background: var(--gold);
    color: var(--dark);
    border: 2px solid var(--gold);
    font-weight: 700;
    letter-spacing: 0.5px;
    border-radius: var(--radius);
    padding: 10px 28px;
    transition: all 0.2s;
}

.btn-primary-gold:hover {
    background: var(--gold-dk);
    border-color: var(--gold-dk);
    color: var(--dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(237,196,22,0.35);
}

/* ─── QUICK LINKS STRIP ───────────────────────────────────────────────────── */
.quick-links-strip {
    background: var(--light);
    padding: 48px 0;
    border-top: 1px solid var(--border);
}

.quick-link-card {
    display: block;
    text-align: center;
    padding: 32px 24px;
    border: 2px solid transparent;
    border-radius: 8px;
    transition: all 0.25s;
    color: var(--text);
    background: var(--white);
    box-shadow: var(--shadow);
    margin-bottom: 16px;
}

.quick-link-card:hover {
    border-color: var(--gold);
    transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(0,0,0,0.12);
    color: var(--dark);
}

.quick-link-card i {
    font-size: 2.4rem;
    color: var(--gold);
    margin-bottom: 16px;
    display: block;
}

.quick-link-card h4 {
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 8px;
}

.quick-link-card p {
    font-size: 0.88rem;
    color: var(--muted);
    margin: 0;
}

/* ─── PAGE HERO ───────────────────────────────────────────────────────────── */
.page-hero {
    background: linear-gradient(135deg, var(--dark) 0%, #2a2a2a 100%);
    color: var(--white);
    padding: 48px 0 36px;
    border-bottom: 4px solid var(--gold);
}

.page-hero h1 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.page-hero .breadcrumb-item a { color: var(--gold); }
.page-hero .breadcrumb-item.active { color: #bbb; }
.page-hero .breadcrumb-item + .breadcrumb-item::before { color: #888; }

/* ─── ABOUT ───────────────────────────────────────────────────────────────── */
.about-icon-wrap {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--gold);
    color: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 16px;
}

.about-block-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
}

.about-block-content {
    color: var(--muted);
    line-height: 1.8;
    font-size: 1rem;
}

.about-divider {
    border-color: var(--border);
    margin: 32px 0;
}

/* ─── TEAM ────────────────────────────────────────────────────────────────── */
.team-card {
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.25s;
    box-shadow: var(--shadow);
    background: var(--white);
    height: 100%;
}

.team-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.12);
    border-color: var(--gold);
}

.team-card-img-wrap {
    position: relative;
    height: 260px;
    overflow: hidden;
    background: var(--light);
}

.team-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform 0.4s;
}

.team-card:hover .team-card-img { transform: scale(1.04); }

.team-card-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e8e8e8;
    color: #bbb;
    font-size: 4rem;
}

.team-card-body {
    padding: 20px 24px;
    border-top: 3px solid var(--gold);
}

.team-name {
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 4px;
    color: var(--dark);
}

.team-title {
    color: var(--gold-dk);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.team-desc {
    font-size: 0.9rem;
    color: var(--muted);
    line-height: 1.6;
    margin: 0;
}

/* ─── SERVICES ────────────────────────────────────────────────────────────── */
.services-intro-body {
    font-size: 1.05rem;
    color: var(--muted);
    line-height: 1.8;
}

.service-img {
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.service-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 3px solid var(--gold);
    display: inline-block;
}

.service-desc {
    color: var(--muted);
    line-height: 1.8;
}

.service-card-no-image {
    padding: 32px;
    background: var(--light);
    border-radius: 8px;
    border-left: 4px solid var(--gold);
}

.service-divider { border-color: var(--border); margin: 40px 0; }

/* ─── CONTACT ─────────────────────────────────────────────────────────────── */
.contact-form .form-control {
    border-radius: var(--radius);
    border: 1px solid #ccc;
    padding: 12px 14px;
    font-size: 0.95rem;
    transition: border-color 0.2s;
}

.contact-form .form-control:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(237,196,22,0.2);
}

.contact-form .form-label { font-weight: 600; font-size: 0.9rem; }

.field-error { color: #dc3545; font-size: 0.82rem; display: block; margin-top: 4px; }

.contact-success {
    text-align: center;
    padding: 60px 20px;
}

.contact-success i {
    color: #28a745;
    margin-bottom: 20px;
    display: block;
}

.contact-success h3 { font-weight: 700; margin-bottom: 12px; }

/* ─── FOOTER ──────────────────────────────────────────────────────────────── */
.site-footer {
    background: var(--dark);
    color: #ccc;
    padding: 40px 0 28px;
    margin-top: 60px;
    border-top: 4px solid var(--gold);
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.footer-logo {
    height: 50px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.85;
}

.footer-name {
    color: var(--gold);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 2px;
    display: block;
    text-align: center;
    margin-top: 6px;
}

.footer-social { display: flex; gap: 12px; }

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.2);
    color: #ccc;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.social-icon:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--dark);
    transform: translateY(-2px);
}

.footer-copy {
    font-size: 0.8rem;
    color: #888;
    margin: 0;
    text-align: center;
}

/* ─── RESPONSIVE ──────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
    .banner-img { height: 220px; }
    .section-title { font-size: 1.6rem; }
    .page-hero h1 { font-size: 1.7rem; }
    .carousel-caption h3 { font-size: 1.1rem; }
    .team-card-img-wrap { height: 220px; }

    .site-navbar .nav-link {
        padding: 12px 8px !important;
        border-bottom: 1px solid rgba(255,255,255,0.06);
    }

    .site-navbar .nav-item.active .nav-link::after { display: none; }
}
