/* General Styling */
body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
}

header {
    background-color: #377c3b;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    height: 100px;
    margin-right: 10px;
}

h1 {
    font-weight: 600;
}

nav {
    margin-top: 10px;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 20px;
}

nav a {
    color: white;
    text-decoration: none;
    font-size: 20px;
}

nav a:hover {
    text-decoration: underline;
}

/* Hero Section with background image */
.hero {
    background-image: url('Arno.JPG');
   /* background-color: #4CAF50; /* Add a fallback color to see if the hero section is visible */ 
    background-size: cover;
    background-position: top;
    padding: 60px 20px;
    text-align: center;
    color: white;
    height: 250px;
}

.hero h2 {
    font-size: 36px;
    margin-bottom: 10px;
}

.hero p {
    font-size: 20px;
}

.services, .projects, .contact {
    padding: 40px 20px;
    text-align: center;
}

.services h2, .projects h2, .contact h2 {
    font-size: 28px;
    color: #377c3b;
}

.service-item, .project-item {
    margin-bottom: 20px;
}

.follow-projects {
    background-color: #377c3b;
    color: white;
    padding: 40px 20px;
    text-align: center;
}

.follow-projects h2 {
    font-size: 28px;
}

.social-icons a {
    color: white;
    text-decoration: none;
    margin: 0 10px;
    font-size: 20px;
}

footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 20px;
    position: relative;
    bottom: 0;
    width: 100%;
}

/* Media query for phones (up to 480px wide) */
@media (max-width: 480px) {
    body {
        font-size: 14px; /* Slightly larger base font size for better readability */
        padding: 10px;
    }

    header {
        flex-direction: column;
        align-items: center;
        padding: 10px;
    }

    .logo {
        height: 60px; /* Reduced logo size for mobile */
        margin-bottom: 10px;
    }

    nav ul {
        flex-direction: column; /* Stack navigation items vertically */
        align-items: center;
        gap: 10px; /* Reduce space between menu items */
    }

    nav a {
        font-size: 18px; /* Reduce font size slightly for mobile */
    }

    .hero {
        height: auto; 
        min-height: 200px;
        background-size: cover;
        background-position: center;
    }

    .hero h2 {
        font-size: 24px; /* Smaller heading for mobile */
    }

    .hero p {
        font-size: 16px; /* Smaller subtext for mobile */
    }

    .services, .projects, .contact {
        padding: 20px 10px; /* Reduce padding for mobile */
    }

    .services h2, .projects h2, .contact h2 {
        font-size: 22px; /* Reduce section heading size */
    }

    footer {
        padding: 15px; /* Reduce footer padding for mobile */
    }
}
