/* ==========================
   RESET
========================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
    scroll-behavior: smooth;
}


body {
    background: #f5f5f5;
    color: #333;
    line-height: 1.6;
}


/* ==========================
   CONTAINER
========================== */

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}


/* ==========================
   HEADER
========================== */

header {
    background: url("images/hero.jpg") center center / cover no-repeat;
    height: 100vh;
    position: relative;
}


header::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .65);
}


/* ==========================
   NAVIGATION
========================== */

.navbar {
    position: relative;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 60px;
}


.logo {
    color: #fff;
    font-size: 30px;
    font-weight: bold;
}


.navbar ul {
    display: flex;
    list-style: none;
    align-items: center;
}


.navbar li {
    margin-left: 15px;
}


.navbar a {
    color: #fff;
    text-decoration: none;
    font-size: 17px;
    font-weight: 600;
    letter-spacing: 1px;
    padding: 12px 22px;
    border: 2px solid transparent;
    border-radius: 6px;
    display: inline-block;
    transition: .3s ease;
    text-transform: uppercase;
    position: relative;
}


.navbar a::after {
    content: "";
    display: block;
    width: 0;
    height: 3px;
    background: #e63946;
    transition: .3s;
    margin: 5px auto 0;
}


.navbar a:hover {
    color: #fff;
    background: #e63946;
    border-color: #e63946;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(230, 57, 70, .4);
}


.navbar a:hover::after {
    width: 80%;
}
/* ==========================
   HERO
========================== */

.hero {
    position: relative;
    z-index: 2;
    height: 85vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
}


.hero h1 {
    font-size: 60px;
    margin-bottom: 20px;
}


.hero p {
    font-size: 22px;
    margin-bottom: 30px;
}


.btn {
    background: #e63946;
    color: white;
    padding: 15px 40px;
    border-radius: 5px;
    text-decoration: none;
    transition: .3s;
}


.btn:hover {
    background: #c1121f;
}


/* ==========================
   ABOUT
========================== */

.about {
    padding: 80px 0;
    background: white;
}


.about h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 36px;
}


.about p {
    max-width: 900px;
    margin: auto;
    text-align: center;
    font-size: 18px;
}


/* ==========================
   SERVICES
========================== */

.services {
    padding: 80px 0;
    background: #111;
    color: white;
}


.services h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 36px;
}


.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}


.card {
    background: #1d1d1d;
    padding: 30px;
    border-radius: 8px;
    transition: .3s;
}


.card:hover {
    transform: translateY(-10px);
    background: #262626;
}


.card h3 {
    margin-bottom: 15px;
    color: #e63946;
}


/* ==========================
   RECENT WORK GALLERY
========================== */

.images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}


.work-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    height: 300px;
}


.work-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .4s;
}


.overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 25px;
    background: linear-gradient(transparent, rgba(0, 0, 0, .9));
    color: white;
}


.overlay h3 {
    color: #e63946;
    font-size: 24px;
    margin-bottom: 5px;
}


.overlay p {
    font-size: 15px;
}


.work-item:hover img {
    transform: scale(1.1);
}




/* ==========================
   FOOTER
========================== */

footer {
    background: #111;
    color: white;
    text-align: center;
    padding: 40px 20px;
}


/* ==========================
   SOCIALS
========================== */

.socials {
    background: #111;
    color: #fff;
    text-align: center;
    padding: 80px 20px;
}


.socials h2 {
    font-size: 40px;
    margin-bottom: 15px;
}


.socials p {
    max-width: 700px;
    margin: 0 auto 40px;
    color: #ccc;
    font-size: 18px;
}


.social-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}


.social-links a {
    width: 70px;
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    text-decoration: none;
    background: #1d1d1d;
    color: #fff;
    font-size: 30px;
    transition: .3s;
}


.social-links a:hover {
    transform: translateY(-8px) scale(1.1);
    background: #e63946;
    box-shadow: 0 0 20px rgba(230, 57, 70, .6);
}


/* ==========================
   LOGO
========================== */

.logo img {
    width: 160px;
    height: auto;
    display: block;
}


/* ==========================
   RESPONSIVE
========================== */

@media (max-width: 768px) {

    .navbar {
        flex-direction: column;
    }


    .navbar ul {
        flex-direction: column;
        margin-top: 20px;
        text-align: center;
    }


    .navbar li {
        margin: 10px 0;
    }


    .hero h1 {
        font-size: 42px;
    }


    .hero p {
        font-size: 18px;
    }


    .cards {
        grid-template-columns: 1fr;
    }


    .images {
        grid-template-columns: 1fr;
    }

}

/* ==========================
   REQUEST SERVICE
========================== */

.contact {
    padding: 80px 20px;
    background: #fff;
}

.contact h2 {
    text-align: center;
    font-size: 40px;
    margin-bottom: 15px;
}

.contact form {
    max-width: 700px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact input,
.contact textarea,
.contact select {
    width: 100%;
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 16px;
}

.contact textarea {
    resize: vertical;
}

.contact button {
    background: #e63946;
    color: #fff;
    border: none;
    padding: 16px;
    border-radius: 6px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: .3s;
}

.contact button:hover {
    background: #c1121f;
}