/* Reset default margins and set full height */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%; /* Ensure full height */
    overflow: hidden; /* Disable actual scrolling; JS handles navigation */
}

/* Video background styling */
#bg-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 150%; /* Shifts video up by 10% to show lower details */
    z-index: -1;
}

/* Sections container */
.sections {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden; /* No scrolling here */
}

/* Individual section styling */
.section {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.5s ease-in-out; /* Fade transition */
    pointer-events: none; /* Prevent interaction with hidden sections */
}

.section.active {
    opacity: 1;
    pointer-events: auto;
}

/* Section text styling */
.section-text {
    font-family: 'Oswald', sans-serif; /* Oswald Extra Light */
    font-weight: 200; /* Extra Light weight */
    font-size: 2.5vw; /* Scales to ~40px at 1920px; adjust multiplier as needed */
    color: #f5f5f0; /* Off-white like footer */
    text-align: center; /* Centered text */
    max-width: 1100px; /* Decreases width for more side space; adjust value as needed */
}

/* Progress bar (thin white track) */
.progress-bar {
    position: fixed;
    top: 0;
    right: 10px;
    width: 4px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.3); /* Thin semi-transparent white line */
    z-index: 2;
}

/* Progress indicator (thicker white section) */
.progress {
    position: absolute;
    left: -2px; /* Offset to center thicker bar over track */
    width: 8px; /* Thicker than track */
    height: 25%; /* Height for each section (100% / 4 sections) */
    background: #ffffff; /* Solid white */
    transition: top 0.5s ease; /* Smooth movement */
}

/* Footer styling */
footer {
    background-color: #f5f5f0; /* Off-white */
    height: 100px; /* Adjust as needed */
    position: fixed; /* Fixes it to the bottom */
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1;
    display: flex;
    align-items: flex-end; /* Aligns content to the bottom */
    justify-content: space-between; /* Pushes logo left and contact right */
    padding: 10px 20px; /* Padding: top/bottom reduced for bottom alignment, sides for space */
}

/* Logo styling */
.logo {
    max-height: 80px; /* Scales to fit */
    width: auto;
    transform: translateX(-10%); /* Your custom left offset from center */
}

/* Contact text styling */
.contact {
    font-family: 'Oswald', sans-serif; /* Oswald font */
    font-size: 16px; /* Scales to ~16px at 1920px; adjust multiplier as needed */
    color: #000000; /* Black */
    text-align: left; /* Left-aligned lines */
    line-height: 1.2; /* Tight spacing for stacked look */
}

/* Mobile and tablet styles */
@media (max-width: 1024px) {
    .section-text {
        font-size: 6vw; /* Larger, scales to ~28px at 480px phone screen */
        max-width: 95%; /* Uses more screen width for better fit */
        padding: 0 10px; /* Adds slight padding to prevent edge clipping */
    }

    .contact {
        font-size: 14px; /* Slightly decreased for phone/tablet */
        line-height: 1.4; /* Slightly more spacing for clarity */
    }
}