/* Header & Container Styling */
.site-header {
    background-color: #000;
    color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid #ff3333; /* Corporate Accent Line */
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    position: relative;
}

.logo a {
    color: #fff;
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;
    letter-spacing: 1px;
}
.logo-imag {
    width: 75;
    max-width: 360px;
    height: auto;
}

/* Nav Menu Basic Structure */
.Michroma-menu {
    font-family: 'Michroma', 'Eurostile', ''Century Gothic', 'Arial', sans-serif;
}
.nav-list {
    display: flex;
    list-style: none;
}

.nav-list li {
    position: relative;
    font-family: 'Michroma', 'Eurostile', ''Century Gothic', 'Arial', sans-serif;
}

.nav-list a {
    color: #ccc;
    text-decoration: none;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    font-size: 0.95rem;
    transition: color 0.3s ease, background-color 0.3s ease;
}

.nav-list a:hover {
    color: #fff;
    background-color: #222;
}

.arrow {
    font-size: 0.7rem;
    margin-left: 6px;
    transition: transform 0.3s;
}

/* Desktop Dropdowns (Hover Engine) */
.dropdown-menu, .nested-menu {
    display: none;
    position: absolute;
    background-color: #111;
    min-width: 220px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    border-top: 2px solid #ff3333;
    list-style: none;
    top: 100%;
    left: 0;
}

.nested-menu {
    top: 0;
    left: 100%;
    border-top: none;
    border-left: 2px solid #ff3333;
}

.nav-list li:hover > .dropdown-menu,
.dropdown-menu li:hover > .nested-menu {
    display: block;
}

/* Mobile Navigation Toggle Button */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.menu-toggle .bar {
    height: 3px;
    width: 100%;
    background-color: #fff;
    border-radius: 10px;
    transition: all 0.3s ease;
}


/* Responsive Design Overrides */
@media (max-width: 900px) {
    .menu-toggle {
        display: flex;
    }

    .main-navigation {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #111;
        border-top: 1px solid #222;
    }

    .main-navigation.active {
        display: block;
    }

    .nav-list {
        flex-direction: column;
        width: 100%;
    }

    .dropdown-menu, .nested-menu {
        position: static;
        display: none;
        width: 100%;
        box-shadow: none;
        background-color: #1a1a1a;
        padding-left: 15px;
        border: none;
    }

    .nested-menu {
        background-color: #222;
        padding-left: 30px;
    }

    /* JavaScript interaction utilities for mobile */
    .dropdown.open > .dropdown-menu,
    .nested-dropdown.open > .nested-menu {
        display: block;
    }
    
    .dropdown.open > a .arrow,
    .nested-dropdown.open > a .arrow {
        transform: rotate(180deg);
    }
}
/* Targets screens under 480px wide explicitly in vertical portrait mode */
@media screen and (max-width: 480px) and (orientation: portrait) {
  .logo img {
    max-width: 280px; /* Adjust this value (e.g., 50%) to get your desired width */
    width: 100%;
    height: auto;     /* Keeps the logo aspect ratio from stretching */
  }
}
