/* Style for index.html */


/* HERO STYLE */
.hero {
    position: relative;
    min-height: 650px;
    

    background-image: url("/images/kitchen.jpg");
    background-size: cover;
    background-position: center;

    display: flex;
    align-items: center;
    
}

.hero-overlay {
    position: absolute;

    inset: 0;

    background-color: rgba(0, 0, 0, 0.48);
}

.hero-content {
    position: relative;
    z-index: 1;

    width: 100%;
    max-width: 1200px;

    margin: auto;
    padding: 0 7%;

    color: white;

}

.hero-content h1 {
    font-size: 64px;
    margin-bottom: 15px;
    max-width: 700px;
}

.hero-content p {
    font-size: 22px;
    margin-bottom: 35px;
    max-width: 600px;
    line-height: 1.5;
}

/* SMALL SCREEN HERO */
@media (max-width: 700px) {
    .nabar { 
        flex-direction: column;
        gap: 15px;
    }
    nav {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
    .hero {
        height: 500px;
    }
    .hero-content h1 {
        font-size: 40px;
    }
    .hero-content p {
        font-size: 18px;
    }
}


/* BUTTON STYLES */
.estimate-button {
    display: inline-block;


    background-color: #e9783d;
    color: white;

    padding: 16px 30px;

    text-decoration: none;
    font-size: 18px;
    font-weight: bold;

    border-radius: 5px;
}

.estimate-button:hover {
    background-color: #565656;
}


/* SERVICES */
.services {
    padding: 90px 7%;
    background-color: #f7f7f7;
}

.services-header {
    text-align: center;
    margin-bottom: 50px;
}

.services-header h2 {
    font-size: 42px;
    margin-bottom: 12px;
}

.services-header p {
    font-size: 18px;
    color: #666;
}

.services-grid {
    max-width: 1200px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;

    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.10);
}

.service-card img {
    width: 100%;
    height: 240px;

    object-fit: cover;
    display: block;
}

.service-card-content {
    padding: 28px;
}

.service-card-content h3 {
    font-size: 24px;
    margin-bottom: 14px;
}

.service-card-content p {
    color: #666;

    font-size: 16px;
    line-height: 1.6;

    margin-bottom: 22px;
}

.service-card-content a {
    color: #ff8445;

    font-weight: bold;
    text-decoration: none;
}

.service-card-content a:hover {
    text-decoration: underline;
}


/* SMALL SCREEN SERVICES */

@media (max-width: 800px) {

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

    .services {
        padding: 60px 6%;
    }

    .services-header h2 {
        font-size: 34px;
    }
}


/* PROJECTS */
.projects {
    padding: 90px 7%;
    margin-top: 70px;
    background-color: white;

}

.projects-header {
    text-align: center;
    margin-bottom: 50px;
}

.projects-header h2 {
    font-size: 42px;
    margin-bottom: 12px;
}

.projects-header p {
    font-size: 18px;
    color: #666;
}

.projects-grid {
    max-width: 1200px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.project-card {
    background-color: #f7f7f7;
    border-radius: 8px;
    overflow: hidden;

    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.10);

    transition: transform 0.2s ease;
}

.project-card:hover {
    transform: translateY(-5px);
}

.project-card img {
    width: 100%;
    height: 280px;

    object-fit: cover;
    display: block;
}

.project-info { 
    padding: 24px;
}

.project-info h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.project-info p {
    color: #666;
    line-height: 1.6;
}

.projects-more {
    max-width:1200px;
    margin: 35px auto 0;
    margin-top: 50;
    display: flex;
    justify-content: center;
    align-items: center;
    /* transform: translateX(1200px); */
}

.projects-button {
    display: inline-block;
    padding: 14px 24px;

    background-color: #ff8445;
    color: white;


    text-decoration: none;
    font-size: 18px;
    font-weight: bold;

    border-radius: 5px;
    transition: 0.2s ease;
}

.projects-button:hover {
    background-color: #565656;
}

/* SMALL SCREEN PROJECTS */
@media (max-width: 800px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }
}