/* ===== Global Reset & Variables ===== */
:root {
    --color-primary: #000000;
    --color-secondary: #313131;
    --color-text: #515151;
    --color-accent: #0000C8;
    --color-red: #AF0000;
    --color-gold: #FFD70F;
    --color-white: #FFFFFF;
    --font-main: "Montserrat", sans-serif;
    --max-width: 1140px;
}

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

html {
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    height: 100%;
}

body {
    font-family: var(--font-main);
    font-size: 16px;
    font-weight: 400;
    color: var(--color-text);
    background-color: #fff;
    -webkit-font-smoothing: antialiased;
    line-height: 1.5;
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

a {
    color: var(--color-accent);
    text-decoration: none;
}

a:hover {
    color: var(--color-accent);
}

img {
    max-width: 100%;
    height: auto;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0;
}

/* ===== Top Navigation Bar ===== */
.top-nav {
    background-image: url('../images/bg-steel.jpg');
    background-size: cover;
    background-color: #2d2d2d;
    padding: 7px 0;
}

.top-nav .container {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.top-nav .nav-menu {
    display: flex;
    list-style: none;
    gap: 0;
    align-items: center;
}

.top-nav .nav-menu > li {
    position: relative;
}

.top-nav .nav-menu > li > a {
    display: block;
    padding: 8px 20px;
    color: var(--color-accent);
    font-family: var(--font-main);
    font-size: 1.1rem;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.top-nav .nav-menu > li > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20px;
    right: 20px;
    height: 2px;
    background-color: var(--color-accent);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.top-nav .nav-menu > li > a:hover::after {
    transform: scaleX(1);
}

.top-nav .nav-menu > li > a .caret {
    font-size: 0.8em;
    margin-left: 4px;
}

/* Dropdown */
.top-nav .nav-menu > li .dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background-color: var(--color-accent);
    z-index: 1000;
    list-style: none;
    padding: 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.top-nav .nav-menu > li:hover .dropdown {
    display: block;
}

.top-nav .nav-menu > li .dropdown li a {
    display: block;
    padding: 10px 20px;
    color: var(--color-gold);
    font-family: var(--font-main);
    font-size: 0.9rem;
    font-weight: 500;
    transition: background-color 0.2s;
}

.top-nav .nav-menu > li .dropdown li a:hover {
    background-color: var(--color-accent);
    color: var(--color-gold);
}

/* Mobile menu toggle */
.menu-toggle {
    display: none;
    background-color: var(--color-accent);
    color: var(--color-gold);
    border: none;
    padding: 8px 12px;
    font-size: 27px;
    cursor: pointer;
    margin: 0 auto;
}

/* ===== Header / Logo Bar ===== */
.header {
    padding: 1% 0;
    background-color: #fff;
}

.header .container {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 15px;
}

.header .logo img {
    width: 391px;
    max-width: 100%;
    height: auto;
}

.header .contact-info {
    text-align: center;
}

.header .contact-info .tagline {
    color: var(--color-accent);
    font-family: var(--font-main);
    font-size: 2.3rem;
    font-weight: 500;
    text-shadow: 0px 0px 13px rgba(0,0,0,0.3);
    margin-bottom: 5px;
}

.header .contact-info .phone {
    color: var(--color-red);
    font-family: var(--font-main);
    font-size: 2rem;
    font-weight: 500;
    line-height: 1;
}

.header .contact-info .phone a {
    color: var(--color-red);
}

.header .contact-info .espanol {
    color: var(--color-accent);
    font-family: var(--font-main);
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 1;
    margin-top: 5px;
}

/* ===== Banner Section ===== */
.banner {
    width: 100%;
    line-height: 0;
}

.banner img {
    width: 100%;
    display: block;
}

/* ===== CTA Section ===== */
.cta-section {
    background-color: var(--color-accent);
    padding: 3% 0;
}

.cta-section .container {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 0 15px;
}

.cta-section .cta-text {
    flex: 0 0 65%;
    max-width: 65%;
    margin-right: 5%;
}

.cta-section .cta-text p {
    text-align: center;
    color: var(--color-gold);
    font-family: var(--font-main);
    font-size: 1.7rem;
    font-weight: 500;
    line-height: 33px;
    margin-bottom: 10px;
}

.cta-section .cta-text a {
    color: var(--color-gold);
}

.cta-section .location-finder {
    flex: 0 0 35%;
    max-width: 35%;
    display: flex;
    align-items: center;
}

.cta-section .location-box {
    background-color: var(--color-white);
    padding: 7% 15px;
    text-align: center;
    width: 100%;
}

.cta-section .location-box h3 {
    color: var(--color-primary);
    font-family: var(--font-main);
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 15px;
}

.cta-section .location-box .btn {
    display: inline-block;
    padding: 8px 24px;
    background-color: var(--color-accent);
    color: var(--color-gold);
    font-family: var(--font-main);
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 27px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
}

.cta-section .location-box .btn:hover {
    opacity: 0.9;
}

/* ===== About Section ===== */
.about-section {
    padding: 3% 0;
    flex: 1;
}

.about-section .container {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    gap: 0;
    padding: 0 15px;
}

.about-section .about-content {
    flex: 0 0 65%;
    max-width: 65%;
    margin-right: 5%;
}

.about-section .about-content h2 {
    text-align: center;
    color: var(--color-accent);
    font-family: var(--font-main);
    font-size: 1.7rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.about-section .about-content p {
    color: var(--color-secondary);
    font-family: var(--font-main);
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 33px;
    margin-bottom: 15px;
}

.about-section .about-content .phone-cta {
    text-align: center;
    margin-top: 20px;
}

.about-section .about-content .phone-cta a {
    color: var(--color-accent);
    font-size: 1.3rem;
    font-weight: 600;
}

.about-section .service-highlights {
    flex: 0 0 35%;
    max-width: 35%;
    margin-top: 51px;
}

.about-section .service-box {
    background-color: var(--color-accent);
    margin-bottom: 33px;
    padding: 5% 15px 3%;
    text-align: center;
    transition: background 0.3s, border 0.3s, border-radius 0.3s, box-shadow 0.3s;
}

.about-section .service-box p {
    color: var(--color-gold);
    font-family: var(--font-main);
    font-size: 1.3rem;
    font-weight: 500;
}

/* ===== Location Page ===== */
.location-section {
    padding: 3% 0;
    flex: 1;
}

.location-section .container {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    padding: 0 15px;
}

.location-section .container h2 {
    flex: 0 0 100%;
    text-align: center;
    color: var(--color-accent);
    font-family: var(--font-main);
    font-size: 1.7rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.location-section .location-details {
    width: 100%;
    text-align: center;
}

.location-section .location-details ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 15px;
}

.location-section .location-details h3 {
    color: var(--color-accent);
    font-family: var(--font-main);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    margin-top: 20px;
}

.location-section .location-details p,
.location-section .location-details li {
    color: var(--color-secondary);
    font-family: var(--font-main);
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 33px;
}

.location-section .location-details a {
    color: var(--color-accent);
}

.location-section .location-info {
    flex: 0 0 65%;
    max-width: 65%;
    margin-right: 5%;
}

.location-section .location-info h2 {
    text-align: center;
    color: var(--color-accent);
    font-family: var(--font-main);
    font-size: 1.7rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.location-section .location-info h3 {
    color: var(--color-accent);
    font-family: var(--font-main);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    margin-top: 20px;
}

.location-section .location-info p,
.location-section .location-info li {
    color: var(--color-secondary);
    font-family: var(--font-main);
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 33px;
}

.location-section .location-info p {
    margin-bottom: 8px;
}

.location-section .location-info ul {
    list-style: disc;
    padding-left: 25px;
    margin-bottom: 15px;
}

.location-section .location-info a {
    color: var(--color-accent);
}

.location-section .location-info .closed-notice {
    color: var(--color-red);
    font-weight: 700;
    font-size: 1.2rem;
    margin: 15px 0;
}

.location-section .location-photo {
    flex: 0 0 35%;
    max-width: 35%;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 20px;
}

.location-section .location-photo img {
    width: 100%;
    height: auto;
}

/* ===== Staff Page ===== */
.staff-section {
    padding: 3% 0;
    flex: 1;
}

.staff-section .container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 15px;
}

.staff-section h2.page-title {
    text-align: center;
    color: var(--color-accent);
    font-family: var(--font-main);
    font-size: 2.1rem;
    font-weight: 500;
    margin-bottom: 30px;
}

.staff-section .staff-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
}

.staff-section .staff-card {
    flex: 0 0 calc(50% - 2%);
    max-width: calc(50% - 2%);
    background-color: #F9F9F9;
    padding: 5%;
    transition: background 0.3s, border 0.3s, border-radius 0.3s, box-shadow 0.3s;
    margin-bottom: 33px;
}

.staff-section .staff-grid .staff-card:nth-child(odd) {
    margin-right: 2%;
}

.staff-section .staff-grid .staff-card:nth-child(even) {
    margin-left: 2%;
}

.staff-section .staff-card.staff-card-featured {
    display: flex;
    flex: 0 0 100%;
    max-width: 100%;
    background-color: #F9F9F9;
    border-bottom: 1px solid #E5E5E5;
    padding: 3%;
    margin-bottom: 33px;
    transition: background 0.3s, border 0.3s, border-radius 0.3s, box-shadow 0.3s;
}

.staff-section .staff-card-featured .staff-card-photo {
    flex: 0 0 25%;
    max-width: 25%;
    margin-right: 5%;
}

.staff-section .staff-card-featured .staff-card-photo img {
    width: 100%;
    height: auto;
}

.staff-section .staff-card-featured .staff-card-info {
    flex: 0 0 70%;
    max-width: 70%;
}

.staff-section .staff-card h3,
.staff-section .staff-card-featured h3 {
    color: var(--color-accent);
    font-family: var(--font-main);
    font-size: 1.9rem;
    font-weight: 500;
    margin-bottom: 10px;
}

.staff-section .staff-card .staff-role,
.staff-section .staff-card-featured .staff-role {
    color: var(--color-secondary);
    font-family: var(--font-main);
    font-size: 1rem;
    font-weight: 500;
    line-height: 13px;
    margin-bottom: 15px;
}

.staff-section .staff-contact-label {
    color: var(--color-accent);
    font-family: var(--font-main);
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 5px;
}

.staff-section .staff-card p,
.staff-section .staff-card-featured p {
    color: var(--color-secondary);
    font-family: var(--font-main);
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.8;
}

.staff-section .staff-card a,
.staff-section .staff-card-featured a {
    color: var(--color-accent);
}

@media (max-width: 767px) {
    .location-section .container {
        flex-direction: column;
    }

    .location-section .location-info,
    .location-section .location-photo {
        flex: 0 0 100%;
        max-width: 100%;
        margin-right: 0;
    }

    .location-section .location-photo {
        margin-top: 20px;
    }

    .staff-section .staff-card {
        flex: 0 0 100%;
        max-width: 100%;
        margin-right: 0;
        margin-left: 0;
    }

    .staff-section .staff-grid .staff-card:nth-child(odd) {
        margin-right: 0;
    }

    .staff-section .staff-grid .staff-card:nth-child(even) {
        margin-left: 0;
    }

    .staff-section .staff-card-featured {
        flex-direction: column;
    }

    .staff-section .staff-card-featured .staff-card-photo {
        flex: 0 0 100%;
        max-width: 100%;
        margin-right: 0;
        margin-bottom: 20px;
    }

    .staff-section .staff-card-featured .staff-card-info {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* ===== Footer Spacer ===== */
.footer-spacer {
    min-height: 70px;
    background-color: var(--color-accent);
    border-bottom: 7px solid var(--color-gold);
}

/* ===== Footer ===== */
.footer {
    background-image: url('../images/bg-steel.jpg');
    background-size: cover;
    background-color: #2d2d2d;
    padding: 3% 0;
}

.footer .container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 15px;
}

.footer .footer-columns {
    display: flex;
    justify-content: space-between;
}

.footer .footer-col {
    flex: 1;
    text-align: center;
}

.footer .footer-col h2 {
    color: var(--color-accent);
    font-family: var(--font-main);
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 15px;
}

.footer .footer-col p {
    color: var(--color-secondary);
    font-family: var(--font-main);
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.6;
}

.footer .footer-col a {
    color: var(--color-secondary);
}

.footer .social-icons {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-top: 10px;
}

.footer .social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1px solid var(--color-accent);
    border-radius: 50%;
    color: var(--color-accent);
    background-color: transparent;
    font-size: 17px;
    transition: background-color 0.3s, color 0.3s;
}

.footer .social-icons a:hover {
    background-color: var(--color-accent);
    color: var(--color-white);
}

.footer .copyright {
    text-align: center;
    color: var(--color-secondary);
    font-family: var(--font-main);
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 13px;
    margin-top: 33px;
}

.footer .copyright a {
    color: var(--color-secondary);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .header .contact-info .tagline {
        font-size: 1.7rem;
    }

    .header .contact-info .phone {
        font-size: 1.7rem;
    }

    .cta-section .container,
    .about-section .container {
        max-width: 701px;
    }

    .cta-section .cta-text p {
        font-size: 1.3rem;
    }

    .cta-section .location-box h3 {
        font-size: 1.1rem;
    }

    .cta-section .location-box .btn {
        font-size: 1rem;
    }
}

@media (max-width: 767px) {
    .top-nav {
        padding: 13px 0 5px;
    }

    .top-nav .nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
    }

    .top-nav .nav-menu.active {
        display: flex;
    }

    .top-nav .nav-menu > li .dropdown {
        position: static;
        box-shadow: none;
    }

    .menu-toggle {
        display: block;
    }

    .header .container {
        flex-direction: column;
        text-align: center;
    }

    .header .logo {
        text-align: center;
    }

    .header .logo img {
        width: 371px;
    }

    .header .contact-info {
        margin-top: 15px;
    }

    .banner img {
        width: 100%;
    }

    .cta-section {
        padding: 3%;
    }

    .cta-section .container {
        flex-direction: column;
    }

    .cta-section .cta-text,
    .cta-section .location-finder {
        flex: 0 0 100%;
        max-width: 100%;
        margin-right: 0;
    }

    .cta-section .cta-text p {
        text-align: center;
    }

    .about-section {
        padding: 5% 3%;
    }

    .about-section .container {
        flex-direction: column;
    }

    .about-section .about-content,
    .about-section .service-highlights {
        flex: 0 0 100%;
        max-width: 100%;
        margin-right: 0;
    }

    .about-section .service-highlights {
        margin-top: 30px;
    }

    .footer .footer-columns {
        flex-direction: column;
        gap: 30px;
    }

    .footer {
        padding: 5% 0 3%;
    }
}
