@import url('https://fonts.googleapis.com/css2?family=League+Spartan:wght@100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=League+Spartan:wght@100..900&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

* {
    box-sizing: border-box;
}
/* ---------------- BODY ---------------- */
body {
    margin: 0;
    padding: 0;
    background-color: #1579c5;
    text-align: center;
    font-family: "Montserrat", sans-serif;
}

/* ---------------- HEADER ---------------- */
header {
    background-color: #2b2d2f;
    padding: 0 30px;
    position: relative;
}

/* HEADER CONTAINER */
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 30px;
    position: relative;
    flex-wrap: wrap;
}

/* LOGO */
.logo-container {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.logo-container img {
    max-height: 300px;      /* stays large on desktop */
    width: auto;
    height: auto;
    max-width: 100%;
    display: block;
    object-fit: contain;
}

/* NAVIGATION — bottom-right */
.nav-container {
    position: absolute;
    right: 0;
    bottom: 15px;
}

/* MENU */
.nav-menu {
    list-style: none;
    display: flex;
    gap:50px;
    margin: 0;
    padding: 0;
    padding-bottom: 5px;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    text-decoration: none;
    color: #dad7d7;
    font-weight: bold;
    font-size: 1.8em;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #ff6600;
}

/* DROPDOWN MENU */
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #2b2d2f;
    min-width: 220px;
    padding: 10px 0;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    z-index: 100;
}

.nav-menu li:hover .dropdown-menu {
    display: block;
}

.dropdown-menu a {
    padding: 12px 20px;
    display: block;
    color: #cdc9c9;
    font-size: 1.2em;
    transition: background 0.3s ease, color 0.3s ease;
}

.dropdown-menu a:hover {
    background-color: #444;
    color: #ff6600;
}

/* ---------------- MOBILE MENU ---------------- */
.menu-toggle {
    display: none;        /* hidden on desktop */
    cursor: pointer;
    font-size: 40px;
    color: #cdc9c9;
    z-index: 500;
    position: relative;  
    margin-left: 20px; /* spacing from logo/menu */
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: 100%;
    width: 80%;                   /* slightly wider for more space */
    max-width: 350px;             /* limit max width */
    height: 100%;
    background: rgba(43,45,47,0.95); /* slightly transparent for modern look */
    display: flex;
    flex-direction: column;
    align-items: flex-start;      /* align items to left */
    padding: 80px 20px 20px 20px; /* leave space for close button */
    transition: left 0.3s ease-in-out;
    z-index: 600;
    overflow-y: auto;             /* enable scrolling if too long */
}

.mobile-menu.show {
    left: 0;
}

.mobile-menu ul {
    list-style: none;
    padding: 0;
    text-align: center;
    width: 100%;
}

.mobile-menu li {
    padding: 15px;
}

.mobile-menu li.show-dropdown .dropdown-menu {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.mobile-menu a {
    color: #cdc9c9;
    font-size: 1.3em;
    text-decoration: none;
}

.mobile-menu a:hover {
    color: #ff6600;
}

.close-menu {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 30px;
    color: #cdc9c9;
    cursor: pointer;
}

.mobile-menu .dropdown-menu {
    display: none;
    position: static;
    background: transparent;
    box-shadow: none;
    padding: 0;
}

.mobile-menu .dropdown-menu a {
    font-size: 1.2em;
    padding: 8px 0;
}

/* ---------------- MAIN CONTENT ---------------- */
.container {
    max-width: 1100px;
    margin: 20px auto;
    background: #2b2d2f;
    color:#cdc9c9;
    padding: 30px;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 30px;
    align-items: center;
}

.container i {
    color: #ff6600;
}

.container p {
    font-family: 'League Spartan', Verdana, Tahoma, sans-serif;
    font-size: 2em;
}

.container img {
    max-height: 600px;
    width: auto;
}

.container h2 {
    font-size:xx-large;
}

/* SERVICE LIST */
.service-list {
    list-style: none;
    padding: 10px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    font-family: 'League Spartan', Verdana, Tahoma, sans-serif;
    font-size: 2em;
}

.service-list li {
    display: flex;
    align-items: center;
    gap: 15px;
}

.service-list a {
    text-decoration: none;
    color: #dad7d7;
}

.service-list i {
    color:  #ff6600;
}

/* ---------------- FOOTER ---------------- */
footer {
    background-color: #2b2d2f;
    color: #cdc9c9;
    padding: 20px 50px;
    font-size: 1.2em;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    max-width: 1100px;
    margin: 0 auto;
}

.footer-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    line-height: 1.6;
}

.footer-social {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    line-height: 1.6;
}

.footer-info i,
.footer-social i {
    color: #ff6600;
    margin-right: 8px;
}

.footer-social a {
    color: #dad7d7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: #ff6600;
}

footer > .footer-container > p:last-child {
    width: 100%;
    text-align: center;
    margin-top: 20px;
    font-size: 1em;
    color: #aaa;
    border-top: 1px solid #444;
    padding-top: 10px;
}

/* ---------------- RESPONSIVE ---------------- */
@media (max-width: 1200px) {
    .nav-container {
        position: static;
        margin-top: 0px;
        color: #cdc9c9;
    }
    .nav-menu {
        position: absolute;
        right: 0;
        bottom: 15px;
        flex-wrap: wrap;
        justify-content: center;
        gap: 25px;
        font-size: 0.8em;
        color: #cdc9c9;
    }
    .logo-container img {
        max-height: 220px;
    }
    .container img {
        max-height: 300px;
        width: auto;
        height: auto;
    }
}

@media (max-width: 900px) {
    .header-container {
        flex-direction: column;
        align-items: center;
        height: auto;
        padding: 20px 0;
        text-align: center;
    }

    .logo-container {
        justify-content: center;
    }

    .logo-container img {
        max-height: 200px;
    }

    
    .menu-toggle {
        display: block;
        margin-top: 0px; /* adjust vertical spacing */
    }
    
    .menu-toggle span {
        position: absolute;
        height: 4px;
        width: 100%;
        background: #cdc9c9;
        left: 0;
        transition: all 0.3s ease;
        border-radius: 2px;
    }
    
    .menu-toggle span:nth-child(1) { top: 0; }
    .menu-toggle span:nth-child(2) { top: 13px; }
    .menu-toggle span:nth-child(3) { top: 26px; }
    
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg);
        top: 13px;
    }
    
    .menu-toggle.active span:nth-child(2) { opacity: 0; }
    
    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg);
        top: 13px;
    }

    .nav-menu {
        display: none; /* hide desktop menu */
    }
    .container img {
        max-height: 250px;
        width: auto;
        height: auto;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        align-items: center;
        height: auto;
        padding: 20px 0;
        text-align: center;
    }

    .logo-container img {
        max-height: 200px;
        width: auto;
        margin-bottom: 0px;
        padding-bottom: 0;
    }
    
    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        font-size: medium;
    }

    .footer-info,
    .footer-social {
        align-items: center;
        text-align: center;
    }

    .service-list {
        font-size: 1.5em;
    }
    .container img {
        max-height: 200px;
        width: auto;
        height: auto;
    }
}

@media (max-width: 600px) {
    .logo-container img {
        max-height: 200px
    
    }
    .container img {
        max-height: 200px;
        width: auto;
        height: auto;
    }
}

/* Links */
a {
    color: #dad7d7;
    text-decoration: none;
}

a:hover, a:focus {
    color: #ff6600;
    text-decoration: none;
}

a:visited, a:active {
    color: #dad7d7;
}