/* Import CSS files from each section */
@import url('../hero/hero.css');
@import url('../about/about.css');
@import url('../services/services.css');
@import url('../projects/projects.css');
@import url('../contact/contact.css');

/* Reset some default styles */
body, h1, h2, p, ul, li, form, label, input, textarea, button {
    margin: 0;
    padding-right: 7.5px;
    padding-left: 7.5px;
    box-sizing: border-box;
}

/* Basic styles for the body */
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    overflow-x: hidden; /* Prevent horizontal scroll */
    color: #ffffff; /* Dark theme text color */
}

/* Background video styles */
#background-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* Content wrapper styles */
.content-wrapper-about {
    max-width: 1200px;
    margin: 0 auto;
    background: transparent; /* Ensure background is transparent */
}

/* Content wrapper styles */
.content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    background: transparent; /* Ensure background is transparent */
}

/* Header styles */
header {
    background: transparent;
    color: #fff;
    padding: 15px 15px 15px 15px;
    width: 100%;
    position: fixed; /* Ensure the header remains pinned to the top */
    top: 0;
    left: 0;
    z-index: 1000; /* Ensure the header is above other content */
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: left;
    width: 100%;
}

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

.logo {
    height: 28px; /* Set height to 40px */
    width: 28px; /* Set width to 40px */
    margin-right: 5px;
}

.company-name {
    font-family: 'Montserrat', sans-serif;
    font-size: 16x;
    font-weight: 750; /* Set font weight to black */
    color: #fff;
    letter-spacing: 2px; /* Set letter spacing */
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 0.1rem;
    align-items: center;
}

.nav-links li a {
    color: #fff;
    text-decoration: none;
    padding: 0.5rem 1rem;
    transition: color 0.3s, background-color 0.3s;
}

.nav-links li a:hover {
    color: #0cc0df;
    background-color: rgba(255, 255, 255, 0.1);
}

.nav-links li a:active {
    color: #fff;
    background-color: #0cc0df;
}

/* Mobile menu toggle styles */
.menu-toggle {
    display: none;
}

/* Mobile nav styles */
.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #131516;
    color: #fff;
    z-index: 1000;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow-y: hidden; /* Prevent vertical scroll */
}

.mobile-nav.active {
    display: flex;
}

.mobile-nav .close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    cursor: pointer;
}

.mobile-nav .nav-links-mobile {
    list-style: none;
    text-align: center;
}

.mobile-nav .nav-links-mobile li {
    margin: 1rem 0;
}

.mobile-nav .nav-links-mobile li a {
    color: #fff;
    text-decoration: none;
    font-size: 1.5rem;
    transition: color 0.3s, background-color 0.3s;
}

.mobile-nav .nav-links-mobile li a:hover {
    color: #0cc0df;
}

.mobile-nav .nav-links-mobile li a:active {
    color: #0cc0df;
}

/* About section styles */
#about {
    padding: 2rem;
    background: transparent; /* Ensure background is transparent */
    color: #e0e0e0; /* Dark theme text color */
}

.dark-section h2, .dark-section h3 {
    color: #ffffff;
}

.dark-section p, .dark-section ul {
    color: #e0e0e0;
}

.dark-section ul {
    list-style-type: disc;
    padding-left: 20px;
}

.dark-section .about-item {
    margin-bottom: 20px;
}

/* Services section styles */
#services {
    padding: 2rem;
    background: transparent; /* Ensure background is transparent */
    color: #e0e0e0; /* Dark theme text color */
}

#services ul {
    list-style: none;
    display: flex;
    justify-content: space-around;
}

/* Projects section styles */
#projects {
    padding: 2rem;
    background: transparent; /* Ensure background is transparent */
    color: #e0e0e0; /* Dark theme text color */
}

/* Contact section styles */
#contact {
    padding: 2rem;
    background: transparent; /* Ensure background is transparent */
    color: #e0e0e0; /* Dark theme text color */
}

#contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

#contact-form label {
    font-weight: bold;
}

#contact-form input, #contact-form textarea {
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 4px;
}

#contact-form button {
    padding: 0.5rem;
    border: none;
    border-radius: 4px;
    background: #00ffcc;
    color: #000;
    cursor: pointer;
}

#contact-form button:hover {
    background: #00e6b8;
}

/* Footer styles */
footer {
    background: #000;
    color: #fff;
    text-align: center;
    padding: 1rem 0;
}

@media (max-width: 768px) {

    .nav-links {
        display: none;
    }

    header {
        align-items: center;
        justify-content: space-around;
        padding: 15px 15px 15px 15px;
    }

    .logo-container {
        order: 1;
        margin-top: 0;
        margin-left: 0px; /* Add left margin for mobile */
    }

    .menu-toggle {
        display: flex;
        order: 2;
        height: 30px; /* Set height to 30px */
        width: 30px; /* Set width to 30px */
        vertical-align: middle;
    }

    .nav-links-mobile {
        align-items: center;
    }

    .company-name {
        display: none;
    }

    /* Mobile menu toggle styles */
    .menu-toggle {
        display: flex;
        cursor: pointer;
        width: 35px;
        height: 35px;
        margin-right: 25px;
        background-size: contain;
    }
}
