
/* Reset and base styles */
    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
        font-family: 'Inter', sans-serif;
    }

    body {
        background-color: #f8f8f8;
        color: #000;
        line-height: 1.6;
        overflow-x: hidden;
    }

    .container {
        width: 100%;
        margin: 0;
        position: relative;
    }

    /* Header styles */
    .header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        display: flex;
        justify-content: space-between;
        padding: 20px;
        background-color: transparent;
        z-index: 100;
    }

    .logo img {
        height: 40px;
        display: block;
    }

    .nav-toggle {
        background: none;
        border: none;
        cursor: pointer;
        font-size: 26px;
        font-weight: 100;
    }
    /* Fullscreen Menu Overlay */
    .menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.9); /* Dark overlay */
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.5s ease, visibility 0.5s ease;
        z-index: 200;
    }

    /* Show Menu */
    .menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    /* Menu Items */
    .menu-content {
        text-align: center;
    }

    .menu-item {
        font-size: 50px;
        color: white;
        text-decoration: none;
        font-weight: 600;
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.5s ease, transform 0.5s ease;
        display: block;
        margin: 20px 0;
    }

    .menu-overlay.active .menu-item {
        opacity: 1;
        transform: translateY(0);
    }

    .menu-overlay.active .menu-item:nth-child(1) { transition-delay: 0.2s; }
    .menu-overlay.active .menu-item:nth-child(2) { transition-delay: 0.4s; }

    /* Close Menu on Click */
    .menu-overlay.active::after {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

    /* Hero section - full viewport */
    .hero-container {
        height: 100vh;
        width: 100vw;
        position: relative;
        overflow: hidden;
    }

    .hero-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        position: absolute;
        top: 0;
        left: 0;
    }
    
    .scroll-indicator {
        position: absolute;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        width: 50px; /* Adjust size of the image */
        height: auto; /* Maintain aspect ratio */
        animation: bounce 1.5s infinite ease-in-out;
        cursor: pointer;
    }

    @keyframes bounce {
        0%, 100% {
            transform: translateX(-50%) translateY(0);
        }
        50% {
            transform: translateX(-50%) translateY(10px);
        }
    }
    
    .scroll-indicator, .scroll-text, .scroll-dots {
        transition: opacity 0.5s ease;
    }

    .hidden {
        opacity: 0;
        pointer-events: none;
    }

    /* Section for the introductory text */
    .intro-text {
        background-color: #fff;
        padding: 50px 20px; /* Add top and bottom padding for more space */
    }

    .hero-text {
        font-size: clamp(24px, 6vw, 60px); /* min size, dynamic scaling, max size */
        font-weight: 300;
        line-height: 1.3;
        margin-top: 50px;
        margin-bottom: 30vh;
  
    }

    /* Content section */
    .content {
        position: relative;
        background-color: #fff;
       
    }

/* Horizontal Scrollable Project Grid */
.project-grid {
    display: flex;
    flex-direction: row;  /* Align items horizontally */
    overflow-x: auto;
    gap: 40px; /* Space between items */
    padding-top: 20px; /* Prevents cutoff of first item */
    padding-bottom: 50px; /* Prevents cutoff of last item */
    padding-left: 40px; /* Prevents cutoff left item */
    padding-right: 40px; /* Prevents cutoff left item */
    scroll-snap-type: x mandatory;
    
    
    /* Hide scrollbar (Firefox/IE) */
    scrollbar-width: none;
    -ms-overflow-style: none;
}

/* Hide scrollbar (Chrome/Safari) */
.project-grid::-webkit-scrollbar {
    display: none;
}

.project-item {
    position: relative;
    width: clamp(400px, 80vw, 1000px); /* Scales the width between 250px and 400px based on viewport */
    height: auto;  /* Height will scale automatically to maintain aspect ratio */
    aspect-ratio: 16 / 10; /* Define a fixed aspect ratio of 16:9 */
    flex-shrink: 0;
    overflow: hidden;
    transition: transform 0.3s ease;
    border-radius: 0px; /* Rounded corners */
    scroll-snap-align: center;  /* Ensures each item aligns to center while scrolling */
    border: 4px solid black; /* Adds a black outline */
    box-shadow: 2px 2px 0px 2px rgba(0, 0, 0, 1); /* Hard shadow with no blur, sharp edges */
}

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

.project-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-item:hover::after {
    opacity: 1;
}

.project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-title {
    position: absolute;
    bottom: 10px;
    left: 20px;
    right: 20px;
    color: white;
    font-family: 'Rubik Mono One', sans-serif;
    font-size: clamp(44px, 6vw, 76px); /* min size, dynamic scaling, max size */
    font-weight: 400;
    text-shadow: 3px 3px 0px black;
    z-index: 2;

}

/* Footer section */
    .footer {
        display: flex;
        flex-direction: column;
        height: 100vh;            /* Make footer take full viewport height */
        background-color: #fff;
        padding: 20px;
    }

    .footer-text {
        font-size: clamp(24px, 6vw, 60px); /* min size, dynamic scaling, max size */
        font-weight: 300;
        line-height: 1.3;
        margin-top: 100px;
        margin-bottom: 30vh;
        
    }

    .contact {
    
    }

    .contact a {
        color: #0099ff;
        text-decoration: none;
        font-family: 'Rubik Mono One', sans-serif;
        font-size: clamp(24px, 3vw, 60px); /* min size, dynamic scaling, max size */
        font-weight: 600;
        text-transform: uppercase;
        text-align: center;
        display: block;
        word-wrap: break-word;
    }

    .rights {
        position: absolute;
        bottom: 20px;
        font-size: 12px;
        width: 100%;
        text-align: center;
    
    }
