/* Custom Properties / Variables */
:root {
    --bg-main: #111111;
    --bg-darker: #080808;
    --bg-card: #1c1c1c;
    --text-main: #f4f4f4;
    --text-muted: #a3a3a3;
    --accent-color: #ffb703; /* Heavy-duty construction yellow/gold */
    --accent-hover: #e09f00;
    --font-main: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: var(--font-main);
    line-height: 1.6;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.bg-darker {
    background-color: var(--bg-darker);
}

.text-center {
    text-align: center;
}

.accent-text {
    color: var(--accent-color);
}

h1, h2, h3, h4 {
    margin-bottom: 20px;
    line-height: 1.2;
}

h2 {
    font-size: 2.5rem;
}

p {
    color: var(--text-muted);
    margin-bottom: 15px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background-color: var(--accent-color);
    color: #000; /* Dark text for contrast against yellow */
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 183, 3, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
    text-align: center;
}

.btn-secondary:hover {
    background-color: var(--accent-color);
    color: #000;
    transform: translateY(-2px);
}

.btn-block {
    display: block;
    width: 100%;
    margin-bottom: 15px;
}

/* Navigation */
.navbar {
    background-color: rgba(17, 17, 17, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid #2a2a2a;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    font-size: 1.8rem;
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--accent-color);
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger .line {
    width: 25px;
    height: 3px;
    background-color: var(--text-main);
    margin: 5px;
    transition: all 0.3s;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: url('images/VibeVetted_construction_residential_build_\ image.webp') center/cover no-repeat;
    margin-top: 0;
    padding-top: 70px;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(90deg, rgba(5,5,5,0.95) 0%, rgba(5,5,5,0.7) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero h1 {
    font-size: 4rem;
    text-shadow: 0 4px 10px rgba(0,0,0,0.8);
    font-weight: 800;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #e0e0e0;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

/* Grid Layouts */
.grid-layout {
    display: grid;
    gap: 30px;
    margin-top: 40px;
}

/* About */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-image img {
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.6);
    border-left: 6px solid var(--accent-color);
}

/* Services */
.services-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.card {
    background-color: var(--bg-card);
    padding: 35px 25px;
    border-radius: 4px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-bottom: 4px solid transparent;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.5);
    border-bottom: 4px solid var(--accent-color);
}

.icon-placeholder {
    font-size: 3rem;
    margin-bottom: 20px;
}

/* Why Us */
.features-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.feature-item {
    text-align: center;
    padding: 20px;
    background-color: var(--bg-card);
    border-radius: 4px;
}

.feature-item .icon-placeholder {
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
    background-color: rgba(255, 183, 3, 0.1);
    color: var(--accent-color);
    margin: 0 auto 20px auto;
    font-size: 2.5rem;
}

/* Our Work */
.work-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.work-img-wrapper {
    overflow: hidden;
    border-radius: 4px;
    border: 2px solid #2a2a2a;
}

.work-img-wrapper img {
    width: 100%;
    transition: transform 0.5s ease;
    opacity: 0.85;
}

.work-img-wrapper:hover img {
    transform: scale(1.05);
    opacity: 1;
}

/* Contact */
.contact-container {
    max-width: 800px;
}

.contact-subtitle {
    margin-bottom: 40px;
}

.contact-info-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--bg-card);
    padding: 40px;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border-top: 5px solid var(--accent-color);
}

.contact-details p {
    margin-bottom: 20px;
    color: var(--text-main);
}

.contact-details p strong {
    color: var(--accent-color);
}

.contact-actions {
    min-width: 250px;
}

/* Footer */
footer {
    background-color: #030303;
    padding: 60px 0 20px;
    border-top: 1px solid #1a1a1a;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-brand h3 {
    text-transform: uppercase;
    font-weight: 900;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    margin-left: 20px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #1a1a1a;
    padding-top: 20px;
    color: #555;
    font-size: 0.9rem;
}

/* Mobile Responsiveness */
@media screen and (max-width: 900px) {
    .about-container, .contact-info-wrapper {
        grid-template-columns: 1fr;
        flex-direction: column;
        text-align: center;
    }
    
    .contact-actions {
        width: 100%;
        margin-top: 30px;
    }
}

@media screen and (max-width: 768px) {
    .nav-links {
        position: absolute;
        right: 0px;
        top: 70px;
        height: calc(100vh - 70px);
        background-color: rgba(17, 17, 17, 0.98);
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        transform: translateX(100%);
        transition: transform 0.4s ease-in;
    }

    .nav-links.nav-active {
        transform: translateX(0%);
    }

    .hamburger {
        display: block;
    }

    .hero h1 {
        margin-top: 1rem;
        font-size: 2.8rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links a {
        display: block;
        margin: 10px 0;
    }
}

@media screen and (max-width: 400px) {
    
    .contact-actions .btn {
        white-space: normal; 
        word-break: break-word; 
        overflow-wrap: break-word;
        font-size: 0.9rem; 
        padding: 12px 10px; 
        line-height: 1.4; 
        height: auto; 
        margin-bottom: 15px; 
    }
}