/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #121212;
    color: #F5F5F5;
    line-height: 1.6;
    scroll-behavior: smooth;
}

a {
    color: #FF7F00;
    text-decoration: none;
}

a:hover {
    color: #F5F5F5;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: #1A1A1A;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-logo {
    width: 40px; /* Adjust the width of your logo */
    position: absolute;
    left: 20px; /* Keeps logo on the left side */
    top: 50%;
    transform: translateY(-50%); /* Vertically centers the logo */
}

.nav-links {
    list-style: none;
    display: flex;
    justify-content: flex-end; /* Aligns the nav menu to the right */
    position: relative; /* Allows absolute positioning for the logo */
    width: 100%; /* Makes sure the nav spans the full width */
}

.nav-links li {
    margin-right: 20px;
    display: flex;
    justify-content: flex-end;
}

.hamburger-menu {
    display: none;
    cursor: pointer;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hamburger-menu {
        display: block;
        font-size: 2em;
        color: #FF7F00;
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        background-color: #1A1A1A;
        position: absolute;
        top: 60px;
        right: 0;
        width: 100%;
        padding: 20px;
    }

    .nav-links li {
        margin: 10px 0;
        text-align: center;
    }
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: 
        linear-gradient(rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.80)), /* Dark overlay to keep text readable */
        url('Images/background.png') no-repeat center center/cover; /* Background image */
    background-size: cover;
    background-attachment: fixed;
    position: relative;
    text-align: center;
    padding: 0 20px;
    color: #F5F5F5;
}

.hero-logo {
    width: 150px;
    height: auto;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 3em;
    margin-bottom: 10px;
}

.hero p {
    font-size: 1.5em;
    color: #FF7F00;
    margin-bottom: 20px;
}

.cta {
    padding: 10px 20px;
    background-color: #FF7F00;
    color: #F5F5F5;
    border: none;
    cursor: pointer;
    font-size: 1.2em;
}

.cta:hover {
    background-color: #F5F5F5;
    color: #FF7F00;
}

/* Portfolio Section */
.portfolio {
    padding: 50px 20px;
    text-align: center;
}

.portfolio h2 {
    font-size: 2.5em;
    color: #FF7F00;
    margin-bottom: 30px;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.portfolio-item {
    position: relative;
}

.portfolio-item img {
    width: 100%;
    height: auto;
}

.portfolio-item .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    color: #F5F5F5;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-item:hover .overlay {
    opacity: 1;
}

/* About Section */
.about {
    padding: 50px 20px;
    text-align: center;
    background: 
        linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), /* Dark overlay */
        url('Images/background.png') no-repeat center center/cover; /* Background image */
    background-size: cover;
    background-attachment: fixed;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh; /* Ensures the section fills the screen height */
    color: #F5F5F5;
}

.about h2 {
    font-size: 2.5em;
    color: #FF7F00;
    margin-bottom: 30px;
}

.about p {
    font-size: 1.2em;
    margin-bottom: 20px;
    color: #F5F5F5;
    max-width: 600px; /* Limits the width of the text */
    width: 100%;
    line-height: 1.6; /* Improves readability */
}

.about ul {
   width: 50%;
   margin: 0 auto;
   text-align: center;
}

/* Image at the Bottom of About Section */
.about-image {
    width: 100%;
    max-width: 150px;
    height: auto;
    margin-top: 30px;
    border-radius: 10px;
    opacity: 0.9;
}

/* Contact Section */
.contact {
    padding: 50px 20px;
    text-align: center;
}

.contact h2 {
    font-size: 2.5em;
    color: #FF7F00;
    margin-bottom: 30px;
}

.contact form {
    max-width: 600px;
    margin: 0 auto;
}

.contact input, .contact textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 15px;
    background-color: #1A1A1A;
    border: 1px solid #888;
    color: #F5F5F5;
}

.contact button {
    padding: 15px 20px;
    background-color: #FF7F00;
    color: #F5F5F5;
    border: none;
    cursor: pointer;
    font-size: 1em;
}

.contact button:hover {
    background-color: #F5F5F5;
    color: #FF7F00;
}

.captcha {
    margin-bottom: 15px;
    text-align: left;
}

.captcha label {
    color: #F5F5F5;
}

.captcha input {
    margin-top: 10px;
    width: 100%;
}

#formSuccessMessage {
    color: #FF7F00;
    margin-top: 20px;
}

/* Footer */
footer {
    padding: 20px;
    background-color: #1A1A1A;
    text-align: center;
    color: #888;
}

.social-icons a {
    color: #FF7F00;
    margin: 0 10px;
}

.social-icons a:hover {
    color: #F5F5F5;
}
