/******************* 
      Base Page
********************/

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    max-width: 100%;
    overflow-x: hidden;
}

/* Basic layout */
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #f9f9f9;
    max-width: 100%;
    overflow-x: hidden;
    color: #333;
}

.logo {
    display: flex;
    align-items: center;
    height: 100%;
    color: #fff;
    font-size: 1.5rem;
    text-decoration: none;
    font-weight: bold;
    padding: 0 1rem;
    background-color: #222;
}

.navbar {
    position: relative;
    background-color: #222;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

.nav-container {
    width: 90%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: stretch; /* 👈 important to stretch children vertically */
    height: 60px; /* Optional fixed height */
}

/* nav links list */
.nav-links {
    list-style: none;
    display: flex;
    height: 100%;
    margin: 0;
    padding: 0;
}

/* individual nav link items */
.nav-links li {
    height: 100%;
    border-style: solid;
    border-right-color: #222;
    border-right-width: 2px;
    width: 8rem;
    min-width: 30px;
}

/* link buttons */
.nav-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 0 1rem;
    background-color: #333;
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

/* hover effect */
.nav-links a:hover {
    background-color: #888;
    color: #fff;
}

.nav-links a.active {
    background-color: #666;
    color: #fff;
    font-weight: bold;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes expand-line {
    0% {
        width: 0;
    }
    100% {
        opacity: 1;
        width: 70%;
    }
}

.spacer {
    opacity: 0;
    height: 1rem;
    width: 100%;
}

.expanded-line {
    width: 70%;
    height: 2px;
    background-color: #333;
    margin: 0 auto;
    margin-top: 1rem;
    margin-bottom: 1rem;
    opacity: 0;
    animation: expand-line 0.8s ease forwards;
}

.gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 2rem;
}


/* Main content */
.main-content {
    padding-top: 2rem;
    padding-bottom: 2rem;;
    min-height: 100vh;
    text-align: center;
}

.footer {
    background-color: #222;
    color: #bbb;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    font-size: 1rem;
}