/* ============================================
   Hillis Team - Las Vegas Real Estate
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
    --color-navy: #1a2744;
    --color-navy-light: #243352;
    --color-navy-dark: #111c33;
    --color-gold: #c9a84c;
    --color-gold-light: #dcc06e;
    --color-gold-dark: #a88a33;
    --color-white: #ffffff;
    --color-off-white: #f8f7f4;
    --color-gray-100: #f5f5f5;
    --color-gray-200: #e8e8e8;
    --color-gray-300: #d1d1d1;
    --color-gray-500: #888888;
    --color-gray-700: #4a4a4a;
    --color-gray-900: #222222;
    --color-text: #333333;
    --color-text-light: #666666;

    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    --container-max: 1200px;
    --section-pad: 100px;
    --radius: 8px;
    --radius-lg: 16px;
    --shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.12);
    --transition: 0.3s ease;
}

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text);
    background: var(--color-white);
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--color-navy);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--color-gold);
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Navigation --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    transition: background var(--transition), box-shadow var(--transition);
}

.navbar.scrolled {
    background: rgba(26, 39, 68, 0.97);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.nav-logo {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    line-height: 1.2;
}

.nav-logo-img {
    height: 50px;
    width: auto;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--color-white);
    letter-spacing: 2px;
}

.logo-sub {
    font-size: 11px;
    color: var(--color-gold);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 500;
}

.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 8px;
}

.nav-link {
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: var(--radius);
    transition: all var(--transition);
    letter-spacing: 0.3px;
}

.nav-link:hover {
    color: var(--color-white);
    background: rgba(255, 255, 255, 0.1);
}

.nav-link.nav-cta {
    background: var(--color-gold);
    color: var(--color-navy-dark);
    font-weight: 600;
    margin-left: 8px;
}

.nav-link.nav-cta:hover {
    background: var(--color-gold-light);
    color: var(--color-navy-dark);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--color-white);
    border-radius: 2px;
    transition: all var(--transition);
}

/* --- Hero Section --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        linear-gradient(135deg, var(--color-navy-dark) 0%, var(--color-navy) 50%, #2d4a7a 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(201, 168, 76, 0.1) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    /* When you have a hero image, use:
       background: url('../images/hero-bg.jpg') center/cover no-repeat;
       opacity: 0.25;
    */
}

.hero-content {
    position: relative;
    text-align: center;
    padding: 120px 24px 80px;
    max-width: 800px;
}

.hero-tagline {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: 24px;
    padding: 8px 20px;
    border: 1px solid rgba(201, 168, 76, 0.4);
    border-radius: 30px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(36px, 6vw, 64px);
    font-weight: 700;
    color: var(--color-white);
    line-height: 1.15;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.75);
    max-width: 560px;
    margin: 0 auto 40px;
    line-height: 1.7;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
}

.hero-scroll a {
    color: rgba(255, 255, 255, 0.4);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-8px); }
    60% { transform: translateY(-4px); }
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    letter-spacing: 0.3px;
}

.btn-primary {
    background: var(--color-gold);
    color: var(--color-navy-dark);
    border-color: var(--color-gold);
}

.btn-primary:hover {
    background: var(--color-gold-light);
    border-color: var(--color-gold-light);
    color: var(--color-navy-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(201, 168, 76, 0.35);
}

.btn-outline {
    background: transparent;
    color: var(--color-white);
    border-color: rgba(255, 255, 255, 0.35);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--color-white);
    color: var(--color-white);
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--color-navy);
    color: var(--color-white);
    border-color: var(--color-navy);
}

.btn-secondary:hover {
    background: var(--color-navy-light);
    border-color: var(--color-navy-light);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(26, 39, 68, 0.35);
}

.btn-full {
    width: 100%;
}

/* --- Sections --- */
.section {
    padding: var(--section-pad) 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-label {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    color: var(--color-navy);
    margin-bottom: 16px;
    line-height: 1.2;
}

.section-desc {
    font-size: 17px;
    color: var(--color-text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* --- About Section --- */
.about {
    background: var(--color-white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 60px;
    align-items: center;
}

.about-photo {
    border-radius: var(--radius-lg);
    width: 100%;
    object-fit: cover;
    box-shadow: var(--shadow-lg);
}

.about-image-placeholder {
    background: var(--color-gray-100);
    border-radius: var(--radius-lg);
    aspect-ratio: 4/5;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--color-gray-500);
    border: 2px dashed var(--color-gray-300);
}

.about-image-placeholder p {
    margin-top: 12px;
    font-size: 14px;
    font-weight: 500;
}

.about-logo {
    max-width: 180px;
    margin: 24px auto 0;
}

.about-content h3 {
    font-family: var(--font-heading);
    font-size: 32px;
    color: var(--color-navy);
    margin-bottom: 8px;
}

.about-role {
    font-size: 15px;
    color: var(--color-gold-dark);
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 24px;
}

.about-content p {
    color: var(--color-text-light);
    margin-bottom: 16px;
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid var(--color-gray-200);
}

.stat {
    display: flex;
    align-items: center;
    gap: 12px;
}

.stat-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-off-white);
    border-radius: var(--radius);
    color: var(--color-gold);
    flex-shrink: 0;
}

.stat-text {
    font-size: 15px;
    font-weight: 500;
    color: var(--color-gray-700);
}

/* --- Services Section --- */
.services {
    background: var(--color-off-white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--color-white);
    padding: 40px 32px;
    border-radius: var(--radius-lg);
    transition: all var(--transition);
    border: 1px solid var(--color-gray-200);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.service-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-light) 100%);
    border-radius: var(--radius);
    color: var(--color-gold);
    margin-bottom: 24px;
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 22px;
    color: var(--color-navy);
    margin-bottom: 12px;
}

.service-card p {
    font-size: 15px;
    color: var(--color-text-light);
    line-height: 1.7;
}

/* --- Home Value CTA Section --- */
.home-value {
    background: var(--color-white);
}

.home-value-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 48px;
    background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-light) 100%);
    border-radius: var(--radius-lg);
}

.home-value-content h3 {
    font-family: var(--font-heading);
    font-size: 28px;
    color: var(--color-white);
    margin-bottom: 8px;
}

.home-value-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
    max-width: 500px;
}

/* --- Resources Section --- */
.resources {
    background: var(--color-off-white);
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.resource-category {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 32px;
    border: 1px solid var(--color-gray-200);
}

.resource-category h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    color: var(--color-navy);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.resource-category h3 svg {
    color: var(--color-gold);
}

.resource-list {
    list-style: none;
}

.resource-list li {
    border-bottom: 1px solid var(--color-gray-100);
}

.resource-list li:last-child {
    border-bottom: none;
}

.resource-list a {
    display: block;
    padding: 12px 0;
    font-size: 15px;
    font-weight: 500;
    color: var(--color-navy);
    transition: all var(--transition);
}

.resource-list a:hover {
    color: var(--color-gold);
    padding-left: 8px;
}

.resource-desc {
    display: block;
    font-size: 13px;
    color: var(--color-gray-500);
    font-weight: 400;
    margin-top: 2px;
}

/* --- Contact Section --- */
.contact {
    background: var(--color-white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
}

.contact-card {
    background: var(--color-off-white);
    border-radius: var(--radius-lg);
    padding: 32px;
    margin-bottom: 32px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--color-gray-200);
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-item svg {
    color: var(--color-gold);
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-item strong {
    display: block;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-gray-500);
    margin-bottom: 4px;
}

.contact-item a,
.contact-item span {
    font-size: 15px;
    color: var(--color-text);
}

.agent-licenses {
    padding: 24px 32px;
    background: var(--color-navy);
    border-radius: var(--radius-lg);
    color: var(--color-white);
}

.agent-licenses h4 {
    font-family: var(--font-heading);
    font-size: 18px;
    margin-bottom: 12px;
    color: var(--color-gold);
}

.agent-licenses p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 4px;
}

.brokerage-line {
    margin-top: 8px !important;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9) !important;
}

/* --- Form --- */
.contact-form {
    background: var(--color-off-white);
    padding: 40px;
    border-radius: var(--radius-lg);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-gray-700);
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    font-family: var(--font-body);
    font-size: 16px;
    border: 1px solid var(--color-gray-300);
    border-radius: var(--radius);
    background: var(--color-white);
    color: var(--color-text);
    transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-gold);
    box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.15);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-success {
    display: none;
    text-align: center;
    padding: 40px;
}

.form-success.visible {
    display: block;
}

.form-success h3 {
    font-family: var(--font-heading);
    font-size: 24px;
    color: var(--color-navy);
    margin-bottom: 8px;
}

.form-success p {
    color: var(--color-text-light);
}

/* --- Footer --- */
.footer {
    background: var(--color-navy-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 0 0;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    color: var(--color-white);
    letter-spacing: 2px;
    display: block;
    margin-bottom: 8px;
}

.footer-brokerage {
    color: var(--color-gold);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 12px;
}

.footer-tagline {
    font-size: 14px;
}

.footer-links h4,
.footer-contact-info h4 {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-white);
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    transition: color var(--transition);
}

.footer-links a:hover {
    color: var(--color-gold);
}

.footer-contact-info p {
    margin-bottom: 8px;
}

.footer-contact-info a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

.footer-contact-info a:hover {
    color: var(--color-gold);
}

.footer-address {
    margin-top: 8px;
    font-size: 13px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.45);
}

/* Compliance section */
.footer-compliance {
    padding: 40px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.compliance-logos {
    display: flex;
    gap: 32px;
    align-items: center;
    margin-bottom: 24px;
}

.compliance-img {
    filter: brightness(0) invert(1);
    opacity: 0.6;
    max-height: 28px;
    width: auto;
}

.compliance-img.compliance-img--color {
    filter: none;
    opacity: 0.85;
}

.compliance-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 11px;
    line-height: 1.3;
}

.compliance-logo svg {
    flex-shrink: 0;
}

.compliance-text {
    margin-bottom: 24px;
}

.license-info,
.brokerage-info {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 4px;
}

.license-info strong,
.brokerage-info strong {
    color: rgba(255, 255, 255, 0.7);
}

.mls-disclaimer {
    margin-bottom: 20px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius);
    border-left: 3px solid rgba(201, 168, 76, 0.3);
}

.mls-disclaimer p {
    font-size: 12px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.4);
}

.fair-housing {
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius);
    border-left: 3px solid rgba(201, 168, 76, 0.3);
}

.fair-housing p {
    font-size: 12px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.4);
}

.fair-housing strong {
    color: rgba(255, 255, 255, 0.6);
}

.footer-bottom {
    padding: 24px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.35);
}

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-pad: 70px;
    }

    /* Mobile Nav */
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--color-navy-dark);
        flex-direction: column;
        padding: 100px 32px 40px;
        gap: 4px;
        transition: right var(--transition);
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.3);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-link {
        display: block;
        padding: 12px 16px;
        font-size: 16px;
    }

    .nav-link.nav-cta {
        margin-left: 0;
        margin-top: 16px;
        text-align: center;
    }

    /* Hero */
    .hero-subtitle {
        font-size: 16px;
    }

    /* About */
    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-image-placeholder {
        aspect-ratio: 16/9;
    }

    /* Services */
    .services-grid {
        grid-template-columns: 1fr;
    }

    /* Listings */
    .home-value-cta {
        flex-direction: column;
        text-align: center;
        padding: 32px;
    }

    /* Resources */
    .resources-grid {
        grid-template-columns: 1fr;
    }

    /* Contact */
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 24px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    /* Footer */
    .footer-top {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .compliance-logos {
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    :root {
        --section-pad: 50px;
    }

    .hero-content {
        padding: 100px 16px 60px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .service-card {
        padding: 28px 24px;
    }
}
