@import url(https://fonts.googleapis.com/css2?family=Bruno+Ace&family=Michroma&family=Quattrocento+Sans:ital,wght@0,400;0,700;1,400;1,700&family=Raleway:ital,wght@0,100..900;1,100..900&family=Stalinist+One&display=swap);

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

:root{
    --accent-1: #6d56ec;
    --accent-2: #4b70e0;
    --accent-3: rgb(177, 109, 240);
    --accent-4: #58d5d3;
}

body {
font-family: "Bruno Ace","Quattrocento";
overflow-x: hidden;       /* Prevents horizontal scroll, but allows vertical */
overflow-y: auto;         /* Allows vertical scroll */
}

img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

iframe{
    width: 100%;
    height: 100%;
    object-fit: contain;
}

h1 {
    color: #fcf4e4;
    font-size: 7rem;
    font-weight: 400;
    letter-spacing: -0.6rem;
    line-height: 1;

}

h2{
    text-transform: uppercase;
    font-family: "Bruno Ace";
    font-size: 5rem;
    font-weight: 700;
    line-height:1;
    color: #4b412b;
    

}

a , p {
    position: relative;
    text-decoration: none;
    color: #f2e5cc;
    font-size: 1rem;
    font-weight: 300;
    user-select: none;
    font-family: "Raleway";
}

.card-description p{
    color: #4b4332;
    font-weight: 500;
    font-size: 15rem;
}

.sticky-cards {
    position: relative;
    width: 100vw;
    background-color: #191919;
    
}

.card{
    position: sticky;
    width: 100%;
    height: 100vh;
    transform-style: preserve-3d;
    perspective: 1000px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-inner{
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    transform-origin: 50% 100%;
    transform: translateZ(0);
    will-change: transform;
    text-align: center;

    
}



#card-1 .card-inner{

    background-image: url(/Images/projects\ background.jpg);
    background-color: rgba(221, 215, 188, 0.096);
     background-blend-mode: darken;
    

}
#card-2 .card-inner{
    background-image: url(/Images/projects\ background.jpg);
    background-color: rgba(221, 215, 188, 0.096);
     background-blend-mode: darken;
}
#card-3 .card-inner{
    background-image: url(/Images/projects\ background.jpg);
     background-color: rgba(221, 215, 188, 0.096);
     background-blend-mode: darken;
}
#card-4 .card-inner{
    background-image: url(/Images/projects\ background.jpg);
    background-color: rgba(221, 215, 188, 0.096);
     background-blend-mode: darken;
}

.card-info{
    width: 25%;
    padding: 1em;
    text-align:left;
}
.card-info p{
    font-size: 0.9rem;
}
.card-title h2{
    font-size:5rem;
    padding: 0.5rem 0;
}
.card-description{
    width: 60%;
    margin:0% auto 2em auto;
}

.card-description p{
   font-size: 1.5rem;
}

.card-image {
  width: 100%;
  max-width: 1000px; 
  height: 500px;/* Adjust based on your design */
  aspect-ratio: auto; /* This creates the 1080x1920 ratio */
  margin:0 auto 4em auto;
  overflow: hidden;
  background-color: #191919;
}

.card-image iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


.card-inner::after{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #403d36;
    opacity: var(--after-opacity, 0);
    will-change: opacity;
    z-index: 2;
    pointer-events: none;
    
}


nav{
    position: fixed;
    width: 100vw;
    padding: 1.5em 2.5em;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 2;
}

.logo img{
    width: 1.5rem;
    height: 1.5rem;
}

.menu-toggle {
    position: relative;
    padding: 1.5em 2.5em;
    cursor: pointer;
    font-family: "Raleway";
}
.menu-toggle p{
    position: absolute;
    transform-origin: top left;
    will-change: transform, opacity;
    margin: 0;
    font-weight: 700;

}

.menu-overlay{
    position: fixed;
    width: 100vw;
    height: 100vh;
    background-color: #191919;
    z-index: 1;
}

.menu-content{
    position: relative;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    transform-origin: left bottom;
    will-change: transform, opacity;
}
.menu-items, 
.menu-footer{
    width: 100%;
    padding: 2.5em;
    display: flex;
    gap: 2.5em;
}

.col-lg{
    flex: 3;
}
.col-sm{
    flex: 2;
}

.menu-items .col-lg{
    display: flex;
    justify-content: center;
    align-items: center;
}

.menu-preview-img {
    position: relative;
    width:45% ;
    height: 100%;
    overflow: hidden;

}

.menu-preview-img img{
    position: absolute;
    will-change: transform, opactity;
}

.menu-items .col-sm{
    padding:2.5em 0;
    display: flex;
    flex-direction: column;
    gap: 2.5em;
}
.menu-links, 
.menu-socials{
    display: flex;
    flex-direction: column;
    gap: 0.5em;
}
.link , 
.social{
    padding-bottom: 6px;
    clip-path: polygon(0 0, 100% 0,100% 100%, 0 100%);
}

.link a, 
.social a{
    display: inline-block;
    will-change: transform;
    transition: 0.2s;
}

.link a{
    font-size: 3.5rem;
    letter-spacing: -0.02rem;
}

.social a{
    color: #989191
}

.social a:hover{
    color:#ffffff
}

.menu-footer{
    position: absolute;
    bottom: 0;
}
.menu-footer .col-sm{
    display: flex;
    justify-content: space-between;
}

.link a::after,
.social a::after,
.menu-footer a::after{
    position: absolute;
    content: "";
    top: 102.5%;
    left:0;
    width: 100%;
    height: 2px;
    background: #91ff5a;
    transform: scaleX(0);
    transform-origin: right;
    transition: transfrom 0.05s cubic-bezier(0.6, 0, 0.4, 1);
}


.link a:hover::after,
.social a:hover::after,
.menu-footer a:hover::after{
    transform: scaleX(1);
    transform-origin: left;
}
.container{
    position: relative;
    width: 100vw;
    height: 100vh;
    will-change: transform;
    transform-origin: right top;
}

/* Hero sectipn */
.hero{
    position: relative;
    width: 100vw;
    height: 100vh;
    padding: 2.5em;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}
.hero-img{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100svh;
    z-index: -1;
}
.hero h1{
    width: 80%;
}

.menu-toggle p#menu-close{
    opacity: 0;
    transform: translateX(-5px) translateY(10px) rotate(5deg);
}
.link a, 
.social a{
    transform: translateY(120%);
    fill-opacity: 0.25;
}

.menu-content{
    transform: translateX(-100px) translateY(-100px) scale(1.5) rotate(-15deg);
    opacity: 0.25;
}
.menu-overlay{
    clip-path: polygon(0% 0%, 100% 0%, 100% 0%, 0% 0%);
}



@media (max-width:900px){
    .menu-preview-img {
        width: 80vw;
        height: auto;
    }
    .menu-preview-img img{
        width: 100%;
        height: auto;
        position: static;
    }
    .menu-items .col-lg{
        display:none;
    }
    h2, 
    .card-description{
        width: cal(100% - 4rem);
        font-size: 3rem;
        margin: 0.5rem auto;

    }
    .card-info{
        width: 75%;
        margin: 0 auto;
        padding: 4em 2em;
        text-align: center;
    }

    .card-title h2{
        font-size: 3rem;
    }

    .card-description p {
        font-size: 1rem;
    }

}



/*@media (max-width:900px){
    .hero h1{
        width: 100%;
        font-size: 4rem;
        letter-spacing: 0;
    }
    .menu-items .col-lg{
        display:none;
    }
    .link a::after,
    .social a::after,
    .menu-footer a::after{
        display: none;

    }
}