﻿body {
    margin: 0;
    font-family: Arial, sans-serif;
    color: #333;
    line-height: 1.6
}

header {
    background: url('hero.jpg') center/cover no-repeat;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center
}

    header h1 {
        font-size: 3rem;
        margin: 0;
    }

nav {
    position: absolute;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: flex-end;
    padding: 1rem;
}

    nav a {
        color: #fff;
        margin: 0 1rem;
        text-decoration: none;
        font-weight: bold
    }

section {
    padding: 4rem 2rem;
    background: #333;
    /* color: #fff;*/
}

.services, .portfolio {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.card {
    flex: 1 1 200px;
    background: #f9f9f9;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
}

.contact {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 2rem
}

    .contact input, .contact textarea {
        width: 100%;
        padding: 0.5rem;
        margin: 0.5rem 0;
    }

.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    background: #b5651d;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    margin-top: 1rem;
}

@media (max-width:600px) {
    nav {
        justify-content: right
    }

    .services, .portfolio {
        flex-direction: column
    }
}

/* Dropdown Menu Styling */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropbtn {
    background-color: #b5651d;
    color: white;
    padding: 10px 16px;
    font-size: 16px;
    border: none;
    cursor: pointer;
    border-radius: 4px;
}

.dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    background-color: #f9f9f9;
    min-width: 200px;
    box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
    z-index: 1;
    border-radius: 4px;
    overflow: hidden;
}

    .dropdown-content a {
        color: #333;
        padding: 12px 16px;
        text-decoration: none;
        display: block;
    }

        .dropdown-content a:hover {
            background-color: #ddd;
        }

/* Show the dropdown menu when toggled */
.dropdown.show .dropdown-content {
    display: block;
}
