/* ELT Appraisers — Custom styles on top of Bootstrap 5 */

/* Brand colors from old site */
:root {
    --elt-navy: #003466;
    --elt-navy-dark: #002244;
    --elt-tan: #EAE4D0;
    --elt-tan-dark: #D8CDA7;
    --elt-gold: #B8A97E;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #333;
}

/* Navbar — overlaid on hero */
.nav-overlay {
    background-color: var(--elt-navy) !important;
}

.nav-overlay .nav-link {
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    padding: 0.75rem 1.25rem !important;
    text-transform: uppercase;
    font-size: 0.85rem;
}

.nav-overlay .nav-link:hover,
.nav-overlay .nav-link.active {
    background: rgba(255,255,255,0.15);
    border-radius: 3px;
}

/* Hero section with image + overlay */
.hero-section {
    position: relative;
    width: 100%;
    height: 420px;
    overflow: hidden;
    background: var(--elt-navy-dark);
}

.hero-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,34,68,0.35);
    pointer-events: none;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    padding: 0;
    color: #fff;
    z-index: 2;
}

.hero-logo-badge {
    height: 220px;
    width: auto;
    margin-bottom: 0.5rem;
    filter: drop-shadow(0 0 10px rgba(255,255,255,0.3)) drop-shadow(0 0 20px rgba(255,255,255,0.15));
}

.hero-content h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.hero-content p.lead {
    font-size: 1.35rem;
    font-weight: 600;
    opacity: 0.95;
    margin-bottom: 1.25rem;
    text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

.hero-content .btn-light {
    color: var(--elt-navy);
    font-weight: 600;
}

.hero-content .btn-outline-light:hover {
    color: var(--elt-navy);
}

/* Warm section (tan background) */
.section-warm {
    background: #EAE4D0;
    padding: 1.5rem 0;
    -webkit-print-color-adjust: exact;
}

/* Cards */
.card {
    border: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: box-shadow 0.2s;
}

.card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.card .card-icon {
    font-size: 2rem;
    color: var(--elt-navy);
    margin-bottom: 0.75rem;
}

/* Team section */
.team-photo {
    width: 100%;
    max-width: 500px;
    border-radius: 6px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.12);
    background: #EAE4D0;
}

.team-quote {
    font-style: italic;
    font-size: 1.1rem;
    color: #555;
    border-left: 4px solid var(--elt-gold);
    padding-left: 1rem;
    margin-top: 1rem;
}

.team-quote cite {
    display: block;
    font-style: normal;
    font-weight: 600;
    color: var(--elt-navy);
    margin-top: 0.5rem;
}

/* Section divider using the other panoramic */
.section-divider {
    width: 100%;
    overflow: hidden;
    max-height: 200px;
}

.section-divider img {
    width: 100%;
    object-fit: cover;
    object-position: center;
}

/* Staff photos */
.staff-photo {
    width: 120px;
    height: 120px;
    object-fit: cover;
    object-position: top;
    border-radius: 6px;
    border: 2px solid var(--elt-tan-dark);
}

.staff-photo-large {
    width: 160px;
    height: 200px;
    object-fit: cover;
    object-position: top;
    border-radius: 6px;
    border: 2px solid var(--elt-tan-dark);
}

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

/* Listing photos */
.listing-thumb {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.listing-placeholder {
    width: 100%;
    height: 250px;
    background: var(--elt-tan);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--elt-gold);
    font-size: 0.9rem;
    border-bottom: 1px solid var(--elt-tan-dark);
}

/* News/articles */
.news-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.news-item img {
    width: 75px;
    flex-shrink: 0;
    border: 2px solid var(--elt-tan-dark);
}

/* Page header (non-home pages) */
.page-header {
    background: var(--elt-navy);
    color: #fff;
    padding: 1.25rem 0;
    text-align: center;
}

.page-header h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.page-header .lead {
    opacity: 0.85;
    font-size: 1.05rem;
    margin-bottom: 0;
}

/* Service lists */
.service-list {
    list-style: none;
    padding: 0;
}

.service-list li {
    padding: 0.4rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.service-list li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    color: var(--elt-navy);
    font-weight: 700;
}

/* Client list */
.client-list {
    list-style: none;
    padding: 0;
}

.client-list li {
    padding: 0.35rem 0;
    border-bottom: 1px solid #eee;
    font-size: 0.95rem;
}

.client-list li:last-child {
    border-bottom: none;
}

/* Staff photo placeholder */
.staff-photo-placeholder {
    width: 140px;
    height: 140px;
    border-radius: 6px;
    background: var(--elt-tan);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--elt-tan-dark);
}

.staff-photo-placeholder span {
    font-size: 3rem;
    font-weight: 700;
    color: var(--elt-navy);
}

/* Footer */
footer {
    background-color: var(--elt-navy-dark) !important;
}

footer a {
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

footer .footer-logo {
    height: 80px;
    width: auto;
    margin-bottom: 0.75rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section {
        height: 350px;
    }

    .hero-logo-badge {
        height: 70px;
    }

    .hero-content h1 {
        font-size: 1.5rem;
    }

    .hero-content p.lead {
        font-size: 0.9rem;
    }

    .team-photo {
        max-width: 100%;
    }
}
