
/* font */
@import url('https://fonts.googleapis.com/css2?family=Karla:ital,wght@0,200..800;1,200..800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&display=swap');


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

body {
    background-color:  white;
    font-family: "Karla", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

/*Adding shadow on botton hobber */
:root{
    --bg--color: rgb(225, 225, 225);
    --primary-color: black;
    --second-color: #196fe0;
    --hover-bg-color: #efefef;
    --shadow-1: 0px 2px 10px rgb(0, 0, 0, 0.3);
    --shadow-2: 0px 2px 10px rgba(26, 112, 224,0.4);
}

/* Remove text decoration(like undelines from links) */
a{
    text-decoration: none;
}
/* Remove dots */
ul{
    list-style-type: none;
}

/* Navigation var */
nav{
    display: flex;
    align-items: center;
    padding-inline: 3vw;
    height: 50px;
    padding-right: 20px;
    margin-left: auto;
}

/* Logo */
.logo{
    position: fixed;
    top: 20px;
    left: 40px; /* distance from left edge */
    transform: translateY(-50%) ;/* rotate vertical */
    transform-origin: left top;
    z-index: 1000;
    font-family: "Alata", sans-serif;
    font-weight: 400;
    font-style: normal;
    color: black;
    font-size: 32px;
    display: flex;
    align-items: center;
    letter-spacing: 3px;
    opacity: 0.8;
    pointer-events: none; /* don’t block clicks */
}

.logo span{
    padding: 0 10px;
    font-size: 20px;
    margin-top: -2.5px;
}

/* menu */
.nav-main-menu{
    display: flex;
    justify-content: flex-end;
    padding-right: 20px;
    margin-left: auto;
}

.hideOnMobile{
    display:flex;
    margin-top:0px;
    margin-top:30px;
    margin-inline: 5px;
    transition: .3s;
    justify-content: flex-end;
    height: 100%;
    padding: 0 25px;
    text-decoration: none;
    align-items: center;
    color: black;
    font-size: 20px;
}

.hideOnMobile:hover{
    color: var(--text-color, #6F8FAF);
}

.hideOnMobile span{
    margin-right: 5px;
}


/* mobilemenu */
.sidebar{
    position: fixed;
    top: 0;
    right:0;
    row-gap: 20px;
    height: 100vh; /* Full viewport height */
    width: 100vw;  /* Full viewport width */
    background-color:  rgba(255,255, 255, 0.2);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: -10px 0 10px rgba(0, 0, 0, 0.1);
    flex-direction: column;
    align-items: center;
    justify-content: flex-start; 
    z-index: 7000;
    display: none;
}

.sidebar a{
    display: block;              /* Make links fill available width */
    text-align: center;          /* Center the text horizontally */
    color: black;
    font-size: 20px;
    width: 100%;
    padding: 12px 0;             /* Add a bit of spacing */
    text-decoration: none;
}

.sidebar a:hover{
    color: var(--text-color, #6F8FAF)
}


/* Image gallery */

.vertical-scroll {
    position: fixed;
    left: 0;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    scroll-snap-type: y mandatory;
    z-index: 1;
}

.vertical-scroll::-webkit-scrollbar {
    display: none;
}

.vertical-scroll {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.scroll-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100vh;
    position: relative;
    scroll-snap-align: start;
    flex-shrink: 0;
}

.scroll-images {
    margin-top: -100px; /*want the images to appear higher on the page (closer to the top, less vertical space above them) */
    display: flex;
    gap: 20px;
    width:80%;
    height: 60%;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    padding: 20px;
}

.scroll-images::-webkit-scrollbar {
    display: none;
}

.scroll-images {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.scroll-images img {
    width: 100%;
    height: 100%;
    object-fit: scale-down;
    scroll-snap-align: start;
    flex-shrink: 0;
}

.scroll-images a {
    width: 100%;
    height: auto;
    object-fit: scale-down;
    scroll-snap-align: start;
    flex-shrink: 0;
}

.fixed-text {
    position: absolute;
    bottom: 10%;
    right: 10%;
    transform: translateX(-50%);
    text-align: center;
    font-size: 20px;
    color: black;
    font-family: "Manrope", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    z-index: 10;
    pointer-events: none;
    letter-spacing: 4px;
}

.left-fixed-text {
    position: fixed;
    top: 10%;
    left: 30px; /* adjust to move closer/farther from edge */
    transform: translateY(-50%) ; /* vertical rotation */
    transform-origin: left top;
    z-index: 100;
    color: black;
    font-size: 16px;
    font-family: "Manrope", sans-serif;
    letter-spacing: 3px;
    pointer-events: none; /* ensures it doesn’t block clicks */
    opacity: 0.6; /* optional — make it subtle */
}

.menubutton{
    z-index: 6000;
    display: none;
    cursor: pointer;
}

@media(max-width: 1024px){
    .logo {
        padding: 0 10px;
    }
    .hideOnMobile{
        display: none;
    }
   
    .menubutton{
        position: fixed;
        display: block;
        right: 0px;
        font-size: 40px; /* Slightly smaller for mobile but still bigger than before */
        top: 0px; /* Position it higher on small screens too */
    }


    .sidebar{
        width: 100%;
        height: 100%;
    }

    .sidebar a{
        left: 50%;
    }

    .fixed-text{font-size: 20px;}
    .left-fixed-text{font-size: 10px;}
}


@media(max-width: 434px){
    .logo{
        left:15px;
        font-size: 20px;
    }
    .logo span{
        padding: 0 5px;
        font-size: 10px;
    }
 
    .sidebar{
        width: 100%;
        height: 100%;
    }

    .sidebar a{
        left: 50%;
    }

    .scroll-images {
        width: 90%;
        height: 50%;
        gap: 0;
        padding: 20px 0;
        margin-top: -50px; /* Reduced from -100px */
    
    }

    .scroll-images a,
    .scroll-images img {
        width: 100%;
        min-width: 100%;
        height: 100%;
        object-fit: scale-down;
    }

    .fixed-text{
        font-size: 15px;
        bottom: 20%; /* Moved up from 10% */
        right: 50%; /* Center horizontally */
        transform: translateX(50%); /* Offset the centering */
    }
    .left-fixed-text{font-size: 10px;}
}