/* ---
Dallas Remodeling Group - style.css
--- */

/* --- 1. Global Imports & Variables --- */
@import url('https://fonts.googleapis.com/css2?family=Red+Hat+Display:wght@400;700&display=swap');

:root {
    --primary-bg: #ffffff;
    --primary-text: #060606;
    --accent-color: #f38226;
    --white-text: #ffffff;
    --overlay-bg: rgba(6, 6, 6, 0.6);
    --border-color: #e0e0e0;
    --footer-bg: #f8f9fa;
}

/* --- 2. Basic Reset & Typography --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Red Hat Display', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.6;
    color: var(--primary-text);
    background-color: var(--primary-bg);
}

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

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.75rem; }

p {
    margin-bottom: 1rem;
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    text-decoration: underline;
}

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

/* --- 3. Reusable Components & Layout --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    font-weight: 700;
    text-align: center;
    border-radius: 5px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--white-text);
    border-color: var(--accent-color);
}

.btn-primary:hover {
    background-color: #d16a15;
    border-color: #d16a15;
    text-decoration: none;
}

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

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

/* --- 4. Header / Navigation Bar --- */
.header {
    background-color: var(--primary-bg);
    padding: 15px 0;
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    transition: padding 0.3s ease;
}

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

/* Style for the actual site logo */
.site-logo {
    max-width: 150px; /* This is the LARGEST the logo will ever be. */
    height: auto;     /* This automatically adjusts the height to maintain the logo's proportions. */
    vertical-align: middle;
    padding-right: 20px;
     /* This helps prevent extra space below the image. */
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 25px;
}

.nav-menu a {
    color: var(--primary-text);
    font-weight: 700;
    font-size: 1rem;
}

.nav-menu a:hover {
    color: var(--accent-color);
    text-decoration: none;
}

.header-contact {
    display: flex;
    align-items: center;
    gap: 25px;
}

.phone-link {
    color: var(--primary-text);
    font-weight: 700;
}

.phone-link i {
    color: var(--accent-color);
    margin-right: 8px;
}

.phone-link:hover {
    color: var(--accent-color);
    text-decoration: none;
}

/* --- 5. Footer --- */
.footer {
    background-color: var(--footer-bg);
    color: var(--primary-text);
    padding: 60px 0 20px;
    border-top: 1px solid var(--border-color);
}

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

.footer-column h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--primary-text);
}

.footer-column p, .footer-column li {
    margin-bottom: 10px;
    font-size: 0.95rem;
}

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

.footer-column a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

.footer-social-icons a {
    margin-right: 15px;
    font-size: 1.5rem;
}

.footer-trust-logos {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
}

.trust-logo-placeholder {
    height: 40px;
    width: 80px;
    background-color: #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: #555;
}

.footer-bottom-bar {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    font-size: 0.9rem;
}

/* --- 6. Homepage Sections --- */

/* Section 1: Hero (Safety) */
.hero-section {
    color: var(--white-text);
    background: var(--overlay-bg) url('../images/header-bg.jpg') no-repeat center center/cover;
    padding: 120px 0;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80vh;
  
}

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

.hero-section h1 {
    font-size: 3.5rem;
}

.hero-section h2 {
    font-size: 1.5rem;
    font-weight: 400;
    margin: 20px 0 40px;
}

.trust-badges {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
}

.badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.badge i {
    font-size: 2.5rem;
    color: var(--accent-color);
}

.featured-testimonial {
    background-color: rgba(255, 255, 255, 0.1);
    border-left: 5px solid var(--accent-color);
    padding: 20px;
    margin: 40px auto;
    max-width: 700px;
    text-align: left;
    font-style: italic;
}

/* Section 2: Belonging */
.two-col-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.map-placeholder {
    width: 100%;
    height: 400px;
    background: #e9e9e9 url('https://via.placeholder.com/600x400/e9e9e9/f38226?text=Stylized+DFW+Map+with+Dots') no-repeat center center/contain;
    border-radius: 8px;
}

.client-photo-placeholder {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: #ccc;
    float: left;
    margin-right: 20px;
    background-image: url('https://via.placeholder.com/80x80/cccccc/060606?text=Client+Photo');
}

/* Section 3: Status */
.parallax-section {
    background: url('https://via.placeholder.com/1920x1080/cccccc/060606?text=Luxurious+Kitchen+After-Shot') no-repeat center center/cover;
    background-attachment: fixed;
    padding: 120px 0;
    color: var(--white-text);
    text-align: center;
}

.parallax-content {
    background-color: var(--overlay-bg);
    padding: 40px;
    display: inline-block;
    max-width: 800px;
    border-radius: 8px;
}

/* Section 4: Autonomy */
.moodboard-placeholder {
    width: 100%;
    height: 400px;
    background: #e9e9e9 url('https://via.placeholder.com/600x400/e9e9e9/060606?text=Collaborative+Mood+Board') no-repeat center center/cover;
    border-radius: 8px;
}

/* Section 5: Meaning */
.meaning-section {
    background: var(--overlay-bg) url('https://via.placeholder.com/1920x1080/cccccc/060606?text=Warm+and+Inviting+Living+Room') no-repeat center center/cover;
    padding: 120px 0;
    color: var(--white-text);
    text-align: center;
}

/* Section 6: Growth */
.three-col-layout {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    text-align: center;
    margin-bottom: 60px;
}

.metric-item .metric {
    font-size: 4rem;
    font-weight: 700;
    color: var(--accent-color);
}

.metric-item .label {
    font-size: 1.2rem;
    font-weight: 700;
}

.resource-section {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    align-items: center;
    background-color: var(--footer-bg);
    padding: 40px;
    border-radius: 8px;
}

.guide-mockup-placeholder {
    width: 100%;
    max-width: 250px;
    height: auto;
    background: #ccc url('https://via.placeholder.com/250x320/cccccc/060606?text=PDF+Guide+Mockup') no-repeat center center/contain;
}

/* --- 7. Responsive Design --- */
@media (max-width: 992px) {
    .header-container {
        flex-wrap: wrap;
        justify-content: center;
    }
    .nav-menu {
        order: 3;
        width: 100%;
        justify-content: center;
        margin-top: 15px;
        flex-wrap: wrap;
    }
    .header-contact {
        order: 2;
    }
    .logo-placeholder {
        order: 1;
    }
    .two-col-layout, .three-col-layout, .resource-section {
        grid-template-columns: 1fr;
    }
    .map-placeholder, .moodboard-placeholder {
        margin-top: 30px;
    }
    .resource-section {
        text-align: center;
    }
    .guide-mockup-placeholder {
        margin: 0 auto 20px;
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    .hero-section h1 { font-size: 2.8rem; }
    .trust-badges {
        flex-direction: column;
        gap: 20px;
    }
    .header-contact {
        width: 100%;
        justify-content: center;
        margin-top: 15px;
    }
    .nav-menu {
        gap: 15px;
    }
}