/*wwwroot>css>site.css*/

:root {
    --brand-blue: #1B365D; /* Dark navy from logo */
    --brand-gold: #DAA520; /* Gold outline from logo */
    --text-dark: #212529;
    --bg-light: #f8f9fa;
}

/* Base font sizing and layout */
html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    color: var(--text-dark);
    background-color: #fff;
}

main {
    flex: 1;
}

/* Thin top ribbon across all pages */
.top-ribbon {
    height: 25px;
    background-color: var(--brand-blue);
}

/* Focus outlines */
.btn:focus, .form-control:focus {
    box-shadow: 0 0 0 0.2rem rgba(37, 140, 251, 0.5);
}

/* Primary button overrides */
.btn-primary {
    background-color: var(--brand-blue);
    border-color: var(--brand-blue);
}

    .btn-primary:hover, .btn-primary:focus {
        background-color: var(--brand-gold);
        border-color: var(--brand-gold);
    }

/* Link styling */
a {
    color: var(--brand-blue);
    text-decoration: none;
}

    a:hover {
        color: var(--brand-gold);
        text-decoration: underline;
    }

/* Page header styling */
.page-header h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

/* Footer override */
footer {
    background-color: var(--bg-light);
}

/* Hero section */
.hero-section {
    position: relative;
    background: url('../Images/hero-bg.png') no-repeat center center;
    background-size: cover;
    min-height: 70vh;
    color: #fff;
}

.hero-overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-card {
    position: relative;
    z-index: 2; /* sit above the overlay */
    background-color: #fff; /* ensure pure white */
    color: var(--brand-blue);
    margin-top: 1rem;
    padding: 1.5rem;
    border-radius: 0.5rem;
    max-width: 360px;
    width: 100%;
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.hero-title {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
    border-bottom: 3px solid var(--brand-gold);
    padding-bottom: 0.25rem;
}

.hero-text {
    font-size: 1rem;
    line-height: 1.4;
    margin-bottom: 1rem;
}

/* Contact section */
.contact-section {
    background-color: var(--bg-light);
}

.contact-card {
    background-color: #fff;
    padding: 1.5rem 2rem;
    border: 2px solid var(--brand-gold);
    border-radius: 0.5rem;
    max-width: 400px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.contact-title {
    color: var(--brand-blue);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.contact-info a {
    color: var(--brand-blue);
    font-weight: 500;
}

    .contact-info a:hover {
        color: var(--brand-gold);
    }

/* Container padding adjustments */
main, .page-header, .hero-section, .contact-section {
    padding-bottom: 2rem;
}

/* Responsive typography */
@media (min-width: 992px) {
    .hero-title {
        font-size: 2.25rem;
    }

    .hero-text {
        font-size: 1.125rem;
    }

    .contact-title {
        font-size: 1.75rem;
    }
}
