/* ====================
   RESET & VARIABLES
   ==================== */
:root {
    --primary-color: #F4C229;
    --primary-hover: #DAAE1F;
    --secondary-color: #1A1A1A;
    --bg-light: #F9F6ED;
    --bg-taupe: #E9E6DB;
    --bg-white: #FFFFFF;
    --accent-blue: #26547C;
    --text-color: #1A1A1A;

    --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    --container-width: 1200px;
    --header-height: 80px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-height) + 2rem);
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--bg-white);
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

/* ====================
   TYPOGRAPHY
   ==================== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

/* ====================
   UTILITIES
   ==================== */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

.section {
    padding: var(--spacing-lg) 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    border-radius: 6px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    line-height: 1.2;
}

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

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

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

.section-title {
    text-align: center;
    margin-bottom: var(--spacing-sm);
}

.section-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--spacing-md);
    color: #555;
}

/* ====================
   HEADER & NAV
   ==================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: var(--secondary-color);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--secondary-color);
    display: flex;
    align-items: center;
}

.logo img {
    height: 120px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--primary-color);
}

.nav-links a:hover {
    color: var(--primary-hover);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
}

/* ====================
   HERO SECTION
   ==================== */
.hero {
    padding-top: calc(var(--header-height) + var(--spacing-lg));
    padding-bottom: var(--spacing-lg);
    background-color: var(--bg-white);
    overflow: hidden;
    position: relative;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
    align-items: center;
    position: relative;
    /* Keep content above 3D */
    z-index: 1;
}

.hero-content {
    max-width: 600px;
}

.subheadline {
    font-size: 1.125rem;
    color: #555;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.hero-visual {
    position: relative;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    background-color: var(--bg-taupe);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.hero-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.fallback-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #888;
    background-color: var(--bg-taupe);
}

/* ====================
   MLS LISTINGS
   ==================== */
#listings {
    border-top: 1px solid #e0e0e0;
    position: relative;
}

#listings::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background-color: var(--primary-color);
}

.listings-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto 2rem;
}

.listings-image {
    width: 244px;
    height: 244px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    flex-shrink: 0;
}

.section-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--spacing-md);
    color: #555;
    font-size: 1.1rem;
}

.listings-header .section-intro {
    text-align: left;
    margin: 0;
}

@media (max-width: 900px) {
    .listings-header {
        flex-direction: column;
        text-align: center;
    }

    .listings-header .section-intro {
        text-align: center;
    }
}

.mls-container {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.mls-iframe {
    width: 100%;
    height: 600px;
    border: none;
}

.mls-note {
    text-align: center;
    font-size: 0.875rem;
    color: #777;
    margin-top: 1rem;
}



/* ====================
   GALLERY SECTION
   ==================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.gallery-item {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
    aspect-ratio: 3/2;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-action {
    text-align: center;
    margin-top: 4rem;
}

/* ====================
   LAMCO SECTION
   ==================== */
#lamco {
    text-align: center;
}

#lamco > div > div.lamco-content > div.lamco-action > a{
    margin-top: 20px
}

.lamco-header {
    max-width: 800px;
    margin: 0 auto 3rem;
}

.lamco-logo {
    max-width: 300px;
    height: auto;
    margin: 0 auto 1rem;
    filter: invert(1);
}

.lamco-description {
    max-width: 800px;
    margin: 0 auto 3rem;
    color: #555;
}

.lamco-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.lamco-feature {
    background-color: var(--bg-white);
    padding: 2rem 1rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.lamco-feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.feature-number {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.feature-text {
    font-weight: 600;
    color: var(--secondary-color);
}

.lamco-action {
    margin-top: 2rem;
}

.lamco-note {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #777;
}

/* Responsive */
@media (max-width: 900px) {
    .lamco-features {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .lamco-features {
        grid-template-columns: 1fr;
    }
}

/* ====================
   ABOUT SECTION
   ==================== */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
    position: relative;
}

.about-image {
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.about-content {
    background-color: var(--bg-white);
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    margin-left: -50px;
    /* Overlap effect */
    position: relative;
    z-index: 2;
}

.headshot {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    object-fit: contain;
    border: 4px solid var(--primary-color);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    background-color: #DDDDDD;
    /* Changed background to #DDDDDD */
}

.about-list {
    margin-top: 1.5rem;
    padding-left: 1.25rem;
}

.about-list li {
    margin-bottom: 0.5rem;
    position: relative;
    list-style-type: disc;
    color: var(--secondary-color);
}

/* ====================
   CONTACT SECTION
   ==================== */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
}

.contact-methods {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
}

.contact-method .icon {
    font-size: 1.25rem;
}

.contact-map {
    margin-top: 2rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.business-hours {
    margin-top: 2rem;
    padding: 1.5rem;
    background-color: var(--bg-taupe);
    border-radius: 8px;
}

.business-hours h3 {
    font-size: 1.125rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.business-hours ul {
    list-style: none;
    padding: 0;
}

.business-hours li {
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
}

.contact-form {
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.privacy-note {
    font-size: 0.8rem;
    color: #888;
    margin-top: 1rem;
    text-align: center;
}

.form-success {
    margin-top: 1rem;
    padding: 1rem;
    background-color: #d4edda;
    color: #155724;
    border-radius: 4px;
    text-align: center;
    font-weight: 500;
}

.hidden {
    display: none;
}

/* ====================
   GO-GETTER SECTION
   ==================== */

#go-getter {
    background-color: var(--bg-light);
}

video.go-getter-video {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15) !important;
}
.go-getter-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.go-getter-content {
    text-align: left;
}

.go-getter-body {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
    margin-top: 1.5rem;
}

.go-getter-video-wrapper {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.go-getter-video {
    width: 600px;
    height: 400px;
    object-fit: cover;
    display: block;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* Responsive */
@media (max-width: 900px) {
    .go-getter-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .go-getter-content {
        text-align: center;
    }
}

/* ====================
   MAP SECTION
   ==================== */
.map-container {
    margin-top: 3rem;
}

.map-title {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.map-wrapper {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.google-map {
    width: 100%;
    height: 450px;
    border: none;
}

/* ====================
   TESTIMONIALS
   ==================== */
#testimonials {
    text-align: center;
    overflow: hidden;
}

.testimonial-slider {
    display: grid;
    grid-template-areas: "slide";
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
    min-height: 250px;
}

.testimonial-slide {
    grid-area: slide;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.testimonial-slide.active {
    opacity: 1;
    z-index: 1;
}

.stars {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    color: #555;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.testimonial-author {
    font-weight: 700;
    color: var(--secondary-color);
}

/* ====================
   FOOTER
   ==================== */
.footer {
    background-color: var(--secondary-color);
    color: #fff;
    padding: 3rem 0;
    text-align: center;
}

.footer-links {
    margin: 1.5rem 0;
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.footer-links a {
    color: #ccc;
    font-size: 0.9rem;
}

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

.disclaimer {
    font-size: 0.75rem;
    color: #777;
    margin-top: 2rem;
}

/* ====================
   RESPONSIVE
   ==================== */
@media (max-width: 900px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        margin: 0 auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .about-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-image {
        margin-bottom: 1rem;
    }

    .about-content {
        margin-left: 0;
        padding: 2rem;
    }

    .about-list {
        list-style: none;
        padding-left: 0;
    }

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

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    .logo img {
        height: 90px;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background-color: var(--secondary-color);
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
        text-align: center;
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
    }

    .mobile-menu-btn.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

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

    .mobile-menu-btn.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}