/* ===================================
   Brockman Properties - Redesign 2026
   Color Palette:
   - Primary Navy: #1a2e5a
   - Secondary Navy: #0f1d3d
   - Accent Gold: #d4a84b
   - Accent Gold Light: #e8c47a
   - Text Dark: #1a1a2e
   - Text Gray: #5a6070
   - Background Light: #f8f9fb
   - White: #ffffff
   =================================== */

:root {
    --primary: #1a2e5a;
    --primary-dark: #0f1d3d;
    --primary-light: #2a4a7a;
    --accent: #d4a84b;
    --accent-light: #e8c47a;
    --accent-dark: #b8923a;
    --text-dark: #1a1a2e;
    --text-gray: #5a6070;
    --text-light: #8a8f9e;
    --bg-light: #f8f9fb;
    --bg-white: #ffffff;
    --border: #e5e7eb;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --radius: 8px;
    --radius-lg: 12px;
    --transition: all 0.3s ease;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--bg-white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    line-height: 1.2;
}

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

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

ul {
    list-style: none;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--accent);
    color: var(--primary-dark);
}

.btn-primary:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--bg-white);
    border-color: var(--bg-white);
}

.btn-secondary:hover {
    background: var(--bg-white);
    color: var(--primary);
}

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

.btn-white:hover {
    background: var(--bg-light);
    transform: translateY(-2px);
}

.btn-outline-white {
    background: transparent;
    color: var(--bg-white);
    border-color: var(--bg-white);
}

.btn-outline-white:hover {
    background: var(--bg-white);
    color: var(--primary);
}

.btn-full {
    width: 100%;
}

/* ===================================
   Header
   =================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    padding: 20px 0;
    transition: var(--transition);
}

.header.scrolled {
    background: var(--bg-white);
    box-shadow: var(--shadow);
    padding: 12px 0;
}

.header.scrolled .logo-text,
.header.scrolled .logo-accent,
.header.scrolled .nav-list a,
.header.scrolled .header-phone {
    color: var(--primary);
}

.header.scrolled .header-phone:hover {
    color: var(--accent);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 40px;
    width: auto;
    filter: brightness(0) invert(1);
    transition: var(--transition);
}

.header.scrolled .logo-img {
    filter: none;
}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--bg-white);
}

.logo-accent {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-list {
    display: flex;
    gap: 32px;
}

.nav-list a {
    font-size: 15px;
    font-weight: 500;
    color: var(--bg-white);
    position: relative;
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition);
}

.nav-list a:hover::after {
    width: 100%;
}

.header-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--bg-white);
}

.header-phone svg {
    color: var(--accent);
}

.header-phone:hover {
    color: var(--accent);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--bg-white);
    transition: var(--transition);
}

.header.scrolled .mobile-menu-btn span {
    background: var(--primary);
}

/* ===================================
   Hero Section
   =================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-color: var(--primary);
    background-image: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.hero[style*="background-image"] {
    background-blend-mode: overlay;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(15, 29, 61, 0.92) 0%, rgba(26, 46, 90, 0.85) 50%, rgba(15, 29, 61, 0.75) 100%);
}

.hero-overlay::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 70% 50%, rgba(212, 168, 75, 0.15) 0%, transparent 50%);
}

.hero-content {
    position: relative;
    max-width: 650px;
    padding: 120px 0 80px;
}

.hero-tagline {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.hero-title {
    font-size: clamp(40px, 6vw, 64px);
    color: var(--bg-white);
    margin-bottom: 24px;
}

.hero-title .highlight {
    color: var(--accent);
}

.hero-description {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* ===================================
   Stats Bar
   =================================== */
.stats-bar {
    background: var(--accent);
    padding: 40px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    font-weight: 700;
    color: var(--primary-dark);
}

.stat-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--primary-dark);
    opacity: 0.8;
}

/* ===================================
   Section Styles
   =================================== */
.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

.section-tagline {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(28px, 4vw, 40px);
    color: var(--text-dark);
    margin-bottom: 16px;
}

.section-description {
    font-size: 17px;
    color: var(--text-gray);
    line-height: 1.7;
}

/* ===================================
   Services Section
   =================================== */
.services {
    padding: 100px 0;
    background: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: var(--bg-white);
    padding: 40px 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.service-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: var(--radius);
    margin-bottom: 24px;
}

.service-icon svg {
    stroke: var(--bg-white);
}

.service-title {
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.service-description {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.6;
}

/* ===================================
   About Section
   =================================== */
.about {
    padding: 100px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/3;
    box-shadow: var(--shadow-xl);
}

.about-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    color: rgba(255, 255, 255, 0.5);
}

.about-image-placeholder svg {
    stroke: rgba(255, 255, 255, 0.3);
}

.about-image-placeholder span {
    font-size: 14px;
    font-weight: 500;
}

.about-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 140px;
    height: 140px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.badge-number {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-dark);
    line-height: 1;
}

.badge-text {
    font-size: 12px;
    font-weight: 600;
    color: var(--primary-dark);
    line-height: 1.3;
    margin-top: 4px;
}

.about-content .section-tagline,
.about-content .section-title {
    text-align: left;
}

.about-text {
    font-size: 17px;
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 32px;
}

.about-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}

.about-list li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.about-list svg {
    flex-shrink: 0;
    margin-top: 2px;
    stroke: var(--accent);
}

.about-list span {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.6;
}

.about-list strong {
    color: var(--text-dark);
}

/* ===================================
   CTA Section
   =================================== */
.cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 80px 0;
}

.cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    font-size: clamp(28px, 4vw, 36px);
    color: var(--bg-white);
    margin-bottom: 16px;
}

.cta-description {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 32px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* ===================================
   Listings Section
   =================================== */
.listings {
    padding: 100px 0;
    background: var(--bg-light);
}

.listings-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.listing-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.listing-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.listing-image {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.listing-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.listing-card:hover .listing-image img {
    transform: scale(1.05);
}

.listing-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e0e5ec 0%, #c8d0db 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.listing-image-placeholder svg {
    stroke: rgba(26, 46, 90, 0.2);
}

.listing-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 6px 14px;
    background: var(--accent);
    color: var(--primary-dark);
    font-size: 12px;
    font-weight: 600;
    border-radius: 4px;
    text-transform: uppercase;
}

.listing-badge.commercial {
    background: var(--primary);
    color: var(--bg-white);
}

.listing-content {
    padding: 24px;
}

.listing-title {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.listing-address {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 16px;
}

.listing-details {
    display: flex;
    gap: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 16px;
}

.listing-details span {
    font-size: 13px;
    color: var(--text-gray);
}

.listing-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.listing-price {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
}

.listing-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--accent);
}

.listing-link:hover {
    color: var(--accent-dark);
}

.listings-cta {
    text-align: center;
    margin-top: 50px;
}

/* ===================================
   Testimonials Section
   =================================== */
.testimonials {
    padding: 100px 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background: var(--bg-white);
    padding: 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.testimonial-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
}

.testimonial-stars svg {
    color: var(--accent);
}

.testimonial-text {
    font-size: 16px;
    color: var(--text-gray);
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 24px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-white);
    font-weight: 600;
    font-size: 16px;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 600;
    color: var(--text-dark);
}

.author-role {
    font-size: 13px;
    color: var(--text-gray);
}

/* ===================================
   Contact Section
   =================================== */
.contact {
    padding: 100px 0;
    background: var(--bg-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info .section-tagline,
.contact-info .section-title {
    text-align: left;
}

.contact-text {
    font-size: 17px;
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.contact-item {
    display: flex;
    gap: 20px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--accent);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    stroke: var(--primary-dark);
}

.contact-item h4 {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.contact-item p {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.5;
}

.contact-item a {
    color: var(--primary);
}

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

.contact-form-wrapper {
    background: var(--bg-white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.contact-form h3 {
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 28px;
    text-align: center;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    color: var(--text-dark);
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: var(--bg-white);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* ===================================
   Footer
   =================================== */
.footer {
    background: var(--primary-dark);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.footer-logo .logo-img {
    height: 45px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-logo .logo-text {
    color: var(--bg-white);
}

.footer-description {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
    max-width: 300px;
}

.footer-links h4 {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: var(--bg-white);
    margin-bottom: 24px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.6);
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    padding: 24px 0;
}

.footer-bottom p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.4);
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 1024px) {
    .services-grid,
    .listings-grid,
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid {
        gap: 50px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--bg-white);
        padding: 100px 32px 32px;
        transition: var(--transition);
        box-shadow: var(--shadow-xl);
    }

    .nav.active {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: 20px;
    }

    .nav-list a {
        color: var(--text-dark);
        font-size: 18px;
    }

    .header-phone {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
        z-index: 1001;
    }

    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .hero-content {
        padding: 100px 0 60px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .stat-number {
        font-size: 32px;
    }

    .services-grid,
    .listings-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .about-badge {
        right: 20px;
        bottom: -20px;
        width: 120px;
        height: 120px;
    }

    .badge-number {
        font-size: 28px;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-buttons .btn {
        width: 100%;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .section-title {
        font-size: 28px;
    }

    .hero-title {
        font-size: 32px;
    }

    .stats-bar {
        padding: 30px 0;
    }

    .services,
    .about,
    .listings,
    .testimonials,
    .contact {
        padding: 60px 0;
    }

    .service-card,
    .listing-content,
    .testimonial-card,
    .contact-form-wrapper {
        padding: 24px;
    }

    .contact-form-wrapper {
        padding: 24px 20px;
    }
}
