/* Apply background image */
body {
    font-family: Arial, sans-serif;
    text-align: center;
    margin: 0;
    padding: 0;
    background-image: url('assets/images/background.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

/* Style the header box */
.navbar {
    background-color: rgba(0, 0, 0, 0.8); /* Dark background with transparency */
    padding: 20px;
    border-radius: 15px; /* Rounded box */
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    width: 90%;
    margin: 20px auto; /* Centering the navbar */
    color: white;
}

/* Navigation menu */
.navbar ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 20px; /* Spacing between buttons */
}

/* Oval buttons for navigation */
.navbar ul li {
    display: inline-block;
}

.navbar ul li a {
    text-decoration: none;
    color: white;
    background-color: #ff5733; /* Orange button */
    padding: 12px 24px;
    border-radius: 25px; /* Makes it oval */
    font-size: 18px;
    font-weight: bold;
    transition: background 0.3s ease, transform 0.2s;
    display: inline-block;
}

/* Hover effect */
.navbar ul li a:hover {
    background-color: #ff2a00; /* Darker orange */
    transform: scale(1.1); /* Slightly enlarge */
}

/* Center content */
section {
    text-align: center;
    padding: 50px 20px;
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

/* Image Gallery */
.gallery {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.work-item {
    margin: 20px 0;
}

.work-item img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}

/* Buttons */
.button {
    display: inline-block;
    background-color: #007BFF;
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    transition: background 0.3s ease, transform 0.2s;
}

.button:hover {
    background-color: #0056b3;
    transform: scale(1.1);
}

/* Email link */
.email-link {
    color: #ff5733;
    font-weight: bold;
    text-decoration: none;
}

.email-link:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    text-align: center;
    padding: 10px;
    margin-top: 20px;
    border-radius: 10px;
}

/* Mobile Styles */
@media (max-width: 768px) {
    body {
        padding: 10px;
        display: flex;
        flex-direction: column;
        align-items: center;
        background-size: cover;
        background-position: center;
    }

    header {
        width: 90%;
        padding: 15px;
        font-size: 18px;
        margin: 0;
        border-radius: 0;
    }

    .navbar {
        flex-direction: column;
        padding: 5px;
        width: 100%;
    }

    .navbar ul {
        flex-direction: column;
        text-align: center;
    }

    .navbar ul li {
        width: 100%;
    }

    .navbar ul li a {
        display: block;
        width: 80%;
        margin: auto auto;
        padding: 5px;
    }

    section {
        width: 95%;
        max-width: 100%;
        padding: 20px;
    }

    .gallery img {
        width: 100%;
        max-width: 100%;
    }

    footer {
        position: relative;
        width: 100%;
        padding: 15px;
    }
}
