/* --- VARIABLES --- */
:root {
    --primary: #ff6d00;      /* Safety Orange */
    --dark: #212121;         /* Almost Black */
    --darker: #121212;       /* Deep Black */
    --light: #f5f5f5;
    --grey: #424242;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Roboto', sans-serif;
    color: var(--dark);
    line-height: 1.6;
}

h1, h2, h3 {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- NAVBAR --- */
.navbar {
    background: var(--darker);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid var(--primary);
}

.nav-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: white;
    font-size: 1.8rem;
    font-weight: bold;
    text-decoration: none;
}
.logo i { color: var(--primary); }

.nav-links { list-style: none; display: flex; gap: 25px; }
.nav-links a { color: white; text-decoration: none; font-weight: 500; }
.nav-links a:hover { color: var(--primary); }

.btn-nav {
    background: var(--primary);
    padding: 8px 18px;
    border-radius: 2px;
    color: white !important;
}

.hamburger { display: none; cursor: pointer; font-size: 1.5rem; }

/* --- HERO --- */
.hero {
    /* Replace with a dark roof image */
    background: url('summit-roofers.webp') no-repeat center center/cover;
    height: 85vh;
    display: flex;
    align-items: center;
    position: relative;
    color: white;
}



.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero h1 { font-size: 4rem; line-height: 1.1; margin-bottom: 20px; }
.highlight { color: var(--primary); }
.hero p { font-size: 1.3rem; margin-bottom: 30px; max-width: 600px; }

.btn {
    display: inline-block;
    padding: 15px 35px;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 2px;
    transition: 0.3s;
}

.btn-primary { background: var(--primary); color: white; border: 2px solid var(--primary); }
.btn-primary:hover { background: transparent; color: var(--primary); }

.btn-outline { border: 2px solid white; color: white; margin-left: 15px; }
.btn-outline:hover { background: white; color: var(--dark); }

/* --- TRUST BAR --- */
.trust-bar { background: var(--primary); color: white; padding: 20px 0; }
.trust-grid { display: flex; justify-content: space-around; flex-wrap: wrap; text-align: center; font-weight: bold; font-family: 'Oswald', sans-serif; font-size: 1.2rem; }
.trust-item i { margin-right: 10px; color: var(--darker); }

/* --- SECTIONS --- */
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.bg-dark { background: var(--dark); color: white; }
.text-white { color: white; }

.section-header { text-align: center; margin-bottom: 50px; }
.section-header h2 { font-size: 2.5rem; }
.line { width: 80px; height: 5px; background: var(--primary); margin: 10px auto 0; }

/* --- SERVICES --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: #fff;
    padding: 40px;
    border-bottom: 4px solid var(--grey);
    transition: 0.3s;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.card:hover { border-bottom: 4px solid var(--primary); transform: translateY(-5px); }
.card-icon { font-size: 3rem; color: var(--primary); margin-bottom: 20px; }

/* --- GALLERY --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 15px;
}
.gallery-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border: 3px solid var(--grey);
    filter: grayscale(80%); /* Makes images look artistic */
    transition: 0.5s;
}
.gallery-img:hover { filter: grayscale(0%); border-color: var(--primary); }

/* --- CONTACT CTA --- */
.cta-section {
    background: linear-gradient(rgba(33,33,33,0.9), rgba(33,33,33,0.9)), url();
    background-size: cover;
    background-attachment: fixed; /* Parallax effect (Desktop) */
    text-align: center;
    padding: 100px 0;
    color: white;
}
.btn-large { font-size: 1.5rem; margin-top: 20px; }

footer { background: black; color: #888; text-align: center; padding: 40px 0; font-size: 0.9rem; }

/* --- MOBILE --- */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        background: var(--darker);
        position: absolute;
        top: 100%; left: 0; width: 100%;
        padding: 20px;
        text-align: center;
    }
    .nav-links.active { display: flex; }
    .hamburger { display: block; }
    
    .hero h1 { font-size: 2.5rem; }
    .trust-grid { flex-direction: column; gap: 15px; }
    
    /* FIX MOBILE PARALLAX */
    .cta-section { background-attachment: scroll !important; }
}