/* ==========================================
   Header & Navigation
   ========================================== */

header {
    background-color: var(--primary-color);
    padding: 0.5rem 0;
    position: sticky;
    top: 0;
    z-index: 2000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.nav-container {
    margin: 0 auto;
    max-width: 1400px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.logo-image {
    flex-shrink: 0;
    height: 60px;
    width: auto;
    display: block;
    justify-self: start;
}

.logo h2 {
    color: white;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 1px;
    line-height: 1.2;
    margin: 0;
}

.logo-image.placeholder {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
    text-align: center;
    padding: 4px;
    line-height: 1.2;
}

/* --- THE HAMBURGER BUTTON --- */
.menu-toggle {
    display: none; /* Hidden on Desktop */
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle i {
    width: 28px;
    height: 28px;
    
}

/* --- THE NAV MENU --- */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    margin: 0; 
    padding: 0
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: 0.95rem;
    white-space: nowrap;
}

.nav-menu a:hover {
    color: var(--secondary-color);
}

/* --- MOBILE RESPONSIVE (The Hamburger Logic) --- */
@media (max-width: 992px) {
    .menu-toggle {
        display: block;
        
    }
    .nav-container {
        position: relative;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    /* THE COMPACT DROPDOWN */
    .nav-menu {
        display: none; 
        flex-direction: column;
        position: absolute;
        top: 100%; 
        right: 20px; /* Aligns it to the right instead of full width */
        width: 200px; /* Fixed narrow width so it's not "fat" */
        left: auto;
        background-color: var(--primary-color); 
        opacity: 80%;
        border-radius: 5px; /* Rounded corners for a modern feel */
        box-shadow: 0 8px 16px rgba(0,0,0,0.2);
        overflow: hidden;
        padding: 10px 0;


    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-menu li a {
        padding: 12px 20px;
        text-align: left; /* Professional left-alignment */
        border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    }

    .nav-menu li:last-child a {
        border-bottom: none;
    }
}

.nav-menu li a:hover {
        background-color: rgba(255, 255, 255, 0.05);
        color: var(--secondary-color);
    }





/* Fix for very small screens */
@media (max-width: 550px) {
    .logo h2 {
        font-size: 0.8rem;
        max-width: 150px; /* Prevents title from squashing the icon */
        line-height: 1.1;
    }
    .logo-image {
        height: 40px;
    }
}




/* ==========================================
   Footer
   ========================================== */
.main-footer {
    background-color: #1a1a1a; /* Dark industrial grey/black */
    color: #ffffff;
    padding: 70px 0 20px;
    margin-top: 40px;
}

.footer-container {
    max-width: 1400px; 
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 60px;
}

.footer-col {
    flex: 1;
    min-width: 280px;
}

.footer-logo h2 {
    color: #D4914A; /* Your secondary/gold color */
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.footer-about {
    line-height: 1.6;
    color: #ccc;
    margin-bottom: 25px;
}

.footer-col h3 {
    font-size: 1.2rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

/* The "Industry Standard" underline */
.footer-col h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background-color: #0b5e2d; /* Your primary green */
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: #ccc;
    text-decoration: none;
    transition: 0.3s;
}

.footer-col ul li a:hover {
    color: #D4914A;
    padding-left: 8px; /* Smooth hover effect */
}

.footer-col p {
    padding-bottom: 8px;
}

/* Social Icons */
.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: #333;
    color: white;
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    margin-right: 10px;
    transition: 0.3s;
}

.social-links a:hover {
    background: #0b5e2d;
    transform: translateY(-5px);
}

/* Bottom Bar */
.footer-bottom {
    text-align: center;
    margin-top: 60px;
    padding-top: 20px;
    border-top: 1px solid #333;
    font-size: 0.9rem;
    color: #888;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        padding: 0 20px;
    }
    .footer-col {
        width: 100%;
    }
}