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

body {
    /* font-family: 'Clown', 'Helvetica Neue', Arial, sans-serif; */
    font-family: 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    background-color: rgb(248, 248, 248);
    /* Changed from #161616 to white */
    color: #1b1b1b;
    /* Changed from #ffffff to dark gray */
    line-height: 1.6;
}

a {
    color: #1b1b1b;
    /* Changed from #ffffff to dark gray */
    text-decoration: none;
    transition: opacity 0.3s ease;
}

a:hover {
    opacity: 0.7;
}

/* Navigation Bar */
.navbar {
    position: fixed;
    /* Always fixed at the top */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 16px 0;
    background-color: rgb(248, 248, 248);
    /* backdrop-filter: blur(5px); */
    transition: opacity 0.3s ease;
    /* Changed from all to opacity for initial fade-in if needed */
    /* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); */
    opacity: 1;
    /* Ensure it's visible by default */
}
.navbar.dark {
    position: fixed;
    /* Always fixed at the top */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 16px 0;
    background-color: rgb(12, 12, 12);
    /* backdrop-filter: blur(5px); */
    transition: opacity 0.3s ease;
    /* Changed from all to opacity for initial fade-in if needed */
    /* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); */
    opacity: 1;
    /* Ensure it's visible by default */
    a {
        color: #ffffff;
    }
}

.navbar-true {
    position: fixed;
    /* Always fixed at the top */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1005;
    padding: 16px 0;
    background-color: rgb(248, 248, 248);
    /* backdrop-filter: blur(5px); */

    /* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); */
    opacity: 0r;
    /* Ensure it's visible by default */
}

.navbar-fake {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 16px 0;
    margin-top: 16px;
    background-color: rgb(248, 248, 248);
    /* backdrop-filter: blur(5px); */
    transition: opacity 0.8s ease;
    /* Changed from all to opacity for initial fade-in if needed */
    /* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); */
    opacity: 0;
    /* Ensure it's visible by default */
}

/* Light theme for navbar */
.navbar.light-theme {
    background-color: rgb(248, 248, 248);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.light-theme .nav-container .logo a,
.light-theme .nav-links a {
    color: #161616;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 15px;
}

.nav-item {
    margin: 0;
    padding: 0 2%;
    position: relative;
    text-align: center;
    font-weight: 200;
    margin-bottom: 6px;
    margin-top: 6px;
    font-size: .9rem;
    letter-spacing: 0.1em;
}

/* Styling for the name container in the center of navbar */
.name-container {
    /* padding: 0 1%; */
    text-align: center;
}

.name-container a {
    /* display: block; */
    text-decoration: none;
}

.name-wrapper {
    display: inline-block;
    text-align: center;
}

.main-name {
    font-size: 1.2rem;
    font-weight: 500;
    letter-spacing: 2px;
    line-height: 1.2;
    display: inline-block;
}

.subtitle {
    font-size: 1rem;
    letter-spacing: 4.5px;
    /* Adjusted to match width of main name */
    text-transform: uppercase;
    font-weight: 300;
    display: inline-block;
    width: 100%;
    /* Make the subtitle match the main name width */
    transform: scaleX(0.95);
    /* Fine-tune to match exact width */
    transform-origin: center;
}

.left-links,
.right-links {
    flex: 1;
    display: flex;
}

.right-links {
    justify-content: flex-end;
}

.logo.centered-logo {
    flex: 2;
    text-align: center;
}

.centered-logo a {
    font-size: 1.8rem;
    /* font-weight: 700; */
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links li {
    margin: 0 20px;
    position: relative;
}

.nav-links a {
    font-size: 1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 400;
    padding-bottom: 4px;
    position: relative;
}

/* Underline effect for active nav link */
.nav-links a.active {
    font-weight: 500;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: currentColor;
    transition: transform 0.3s ease;
}

/* Hover underline effect for non-active links */
.nav-links a:not(.active)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: currentColor;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.nav-links a:hover::after {
    transform: scaleX(1);
}

/* Underline effect for active nav link */
.nav-item a.active {
    font-weight: 300;
}

.nav-item a.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: currentColor;
    transition: transform 0.3s ease;
    
}

/* Hover underline effect for non-active links */
.nav-item a:not(.active)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: currentColor;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.nav-item a:hover::after {
    transform: scaleX(1);
}

/* Responsive styles for navbar */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
    }

    .left-links,
    .right-links,
    .logo.centered-logo {
        width: 100%;
        text-align: center;
        margin-bottom: 10px;
    }

    .left-links,
    .right-links {
        justify-content: center;
    }

    .nav-links {
        justify-content: center;
    }

    .nav-links li {
        margin: 0 10px;
    }

    .centered-logo a {
        font-size: 1.5rem;
    }

    .nav-item {
        margin-bottom: 10px;
    }

    .main-name {
        font-size: 2rem;
    }

    .subtitle {
        font-size: 0.9rem;
    }
}

/* Hero Video Section */
.hero {
    position: relative;
    height: 92vh;
    overflow: hidden;
}

.video-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Remove z-index here */
}

#hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    /* Only the video is behind the overlay and hero text */
}

.overlay {
    position: relative;
    z-index: 1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.hero-text {
    position: relative;
    z-index: 2;
    font-weight: 400;
    font-size: 2rem;
    top: -5%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease-out;
    text-align: center;
    width: 100%;
    height: 100%;
    color: #ffffff;

    h1 {
        font-size: 4rem;
        font-weight: 400;
        letter-spacing: 5px;
        margin-bottom: 20px;
    }
}

/* Section Summaries */
main {
    max-width: 100%;
    margin: 0 auto;
    padding: 100px 30px 0px 30px;
    position: relative;
    z-index: 2;
    /* Ensures content sits above the fixed video */
    background-color: rgb(248, 248, 248);
}

.summary-section {
    margin-bottom: 20px;
}

.section-title {
    margin-bottom: 50px;
    position: relative;
    text-align: center;
    /* Center align the title and underline */
}

.section-title h2 {
    font-size: 1.6rem;
    /* Slightly smaller font size */
    font-weight: 300;
    letter-spacing: 5px;
    text-transform: uppercase;
    margin-bottom: 0px;
}

.underline {
    width: 150px;
    height: 1px;
    background-color: #0a0a0a;
    margin: 0 auto 30px;
    /* Center the underline and maintain bottom margin */
}

/* Thumbnails Grid */
.thumbnails-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 25px;
}

.thumbnail-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
}

/* Video thumbnails with 16:9 aspect ratio */
#video-summary .thumbnail-item {
    aspect-ratio: 16/9;
}

/* Video thumbnails with 16:9 aspect ratio */
#photo-summary .thumbnail-item {
    aspect-ratio: 16/9;
}

.thumbnail-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.thumbnail-item:hover img {
    transform: scale(1.05);
}

.view-more {
    margin-top: 50px;
    text-align: center;
}

.view-more a {
    display: inline-block;
    padding: 10px 25px;
    border: 1px solid #0a0a0a;
    /* Changed from white to dark */
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.view-more a:hover {
    background-color: #0a0a0a;
    /* Changed to dark */
    color: #ffffff;
    /* Changed to white for contrast */
    opacity: 1;
}

/* Footer */
footer {
    text-align: center;
    padding: 40px 0;
    font-size: 0.9rem;
    color: #555;
    /* Changed from #888 to darker for better contrast on white */
    border-top: 1px solid #ddd;
    /* Changed from #222 to light gray */
    margin-top: 50px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .thumbnails-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-text h1 {
        font-size: 3rem;
    }
}

@media (max-width: 576px) {
    .thumbnails-grid {
        grid-template-columns: 1fr;
    }

    .nav-container {
        display: flex;
        justify-content: space-between;
    }

    .nav-links {
        margin-top: 20px;
    }

    .nav-links li {
        margin: 0 10px;
    }

    .hero-text h1 {
        font-size: 2rem;
        letter-spacing: 4px;
    }

    .section-title h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 600px) {
    .navbar,
    .navbar-true,
    .navbar-fake {
        display: none;
    }

    .mobile-page-title {
        display: block !important;
        color: #ffffff;
        text-align: center;
        margin-top: 22px;
        margin-bottom: 6px;
        font-size: 1.4rem;
        font-weight: 300;
        letter-spacing: .1em;
        text-transform: uppercase;
    }
    .mobile-menu-title {
        position: absolute;
        top: 24px;
        left: 0;
        width: 100%;
        color: rgb(12, 12, 12);
        text-align: center;
        font-size: 1.4rem;
        font-weight: 300;
        letter-spacing: .1em;
        text-transform: uppercase;
    }
    .mobile-page-title.dark {
        color: rgb(12, 12, 12) !important;
    }
}

/* Scroll Arrow for Main Section */
#main-scroll-arrow-container {
    position: absolute;
    top: 26px;
    /* Adjust as needed from the top of the main section */
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    opacity: 1;
    transition: opacity 0.3s ease-in-out;
}

#main-scroll-arrow-container .arrow {
    font-size: 1.2rem;
    /* Adjust size */
    color: #313030;
    /* Match your body text or a subtle color */
}

/* Mobile Menu */
.mobile-menu-button {
    display: none; /* Hidden by default */
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 2000;
    background-color: rgb(248, 248, 248);
    border-radius: 50%;
    width: 30px;
    height: 30px;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0;
    border: none;
    /* box-shadow: 0px 3px 15px rgba(0,0,0,0.1); */
    transition: all 0.4s ease-in-out;
}
.mobile-menu-button.dark {
    background-color: rgb(12, 12, 12) !important;
}

.mobile-menu-button .line {
    width: 22px;
    height: 1.5px;
    background-color: #333;
    margin: 2.5px 0;
    transition: all 0.3s ease-in-out;
}

/* .mobile-menu-button.dark .line {
    width: 22px;    
    height: 1.5px;
    background-color:rgb(248, 248, 248);
    margin: 2.5px 0;
    transition: all 0.3s ease-in-out;
}


.mobile-menu-button.open .line:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
}

.mobile-menu-button.open .line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-button.open .line:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -4px);
} */

.mobile-menu-button.open {
    width: 40px;
    height: 40px;
    background-color: rgb(12, 12, 12);
}

.mobile-menu {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(248, 248, 248);
    z-index: 1999;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.mobile-menu.open {
    opacity: 1;
    visibility: visible;
}

.mobile-menu a {
    font-size: 1.2rem;
    font-weight: 300;
    letter-spacing: 0.12em;
    color: #1b1b1b;
    margin: 20px 0;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.mobile-menu.open a {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger the animation of menu items */
.mobile-menu.open a:nth-child(1) { transition-delay: 0.2s; }
.mobile-menu.open a:nth-child(2) { transition-delay: 0.25s; }
.mobile-menu.open a:nth-child(3) { transition-delay: 0.3s; }
.mobile-menu.open a:nth-child(4) { transition-delay: 0.35s; }
.mobile-menu.open a:nth-child(5) { transition-delay: 0.4s; }
.mobile-menu.open a:nth-child(6) { transition-delay: 0.45s; }

.mobile-menu a.active {
    font-weight: 500;
}

.mobile-page-title {
    display: none;
}

/* Responsive styles for navbar */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
    }

    .left-links,
    .right-links,
    .logo.centered-logo {
        width: 100%;
        text-align: center;
        margin-bottom: 10px;
    }

    .left-links,
    .right-links {
        justify-content: center;
    }

    .nav-links {
        justify-content: center;
    }

    .nav-links li {
        margin: 0 10px;
    }

    .centered-logo a {
        font-size: 1.5rem;
    }

    .nav-item {
        margin-bottom: 10px;
    }

    .main-name {
        font-size: 1rem;
    }

    .subtitle {
        font-size: 0.7rem;
    }
}

@media (max-width: 600px) {
    .navbar-true,
    .navbar-fake {
        display: none;
    }

    .mobile-menu-button {
        display: block;
        /* Show the button on smaller screens */
    }

    #main-scroll-arrow-container {
        position: absolute;
        bottom: 25px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 999;
        cursor: pointer;
        opacity: 1;
        transition: opacity 0.4s ease-in-out;
    }
    
    #main-scroll-arrow-container .arrow {
        font-size: 20px;
        color: #f0f0f0;
        animation: bounce 2s infinite;
    }
}


