/* Color Palette */
:root {
    --redfin-red: #d32f2f; /* Updated with precise color from provided image */
    --premier-beige: #EFECE5;
    --premier-charcoal: #3D3935;
    --white: #ffffff;
    --gold: #F4C150;
}

/* Global Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--premier-beige);
    color: var(--premier-charcoal);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
}

.container {
    width: 100%;
    max-width: 600px;
    padding: 2rem 1.5rem;
    flex: 1;
}

/* Profile Section */
.profile-card {
    text-align: center;
    background-color: var(--white);
    padding: 3rem 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    margin-bottom: 2rem;
}

.image-wrapper {
    width: 150px;
    height: 150px;
    margin: 0 auto 1.5rem auto;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--premier-beige);
}

.headshot {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.name {
    font-size: 2.2rem;
    margin-bottom: 0.25rem;
    font-weight: 700;
}

.title {
    font-size: 1.1rem;
    color: var(--redfin-red);
    margin-bottom: 0.25rem;
    font-weight: 500;
}

.service-area {
    font-size: 0.95rem;
    color: var(--premier-charcoal);
    margin-bottom: 1.5rem;
    font-style: italic;
    opacity: 0.8;
}

/* Stats Section */
.stats-container {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem 0;
    border-top: 1px solid var(--premier-beige);
    border-bottom: 1px solid var(--premier-beige);
}

.stat-box {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--redfin-red);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: bold;
    color: var(--premier-charcoal);
    opacity: 0.7;
}

.contact-info {
    margin-bottom: 2rem;
    font-size: 1rem;
}

.contact-info a {
    color: var(--premier-charcoal);
    text-decoration: none;
    font-weight: 500;
}

.contact-info a:hover {
    color: var(--redfin-red);
}

/* Buttons */
.button-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.btn {
    display: block;
    width: 100%;
    padding: 1rem;
    text-decoration: none;
    text-align: center;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.2s ease;
}

.btn-primary {
    background-color: var(--redfin-red);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #a3191a;
}

.btn-secondary {
    background-color: var(--premier-charcoal);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: #2b2825;
}

/* Bio Section */
.bio-section {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    margin-bottom: 2rem;
}

.bio-section h2 {
    text-align: center;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.bio-section p {
    text-align: justify;
    font-size: 0.95rem;
}

/* Reviews */
.reviews h2 {
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.review-card {
    background-color: var(--white);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.03);
    border-left: 4px solid var(--redfin-red);
}

.review-stars {
    color: var(--gold);
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
}

.review-text {
    font-style: italic;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.review-author {
    font-weight: bold;
    font-size: 0.9rem;
    text-align: right;
}

/* Footer */
footer {
    width: 100%;
    background-color: var(--premier-charcoal);
    color: var(--premier-beige);
    text-align: center;
    padding: 2rem 1rem;
    margin-top: auto;
}

.brokerage-name {
    font-size: 1.8rem;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.office-address {
    font-size: 0.85rem;
    opacity: 0.8;
    line-height: 1.4;
}
