@font-face {
    font-family: 'D-DIN Condensed Bold';
    src: url('D-DINCondensed-Bold.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'D-DIN Condensed';
    src: url('D-DINCondensed.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Acumin';
    src: url('AcuminVariableConcept.otf') format('opentype');
    font-weight: 100;
    font-style: normal;
}

@font-face {
    font-family: 'Acumin regular';
    src: url('AcuminVariableConcept.otf') format('opentype');
    font-weight: 150;
    font-style: normal;
}



#section2 .white{
    height: 100%;
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color:white;
    font-family: 'Acumin', Arial, sans-serif;
    font-weight: normal; 
    text-align: justify;
    line-height: 1.6;
    font-size: 1.2em;
}

#Photography,
#Architecture {
    display: inline-flex;
    position: absolute;
    color: white;
    bottom: 10vh;
    font-size: 1.5em;
    font-weight: 100;
    font-family: 'D-DIN Condensed', Arial, sans-serif;
    letter-spacing: 0.08em;
    align-items: center;
    z-index: 11;
}

#Photography { left: 7vw; }
#Architecture { right: 7vw; }

#Photography::before{
    content: '';
    display: inline-block;
    width: 1.5vw;
    height: 1.5vw;
    margin-right: 0.5rem;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='%23ffffff' d='M9.29 6.71L13.58 11l-4.29 4.29 1.42 1.42L16.42 11l-5.71-5.71z'/></svg>");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    transform: scaleX(-1);
    transition: transform 0.18s ease, opacity 0.18s ease;
}

/* Photography hover: shift arrow left */
#Photography:hover::before {
    transform: scaleX(-1) translateX(0.7vw);
    opacity: 0.95;
}

/* Allow JS to trigger the same arrow-shift visual when hovering the side buttons */
#Photography.hovering-arrow-left::before {
    transform: scaleX(-1) translateX(1.5vw);
    opacity: 0.95;
}

#Architecture.hovering-arrow-right::after {
    transform: translateX(1.5vw);
    opacity: 0.95;
}

#Architecture::after{
    content: '';
    display: inline-block;
    width: 1.5vw;
    height: 1.5vw;
    margin-left: 0.5rem;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='%23ffffff' d='M9.29 6.71L13.58 11l-4.29 4.29 1.42 1.42L16.42 11l-5.71-5.71z'/></svg>");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    transition: transform 0.18s ease, opacity 0.18s ease;
}

#Architecture:hover::after {
    transform: translateX(0.7vw);
    opacity: 0.95;
}

h1{
    color:black; 
    font-family: 'D-DIN Condensed Bold', Arial, sans-serif;
    font-weight: normal; 
    text-align: center;
    font-size: 4vw;
    margin: 0;
}


h2{
    color: #9e2a23; 
    font-family: 'D-DIN Condensed', Arial, sans-serif;
    font-weight: normal; 
    text-align: center;
    font-size: 3vw;
    margin: 0;
}

@media (max-aspect-ratio: 3/4) {
    #section2 .white{
        width: 55%;
        height: 95%;
        font-size: 1.6vh;
    }
    h1 {   
        font-size: 10vw;
    }
    h2 {   
        font-size: 8vw;
    }
    #Architecture {
        font-size: 4vw;
        letter-spacing: 0.1em;
        right: 10vw;
        font-weight: 500;
    }
    #Photography {
        font-size: 4vw;
        letter-spacing: 0.1em;
        left: 10vw;
        font-weight: 500;
    }
    #Photography::before, #Architecture::after {
        width: 4vw;
        height: 4vw;
    }
}

#contact, .black {
    display: flex;
    justify-content: center;
    align-items: center;
    color:black;
    font-family: 'Acumin', Arial, sans-serif;
    font-weight: normal; 
    text-align: center;
    line-height: 1.6;
    font-size: 1.2em;
}

#number {
    font-weight: 900;
}

#h2contact {
    align-items: center;
    padding: 3em;
    position: absolute;
    top: 0vh;
    font-size: 2em;
}

#download {
    padding: 3em;
}

.scroll_down{
    position: absolute;
    bottom: 0vh;
    z-index: 10;
    
    display: flex; 
    justify-content: center;
    align-items: center;

    width: 100vw; 
    height: 15vh; 
    
    border: none;
    background-color: transparent;
    cursor: pointer;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    padding: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.0));
    transition: opacity 0.5s;
    filter: blur(20px);
    opacity: 0;
}

.scroll-down-icon {
    position: absolute;
    bottom: 5vh;
    width: 10vw; 
    height: 2vh;
    z-index: 9;

    background-image: url(Icons/scroll_down-01.png); 
    background-repeat: no-repeat;
    background-size: contain; 
    background-position: center;
    background-color: transparent;
    pointer-events: none;
}

#section2 .scroll-down-icon {
    background-image: url(Icons/scroll_down-white.png);
}

/* Flipped copy at top of section2 */
#section2 .scroll-up-icon {
    position: absolute;
    top: 3vh;
    left: 50%;
    transform: translateX(-50%) scaleY(-1);
    width: 10vw;
    height: 2vh;
    background-image: url(Icons/scroll_down-white.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    background-color: transpare nt;
    pointer-events: none;
}

/* Contact: red flipped copy positioned like section2 top */
#contact .scroll-up-icon {
    position: absolute;
    top: 3vh;
    left: 50%;
    transform: translateX(-50%) scaleY(-1);
    width: 10vw;
    height: 2vh;
    background-image: url(Icons/scroll_down-01.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    background-color: transparent;
    pointer-events: none;
}

.scroll_down:hover {
    opacity: 1;
}

.scroll_up{
    position: absolute;
    top: 0vh;
    
    display: flex; 
    align-items: center;
    justify-content: center;

    width: 100vw; 
    height: 15svh; 
    
    border: none;
    background-color: transparent;
    cursor: pointer;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    padding: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.0));
    transition: opacity 0.5s;
    filter: blur(20px);
    opacity: 0;
}

.scroll_up:hover {
    opacity: 0.7;
}

.scroll_left{
    position: absolute;
    left: 0vh;
    z-index: 12;
    
    display: flex; 
    align-items: center;
    justify-content: center;

    width: 10svw; 
    height: 100vh; 
    
    border: none;
    background-color: transparent;
    cursor: pointer;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    padding: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.0));
    transition: opacity 0.5s;
    filter: blur(20px);
    opacity: 0;
}

.scroll_left:hover{
    opacity: 0.7;
}

.scroll_right{
    position: absolute;
    right: 0vh;
    z-index: 12;
    
    display: flex; 
    align-items: center;
    justify-content: center;

    width: 10svw; 
    height: 100vh; 
    
    border: none;
    background-color: transparent;
    cursor: pointer;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    padding: 0;
    background: linear-gradient(to left, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.0));
    transition: opacity 0.5s;
    filter: blur(20px);
    opacity: 0;
}

.scroll_right:hover{
    opacity: 0.7;
}

/* quick pressed visual for nav buttons */
.scroll_left.pressed, .scroll_right.pressed {
    transform: scale(0.98);
    transition: transform 180ms ease;
    opacity: 0.9;
}

.vertical_scroller{
    height: 100vh;
    height: 100dvh; 
    overflow-y: scroll;
    overflow-x: hidden;
    scroll-snap-type: y mandatory; 
    scroll-behavior: smooth;
    scroll-snap-stop: always;

    -ms-overflow-style: none; 
    scrollbar-width: none;
}

.vertical_scroller > .section {
    height: 100vh;
    height: 100dvh; 
    width: 100%;
    scroll-snap-align: start; 
    /* Ensure the browser stops at every snap point (prevents skipping)
       Apply on the snap target so momentum doesn't jump multiple pages */
    scroll-snap-stop: always;
    flex-shrink: 0;
    margin: 0;
    padding: 0;
}
html::-webkit-scrollbar{
    display: none;
}

#section1{
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex; 
    align-items: center; 
    justify-content: center;
    flex-direction: column;
}

#section2{
    position: relative;
    background-color: #9e2a23;
    height: 100vh;
    width: 100%;
    display: flex; 
    align-items: center; 
    justify-content: center;
    flex-direction: column;
}

#contact{
    position: relative;
    height: 100vh;
    width: 100vw;
    display: flex;
    flex-direction: column;
}

/* Use the contact elements already present in `Web_portfolio.html`.
   Center `#mail` and `#number`; stack `#download` entries in bottom-right. */
#contact #mail, #contact #number, #insta {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    color: #000;
    font-family: 'Acumin', Arial, sans-serif;
    font-size: 2.6vh;
    margin: 0.5rem 0;
    padding: 1em;
    text-decoration: none;
}
#contact #mail { top: 40%; }
#contact #number { top: 46%; }
#insta { top: 52%; }

/* Style the download anchor links in the contact section to match previous layout */
#contact a.download-link, #download-portfolio, #download-cv {
    position: absolute;
    right: 3.5vw;
    margin: 0;
    font-family: 'D-DIN Condensed', Arial, sans-serif;
    color: #9e2a23;
    text-decoration: none;
    display: block;
    font-size: 1.5em;
    font-weight: 900;
}

#download-portfolio { bottom: 7.5vh; }
#download-cv { bottom: 4vh; }

@media (max-aspect-ratio: 3/4) {
    #download-portfolio, #download-cv {
        right: 8vw;
        font-size: 1em;
        font-weight: 700;
    }
    #h2contact {
        font-size: 1.5em;
    }
    #contact #number, #contact #mail {
        font-size: 5vw;
    }
}


html, body{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.menu_list {
    width: 10px;
    display: flex;
    color:rgb(0, 0, 0);
    font-family: 'Acumin', Arial, sans-serif;
    font-weight: normal; 
    text-align: justify;
    line-height: 1.6;
    list-style: none;
    margin: 0;
    border: none;
    padding: 0px;
}


/* --- A. Fixed Positioning for Header/Button --- */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 0%;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1.7vw;
    background-color: transparent; /* Keep background clear so the nav covers it */
}

/* Position the hamburger button in the top right */
.site-logo{
    width: 8vw;
    height: 5vh;
    position: absolute;
    right: 7vh;
    top: 3vh;
    /* Style the hamburger icon as before */
    background-image: url(Icons/Menu.png);
    background-repeat: no-repeat;
    background-size: contain; 
    background-position: center;
    background-color: transparent;
    pointer-events: all;
    cursor: pointer;
    transition: opacity 0.3s ease;
    opacity: 0.5;
    border: transparent;
}

.site-logo:hover {
    opacity: 1;
}

/* ... (Include your previous CSS for .hamburger-menu, ::before, and ::after here) ... */


/* --- B. Full-Screen Overlay (Hidden State) --- */
.full-screen-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: white; /* White background for the whole page */
    z-index: 99; /* Below the header, above the main content */
    
    /* Initially hide the menu completely */
    visibility: hidden;
    opacity: 0;

    /* Setup Flexbox to center the content */
    display: flex;
    justify-content: center; /* Horizontal center */
    align-items: center;     /* Vertical center */

    transition: opacity 0.3s ease, visibility 0.3s;


}

/* --- C. Open/Active State --- */
.full-screen-nav.is-open {
    visibility: visible;
    opacity: 1;
}

/* --- D. Navigation List Styling (Center Content) --- */
.full-screen-nav ul {
    position: relative;
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
    height: 100vh;
    width: 20vw;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 40vh; 
    align-items: center;
    row-gap: 0vh; /* space items visually without enlarging anchors */
}

.full-screen-nav li {
    margin: 0;
    display: flex;
    flex-direction: column;
    margin-left: 0;
    margin-right: 0;
    text-align: center;
    justify-content: center;
    padding: 1.6vh 0; /* provide vertical spacing while keeping anchor small */
}

@media (max-aspect-ratio: 3/4) {
    .full-screen-nav li {
        font-size: 1.3em;
    }
}

/* Keep each menu item in-flow but let its expanded content overlay below
   so opening one item doesn't shift the whole centered list. */
.full-screen-nav li.collapsible_list {
    /* keep titles and expanded content in normal flow so expansion pushes siblings */
    position: relative;
    align-items: center;
}

.full-screen-nav li.collapsible_list > .content {
    position: static;
    margin-top: 0.5rem;
    width: 50vw;
    max-height: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: max-height 0.35s ease;
    background: transparent;
    pointer-events: auto;
}


.menu {
    text-decoration: none;
    color: rgb(200, 200, 200);
    font-size: 2em;
    font-weight: normal;
    font-family: 'D-DIN Condensed', Arial, sans-serif;
    display: inline-block;
    padding: 6px 10px;
    text-align: center;
}

@media (max-aspect-ratio: 3/4) {
    .menu {
        font-size: 1.5em;
        padding: 4px 8px;
    }
}

.menu:hover {
    color: rgb(100, 100, 100)
}


.collapsible_list {
    background-color: transparent;
    color: inherit;
    font-size: inherit;
    font-family: inherit;
    cursor: pointer;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
}

.active, .collapsible_list:hover {
    background-color: transparent;
}

.collapsible_list:after {
  content: '\002B';
  color: white;
  font-weight: bold;
  float: none;
  margin-left: 5px;
}


.active:after {
  content: "\2212";
}

.content {
    max-height: 0;
    overflow: hidden;
    padding: 0 0px;
    transition: max-height 0.2s ease-out;
    background-color: transparent;
    
}

.content .nav_menu {
    z-index: 90;
    font-family: 'Acumin regular', Arial, sans-serif;
    color: rgb(200, 200, 200);
    font-size: 1.2em;
    font-style: normal;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    
}

@media (max-aspect-ratio: 3/4) {
    .content .nav_menu {
        font-size: 1em;
    }
}

.content .nav_menu:hover {
    color: rgb(100, 100, 100)
}