/* General Styles */
body {
    margin: 0;
    font-family: 'Bank Gothic Medium', sans-serif;
    color: #ffffff;
    background-color: #000;
    scroll-behavior: smooth;
}

* {
    box-sizing: border-box;
}

/* Navigation Bar */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    padding: 20px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
}

nav a {
    color: #ffffff;
    text-decoration: none;
    margin: 0 20px;
    font-size: 1rem;
}

nav a:hover {
    text-decoration: underline;
}

.logo {
    height: 40px;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger div {
    width: 30px;
    height: 4px;
    background-color: white;
    margin: 5px;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.hero h1 {
    font-size: 5rem;
    margin: 0;
    letter-spacing: 2px;
    font-weight: bold;
    color: #ffffff;
    text-shadow: 5px 5px 10px rgba(0, 0, 0, 0.8);
}

.hero p {
    font-size: 2rem;
    margin-top: 10px;
    color: #ffffff;
    text-shadow: 5px 5px 10px rgba(0, 0, 0, 0.8);
}

/* Section Styling */
.section {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 100px 20px;
    background-size: cover;
    background-position: center;
}

.about {
    background-image: url('images/Milling.jpeg');
}

.services {
    background-image: url('images/NC_Code.jpeg');
}

.products {
    background-image: url('images/Parts.jpeg');
}

.equipment {
    background-image: url('images/Turning.jpeg');
}

.contact {
    background-video: url('videos/Turning_Slow_4K.mov');
}

.section div {
    width: 60%;
}

h2 {
    font-size: 3rem;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8);
    margin-bottom: 20px;
}

p {
    font-size: 1.6rem;
    max-width: 800px;
    margin: 0 auto;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8);
}

/* Buttons */
.action-btn {
    border: 2px solid #ffffff;
    background-color: transparent;
    color: #ffffff;
    font-size: 1.2rem;
    padding: 10px 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    display: inline-block;
    margin-top: 45px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.action-btn:hover {
    background-color: #ffffff;
    color: #000000;
}

/* Footer */
footer {
    padding: 30px;
    background: #111;
    text-align: center;
    font-size: 0.9rem;
    color: #ffffff;
}

/* Default Navigation (PC & Large Screens) */
.nav-links {
    display: flex;  /* Always show normal nav menu on PC */
    list-style: none;
    gap: 20px;
}

.nav-links li {
    display: inline;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 1rem;
}

/* Hide hamburger on larger screens */
.hamburger {
    display: none;
}

/* Mobile & Tablet Navigation */
@media (max-width: 1024px) {
    .nav-links {
        display: none; /* Hide the normal menu */
        flex-direction: column;
        position: absolute;
        top: 60px;
        right: 0;
        background-color: black;
        width: 100%;
        text-align: center;
        padding: 20px 0;
    }

    .nav-links.active {
        display: flex; /* Show when clicked */
    }

    .hamburger {
        display: flex; /* Show hamburger only on mobile/tablet */
        flex-direction: column;
        cursor: pointer;
    }

    .hamburger div {
        width: 30px;
        height: 4px;
        background-color: white;
        margin: 5px;
    }
}

/* ================================
   Internal Job Announcements
================================ */

.internal-announcement {
    display: block !important;
    width: 100% !important;
    min-height: auto !important;
    height: auto !important;
    background: #000;
    color: #fff;
    padding: 100px 40px 90px 40px;
    box-sizing: border-box;
    text-align: left !important;
}

.internal-announcement * {
    box-sizing: border-box;
}

.announcement-container {
    display: block !important;
    width: 100% !important;
    max-width: 1400px !important;
    margin: 0 auto !important;
    padding: 0 !important;
}

.internal-announcement h2 {
    display: block;
    width: 100%;
    text-align: center;
    font-size: 40px;
    line-height: 1.2;
    margin: 0 0 18px 0;
    color: #fff;
}

.announcement-subtitle {
    text-align: center;
    font-size: 18px;
    line-height: 1.5;
    margin: 0 0 35px 0;
    color: #cccccc;
}

.announcement-intro {
    display: block !important;
    width: 100%;
    max-width: 950px;
    margin: 0 auto 45px auto;
    font-size: 18px;
    line-height: 1.7;
    color: #fff;
}

.announcement-intro p {
    margin-bottom: 12px;
}

.jobs-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(300px, 1fr));
    gap: 30px;
    width: 100%;
    align-items: stretch;
}

.job-card {
    display: block !important;
    width: 100% !important;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 14px;
    padding: 34px;
    margin: 0;
    color: #fff;
    text-align: left !important;
}

.job-card h3 {
    font-size: 24px;
    line-height: 1.25;
    margin: 0 0 24px 0;
    color: #fff;
}

.job-card h4 {
    font-size: 18px;
    line-height: 1.3;
    margin: 24px 0 12px 0;
    color: #fff;
}

.job-card ul {
    margin: 0 0 12px 22px;
    padding: 0;
}

.job-card li {
    font-size: 16px;
    line-height: 1.65;
    margin-bottom: 8px;
}

.job-card p {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 14px;
}

.application-card {
    max-width: 950px !important;
    margin: 35px auto 0 auto !important;
}

/* Tablet */
@media (max-width: 1100px) {
    .jobs-grid {
        grid-template-columns: 1fr;
    }

    .job-card {
        max-width: 950px;
        margin: 0 auto;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .internal-announcement {
        padding: 80px 18px 60px 18px;
    }

    .internal-announcement h2 {
        font-size: 30px;
    }

    .announcement-subtitle {
        font-size: 16px;
    }

    .announcement-intro {
        font-size: 16px;
    }

    .job-card {
        padding: 24px;
    }

    .job-card h3 {
        font-size: 22px;
    }

    .job-card h4 {
        font-size: 17px;
    }

    .job-card li,
    .job-card p {
        font-size: 15px;
    }
}