/* ===== DDL Home Improvement ===== */
/* Part 1 */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f5f5f5;
    color: #333;
    line-height: 1.6;
}

/* HEADER */

.header {
    background: #111;
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,.2);
}

.navbar {
    max-width: 1200px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 24px;
}

.logo img {
    width: 120px;
    height: auto;
    display: block;
}
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 28px;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: .3s;
}

.nav-links a:hover {
    color: #d4af37;
}

/* HERO */

.hero {
    background: linear-gradient(rgba(0,0,0,.65), rgba(0,0,0,.65));
    color: white;
    text-align: center;
    padding: 120px 20px 100px;
}

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

.hero h1 {
    font-size: 3.4rem;
    margin-bottom: 15px;
}

.hero h2 {
    font-size: 2rem;
    color: #d4af37;
    margin-bottom: 25px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 35px;
}

.btn,
.button,
.cta-button {
    display: inline-block;
    padding: 15px 34px;
    background: #d4af37;
    color: #111;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
    transition: .3s;
}

.btn:hover,
.button:hover,
.cta-button:hover {
    background: white;
 /* ===== SERVICES ===== */

section {
    padding: 80px 20px;
}

.container {
    max-width: 1200px;
    margin: auto;
}

section h2 {
    text-align: center;
    font-size: 2.4rem;
    margin-bottom: 50px;
    color: #111;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.service-card,
.card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0,0,0,.08);
    transition: .3s;
}

.service-card:hover,
.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,.15);
}

.service-card h3,
.card h3 {
    margin-bottom: 15px;
    color: #111;
    font-size: 1.5rem;
}

.service-card p,
.card p {
    color: #555;
}

/* ===== ABOUT ===== */

.about {
    background: white;
}

.about-content {
    max-width: 900px;
    margin: auto;
    text-align: center;
}

.about-content p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 20px;
}

/* ===== GALLERY ===== */

.gallery {
    background: #f8f8f8;
}

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

.gallery-grid img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 6px 16px rgba(0,0,0,.15);
    transition: .3s;
}

.gallery-grid img:hover {
    transform: scale(1.03);
}   
}/* ===== REVIEWS ===== */

.reviews {
    background: #ffffff;
}

.review-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px,1fr));
    gap: 25px;
}

.review {
    background: #f8f8f8;
    padding: 25px;
    border-left: 5px solid #d4af37;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,.08);
}

.review h4 {
    margin-top: 15px;
    color: #111;
}

/* ===== CONTACT ===== */

.contact {
    background: #111;
    color: white;
    text-align: center;
}

.contact h2 {
    color: white;
}

.contact p {
    margin: 12px 0;
    font-size: 1.1rem;
}

.contact a {
    color: #d4af37;
    text-decoration: none;
}

.contact a:hover {
    color: white;
}

/* ===== FOOTER ===== */

footer {
    background: #000;
    color: #bbb;
    text-align: center;
    padding: 25px;
    font-size: .9rem;
}

/* ===== IMAGES ===== */

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

/* ===== RESPONSIVE ===== */

@media (max-width: 768px) {

    .navbar {
        flex-direction: column;
        gap: 15px;
        padding: 20px;
    }

    .nav-links {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .hero {
        padding: 80px 20px;
    }

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

    .hero h2 {
        font-size: 1.5rem;
    }

    section {
        padding: 60px 20px;
    }
}
