/* CSS Variables for consistent theming */
:root {
    --primary-color: #004d4d; /* Dark Teal for better contrast with the logo */
    --secondary-color: #3cb371; /* Medium Sea Green */
    --background-color: #f5fff5; /* Mint Cream for a soft green background */
    --text-color: #202124; /* Dark gray for headings */
    --body-text-color: #5f6368; /* Body text */
    --font-family: 'Roboto', 'Open Sans', sans-serif;
}

/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-image: url('/workspaces/VARoadstter.github.io/assets/background_image.jpg');
    background-repeat: no-repeat;
    background-size: cover;
}

body {
    font-family: var(--font-family);
    background-color: var(--background-color);
    color: var(--body-text-color);
    line-height: 1.6;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem; /* Adjust padding for better proportions */
    background-color: rgba(0, 77, 77, 0.9); /* Add slight transparency */
    color: white;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px); /* Add a blur effect for a modern look */
}

/* Logo Styling */
.logo {
    display: flex;
    align-items: center; /* Center the logo vertically */
    font-size: 2.5rem; /* Restore original font size */
    font-weight: bold;
    position: relative; /* Keep the logo within the header flow */
    height: auto; /* Allow the height to adjust dynamically */
}

.logo-image {
    height: 150px; /* Reduce logo size for better balance */
    width: auto;
    margin-right: 1rem; /* Add spacing between the logo image and text */
}

header .logo {
    font-size: 3rem;
    font-weight: bold;
}

/* Navigation Menu */
header nav ul {
    list-style: none;
    display: flex;
    gap: 2rem; /* Increase spacing between menu items */
}

header nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease; /* Smooth transition for hover effect */
}

header nav ul li a:hover {
    color: var(--secondary-color); /* Change color on hover */
}

nav {
    z-index: 5; /* Ensure the nav appears above other elements */
    position: relative; /* Ensure proper stacking context */
}

/* Hero Section */
#hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 8rem 2rem; /* Increase padding for better spacing */
    background-color: var(--primary-color);
    color: white;
    background-image: linear-gradient(
            rgba(0, 0, 0, 0.5),
            rgba(0, 0, 0, 0.5)
        ), 
        url('../assets/background_image.jpg'); /* Add a dark overlay for better text readability */
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

#hero h1 {
    font-size: 3.5rem; /* Increase font size for better emphasis */
    margin-bottom: 1.5rem;
    color: var(--secondary-color); /* Use secondary color for the heading */
}

#hero p {
    font-size: 1.5rem; /* Increase font size for readability */
    margin-bottom: 2.5rem;
    max-width: 800px; /* Limit width for better readability */
    line-height: 1.8;
}

.cta-button {
    display: inline-block;
    padding: 1.2rem 2.5rem; /* Increase button padding for better proportions */
    background-color: var(--secondary-color);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.cta-button:hover {
    background-color: #2e8b57; /* Darken the button on hover */
    transform: scale(1.05); /* Slightly enlarge the button on hover */
}

/* Features Section */
#features {
    padding: 4rem 2rem;
    background-color: var(--background-color);
    color: var(--text-color);
}

#features h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

#features ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}

#features ul li {
    background-color: white;
    border: 1px solid var(--primary-color);
    border-radius: 8px;
    padding: 1rem;
    width: 250px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#features ul li:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

#features ul li strong {
    display: block;
    margin-top: 0.5rem;
    color: var(--secondary-color);
}

/* Contact Section */
#contact {
    padding: 4rem 2rem;
    background-color: var(--background-color);
    color: var(--text-color);
    text-align: center;
}

#contact h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

#contact p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

#contact form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

#contact form input,
#contact form textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--primary-color);
    border-radius: 5px;
    font-size: 1rem;
    font-family: var(--font-family);
}

#contact form textarea {
    resize: vertical;
    min-height: 150px;
}

#contact form button {
    padding: 1rem 2rem;
    background-color: var(--secondary-color);
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

#contact form button:hover {
    background-color: #2e8b57; /* Darken the button on hover */
    transform: scale(1.05); /* Slightly enlarge the button on hover */
}

/* Portfolio Section */
#portfolio {
    padding: 4rem 2rem;
    text-align: center;
    background-color: var(--background-color);
    color: var(--text-color);
}

#portfolio .gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

#portfolio .gallery a {
    text-decoration: none;
    color: var(--text-color);
    max-width: 300px;
    text-align: center;
}

#portfolio .gallery img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#portfolio .gallery img:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

#portfolio .gallery p {
    margin-top: 0.5rem;
    font-size: 1rem;
    font-weight: bold;
}

/* Footer */
footer {
    text-align: center;
    padding: 1rem;
    background-color: var(--primary-color);
    color: white;
}

footer .social-media a {
    color: white;
    margin: 0 0.5rem;
    text-decoration: none;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        align-items: flex-start;
    }

    nav ul {
        display: none; /* Hide menu by default */
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }

    nav ul.active {
        display: flex; /* Show menu when active */
    }

    .hamburger {
        display: block;
        cursor: pointer;
        font-size: 1.5rem;
        color: white;
    }
}

.content-section {
    padding: 2rem; /* Adjust the padding value as needed */
}