/* Make the body fill the entire viewport */
body {
    background-color: rgb(255, 255, 255);
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}
.menu-btn {
    display: none;
}

header {
    background-color: #ffa300;
    color: aliceblue;
    font-family: "Roboto", serif;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    height: 80px;
    border-bottom: 4px solid #ffffff;
    position: absolute;   /* header stays at top */
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;     /* make sure header is above image */
    margin-bottom: 0;
}
/* Hide toggle button by default */
.toggle-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}
h1 {
    margin: 0;
    font-size: 2rem;
    line-height: 1;                /* ensures consistent vertical alignment */
}
.header {
    margin-top: 2% ;
    margin-bottom: 30px;
    text-align: center;
    font-family: "Montserrat", sans-serif;
    font-size: x-large;
}

.outline1 {
    font-family: "Montserrat", sans-serif;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    margin-top: 4%;
    margin-bottom: 1%;
    padding: 0;
    color: #000000;
}
/* Footer takes 20% of the page height */
footer {
    background-color: black;
    color: white;
    text-align: center;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}
footer p {
    color: aliceblue;
}
nav a {
    text-align: center;
    text-decoration: none;
}

nav li {
    list-style: none;
}

.topmenu {
    margin-top: 30px;
    margin-bottom: 0;
    margin-right: 30px;
    display: flex;
    justify-content: right;
    gap: 10px;
}

.topmenu li {
    font-size: large;
}

.topmenu a {
    padding: 10px;
    color: white;
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
}

.topmenu a:hover {
    text-decoration: none; /* ✅ remove default underline */
    color: #060606;
    border-bottom: 3px solid #060606; /* ✅ single line under the nav */
}
.topmenu a.active{
    text-decoration: none; /* ✅ remove default underline */
    color: #060606;
}
/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

main {
    margin-top: 80px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    margin-bottom: 10%;
}


h2 {
    font-size: 1.875rem;
    font-weight: 600;
    line-height: 1.3;
    color: #111827;
    margin-bottom: 1.5rem;
}

p {
    font-size: 1rem;
    line-height: 1.75;
    color: #374151;
}

/* Container */
.container {
    max-width: 56rem;
    margin: 0 auto;
    padding: 0 1.5rem;
}


/* Card */
.card {
    background-color: #ffffff;
    border-radius: 0.5rem;
    padding: 2rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

.card-about {
    margin-bottom: 3rem;
}

.card-about p {
    line-height: 1.75;
}

/* Locations Section */
.locations-section h2 {
    margin-bottom: 1.5rem;
}

.locations-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}
.sidebar {
    display: none;
}
  
/* Location Item */
.location-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem;
    border-radius: 0.5rem;
    transition: background-color 0.2s ease;
}

.location-item:hover {
    background-color: #f9fafb;
}

.location-icon {
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.location-icon svg {
    width: 1.25rem;
    height: 1.25rem;
    color: #ffa300;
}

.location-info {
    flex: 1;
}

.location-name {
    font-size: 1rem;
    font-weight: 500;
    color: #111827;
    margin-bottom: 0.125rem;
}

.location-projects {
    font-size: 0.875rem;
    color: #6b7280;
}
@media screen and (max-width: 1000px) {
    .topmenu {
        display: none; /* hide top nav links */
    }
    .menu-btn {
        display: block; /* show the hamburger button */
    }
    
    .sidebar {
        display: block; /* sidebar becomes functional */
    }

    .menu-btn {
        background: none;
        border: none;
        outline: none;
        color: white;
        font-size: 1.8rem;
        cursor: pointer;
      }
    .menu-btn i.hidden {
        display: none;
    }
   
      
    
    .menu-button:hover {
        background-color: #e5e7eb;
    }
    
    .menu-button .icon {
        width: 24px;
        height: 24px;
        color: #374151;
        border: none;
    }

    /* Right Sidebar */
    .sidebar {
        position: fixed;
        top: 60px;
        right: 0;
        height: 100%;
        width: 45%;
        max-width: 320px;
        background-color: #ffa300;
        box-shadow: -2px 0 8px rgba(0, 0, 0, 0.15);
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
        z-index: 40;
        overflow-y: auto;
    }
    .sidebar.open {
        transform: translateX(0);
    }
    
    .sidebar-content {
        padding: 10px;
    }
    
    
    /* Navigation List */
    .nav-list {
        list-style: none;
    }
    
    .nav-list li {
        margin-bottom: 4px;
    }
    
    .nav-link {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 10px 0 10px 8px; /* less space on left */
        border-radius: 8px;
        color: #000000;
        text-decoration: none;
        transition: background-color 0.2s;
        font-size: large;
        font-family: "Montserrat", sans-serif;
        font-weight: 500;
    }
    
    
    .nav-link:hover {
        background-color: #f3f4f6;
    }
    
    /* Overlay */
    .overlay {
        position: fixed;
        inset: 0;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 30;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease-in-out;
    }
    
    .overlay.show {
        opacity: 1;
        pointer-events: auto;
    }
    header {
        position: fixed;
        background-color: #ffa300;
        color: aliceblue;
        font-family: "Roboto", serif;
        display: flex;                 /* places h1 and button side by side */
        align-items: center;           /* vertically align them */
        justify-content: space-between;/* puts h1 on left, button on right */
        padding: 0 20px;
        height: 60px;                  /* example fixed header height */
        
    }
    h1 {
        font-size: large;
    }
}



