/* ==== GLOBAL SETUP & FONT/ICON IMPORTS ==== */
@import url('https://fonts.googleapis.com/css2?family=Red+Hat+Display:wght@400;700;900&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css');

:root {
    --bg-primary: #ffffff;
    --text-dark: #030608;
    --accent-primary: #660066;
    --font-main: 'Red Hat Display', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-primary);
    color: var(--text-dark);
    line-height: 1.6;
    font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3.5rem; font-weight: 900; }
h2 { font-size: 2.5rem; font-weight: 900; }
h3 { font-size: 1.75rem; }
p { margin-bottom: 1rem; }
a { color: var(--accent-primary); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; }

/* ==== UTILITY CLASSES ==== */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.section {
    padding: 6rem 0;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
}

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

.btn-primary:hover {
    background-color: #4d004d;
    text-decoration: none;
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-dark);
    border-color: var(--text-dark);
}

.btn-secondary:hover {
    background-color: var(--text-dark);
    color: var(--bg-primary);
    text-decoration: none;
}

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

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

.text-center {
    text-align: center;
}

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

/* ==== PLACEHOLDER STYLES ==== */
.placeholder-image, .placeholder-logo, .placeholder-headshot, .placeholder-map, .placeholder-affiliation {
    background-color: #e0e0e0;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #555;
    font-weight: 700;
    text-align: center;
    border: 2px dashed #ccc;
}
.placeholder-image { width: 100%; height: 300px; }
.placeholder-logo { width: 200px; height: 50px; }
.placeholder-headshot { width: 150px; height: 150px; border-radius: 50%; }
.placeholder-map { width: 100%; height: 450px; }
.placeholder-affiliation { width: 80px; height: 40px; }

/* ==== HEADER & NAVIGATION ==== */
.header {
    background-color: var(--bg-primary);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

.top-bar {
    background-color: var(--text-dark);
    color: var(--bg-primary);
    padding: 0.5rem 0;
    font-size: 0.9rem;
    text-align: center;
}

.top-bar .container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-links a {
    color: var(--text-dark);
    font-weight: 700;
    text-decoration: none;
    padding-bottom: 5px;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s ease;
}

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

.nav-cta {
    margin-left: 2rem;
}

.hamburger {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
}

/* ==== FOOTER ==== */
.footer {
    background-color: var(--text-dark);
    color: var(--bg-primary);
    padding: 4rem 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-col h4 {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    color: var(--bg-primary);
}

.footer-col p, .footer-col li {
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col a {
    color: #ccc;
    text-decoration: none;
}

.footer-col a:hover {
    color: var(--bg-primary);
    text-decoration: underline;
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-icons a {
    font-size: 1.5rem;
}

.affiliation-logos {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-top: 1rem;
}

.footer-bottom-bar {
    border-top: 1px solid #444;
    padding: 1.5rem 0;
    text-align: center;
    font-size: 0.9rem;
    color: #ccc;
}

.footer-bottom-bar a {
    color: #ccc;
}

/* ==== HOMEPAGE - SECTION 1: HERO ==== */
.hero {
    height: calc(100vh - 5px); /* Adjust based on header height */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--bg-primary);
    position: relative;
    padding: 0 2rem;
    background: url('https://images.pexels.com/photos/7045920/pexels-photo-7045920.jpeg') no-repeat center center/cover;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(3, 6, 8, 0.6);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero h1 {
    font-size: 4rem;
}

.hero h2 {
    font-size: 1.5rem;
    font-weight: 400;
    margin: 1.5rem 0 2.5rem;
}

.trust-bar {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 10px;
    backdrop-filter: blur(5px);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
}

.trust-item i {
    font-size: 1.5rem;
    color: var(--bg-primary);
}

/* ==== HOMEPAGE - SECTION 2: SOCIAL PROOF ==== */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.review-card {
    background-color: #f9f9f9;
    border: 1px solid #eee;
    padding: 2rem;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
}

.review-card .stars {
    color: #f39c12;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.review-card blockquote {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.reviewer {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 700;
}

.reviewer-initials {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--accent-primary);
    color: var(--bg-primary);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
}

/* ==== HOMEPAGE - SECTION 3: STATUS ==== */
.status-section {
    background: url('https://via.placeholder.com/1920x1080/444/fff?text=Luxurious+Home+Exterior') no-repeat center center/cover;
    position: relative;
    color: var(--bg-primary);
}

.status-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(3, 6, 8, 0.85);
}

.status-section .container {
    position: relative;
    z-index: 2;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.project-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    height: 350px;
}

.project-item .placeholder-image {
    height: 100%;
}

.project-item-title {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(3, 6, 8, 0.9), transparent);
    color: var(--bg-primary);
    padding: 2rem 1.5rem 1.5rem;
    transform: translateY(100%);
    transition: transform 0.4s ease-in-out;
    font-weight: 700;
    font-size: 1.2rem;
}

.project-item:hover .project-item-title {
    transform: translateY(0);
}

/* ==== HOMEPAGE - SECTION 4: CONTROL ==== */
.process-timeline {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    margin-top: 4rem;
    position: relative;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 10%;
    width: 80%;
    height: 2px;
    background-color: #ddd;
    z-index: -1;
}

.process-step {
    flex: 1;
    text-align: center;
    max-width: 250px;
}

.process-step .icon {
    width: 80px;
    height: 80px;
    background-color: var(--accent-primary);
    color: var(--bg-primary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.5rem;
    margin: 0 auto 1.5rem;
    border: 5px solid var(--bg-primary);
    box-shadow: 0 0 0 2px var(--accent-primary);
}

.process-step h4 {
    font-size: 1.2rem;
    font-weight: 900;
}

/* ==== HOMEPAGE - SECTION 5: MEANING ==== */
.ba-slider-container {
    max-width: 900px;
    margin: 3rem auto 0;
    position: relative;
}

.ba-slide {
    display: none;
}

.ba-slide.active {
    display: block;
}

.ba-slide .placeholder-image {
    height: 500px;
    border-radius: 8px;
}

.ba-slide figcaption {
    text-align: center;
    font-style: italic;
    margin-top: 1rem;
    font-weight: 700;
}

.ba-slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 1rem;
}

.ba-slider-nav button {
    background-color: rgba(3, 6, 8, 0.5);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

.ba-slider-nav button:hover {
    background-color: var(--accent-primary);
}

/* ==== HOMEPAGE - SECTION 6: AUTHORITY ==== */
.guides-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.guide-card {
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.guide-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.guide-card .placeholder-image {
    height: 200px;
    border-radius: 0;
    border: none;
}

.guide-card-content {
    padding: 1.5rem;
}

.guide-card-content h4 {
    font-size: 1.3rem;
}

/* ==== GENERIC PAGE HEADER ==== */
.page-header {
    background-color: var(--text-dark);
    color: var(--bg-primary);
    padding: 5rem 0;
    text-align: center;
}

.page-header h1 {
    font-size: 3.5rem;
}

/* ==== DEDICATED PAGE SPECIFIC STYLES ==== */
.content-section {
    padding: 4rem 0;
    border-bottom: 1px solid #eee;
}

.content-section:last-child {
    border-bottom: none;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.team-member {
    text-align: center;
}

.team-member h4 {
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.faq-item {
    border-bottom: 1px solid #ddd;
    padding: 1.5rem 0;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    font-weight: 700;
    font-size: 1.2rem;
}

.filter-bar {
    margin-bottom: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}

.filter-bar button {
    background: #f0f0f0;
    border: 1px solid #ddd;
    padding: 8px 16px;
    cursor: pointer;
    border-radius: 20px;
    transition: all 0.3s;
}

.filter-bar button.active {
    background-color: var(--accent-primary);
    color: white;
    border-color: var(--accent-primary);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
}

.gallery-item .placeholder-image {
    height: 250px;
    transition: transform 0.3s;
}

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

.gallery-item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(3, 6, 8, 0.7);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s;
    padding: 1rem;
}

.gallery-item:hover .gallery-item-overlay {
    opacity: 1;
}

.process-breakdown {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.lead-magnet-banner {
    background-color: #f4f0f4;
    padding: 3rem;
    text-align: center;
    border-radius: 8px;
    margin-bottom: 3rem;
}

/* ==== RESPONSIVE DESIGN ==== */
@media (max-width: 1024px) {
    h1 { font-size: 2.8rem; }
    .hero h1 { font-size: 3rem; }
    h2 { font-size: 2rem; }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: var(--text-dark);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.5s ease-in-out;
        box-shadow: -5px 0 15px rgba(0,0,0,0.2);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        color: var(--bg-primary);
        font-size: 1.2rem;
    }

    .nav-cta {
        margin-left: 0;
        margin-top: 2rem;
    }

    .hamburger {
        display: block;
        z-index: 1001; /* Above the nav links */
    }
    
    .hamburger.is-active {
        position: fixed;
        right: 5%; /* Match container padding */
    }

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

    .process-timeline {
        flex-direction: column;
        align-items: center;
        gap: 3rem;
    }
    .process-timeline::before {
        display: none;
    }
}

@media (max-width: 768px) {
    .section { padding: 4rem 0; }
    h1 { font-size: 2.2rem; }
    .hero h1 { font-size: 2.5rem; }
    h2 { font-size: 1.8rem; }

    .top-bar .container {
        flex-direction: column;
        gap: 0.5rem;
    }

    .hero {
        height: auto;
        min-height: 90vh;
        padding: 4rem 1rem;
    }

    .trust-bar {
        flex-direction: column;
        gap: 1.5rem;
        padding: 1rem;
    }

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

    .footer-col .placeholder-logo, .social-icons, .affiliation-logos {
        justify-content: center;
        margin-left: auto;
        margin-right: auto;
    }

    .process-breakdown {
        grid-template-columns: 1fr;
    }
}
/* ==== LOGO SIZING ==== */
.logo-img {
    max-height: 100px; /* Adjust this value to make your logo taller or shorter */
    width: auto;      /* This keeps the logo from stretching */
    display: block; 
    padding-right: 40px;  /* Helps with alignment */
}