.landing {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    color: #fff;
    background: rgb(29,25,102);
    background: var(--gray-gradient);
    overflow: hidden;
}

.background-image {
    position: absolute;
    z-index: 0;
    width: 100vw;
    height: 100vh;
    background-image: url('/images/background.png');
    background-size: cover;
    background-position: center;
    opacity: 0.5;
    background-blend-mode: multiply;
}

.background-image img {
    object-fit: cover;
    align-items: bottom;
    mix-blend-mode: difference;
}

@media (orientation: landscape) {
    .background-image img {
        width: 100vh;
        height: auto;
    }
}
@media (orientation: portrait) {
    .background-image img {
        height: 100vh;
        width: auto;}
}

.foreground-image {
    position: absolute;
    z-index: 0;
}

.foreground-image img {
    max-width: 100%;
    height: 100vh;
    max-height: 100vh;
    object-fit: cover;
    align-items: bottom;
}

.landing-text {
    position: absolute;
    bottom: 5vh;
    text-align: center;
}

#namesvg {
    position: relative;
    filter: drop-shadow(0px 0px 5px #1d171796);
    width: 800px;
    max-width: 90vw;
    margin-bottom: -5em;
}

#namesvg path{
    fill: transparent;
    stroke: white;
    stroke-width: 1;
    stroke-dasharray: 1100;
    stroke-dashoffset: 1100;
    animation: textAnimation 3.5s ease-in 1 forwards;
}


.landing-text h1 {
    position: relative;
    font-family: 'Yatra One', system-ui;
    font-size: 2em;
    font-weight: 150;
    color: rgb(241, 240, 240);
    text-shadow: 0px 0px 10px #000000;
    line-height: 1.1;
    opacity: 0;
    animation: fadeIn 1s ease-in 1 forwards;
    animation-delay: 0.6s;
}

.landing-text h2 {
    position: relative;
    margin-top: 10vh;
    font-family: 'Yatra One', system-ui;
    font-size: 3.5em;
    font-weight: 150;
    color: rgb(241, 240, 240);
    text-shadow: 0px 0px 10px #000000;
    opacity: 0;
    animation: fadeIn 1s ease-in 1 forwards;
    animation-delay: 0.6s;
}

.landing-text h3 {
    position: relative;
    font-family: 'Yatra One', system-ui;
    font-size: 1.5em;
    font-weight: 150;
    color: rgb(241, 240, 240);
    text-shadow: 0px 0px 10px #000000;
    opacity: 0;
    animation: fadeIn 1s ease-in 1 forwards;
    animation-delay: 0.6s;
    font-stretch: 200%;
}

@keyframes fadeIn {
    from {
      opacity: 0;
      transform: translateY(10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }


#arrowsvg {
    position: absolute;
    translate: -50% -1em;
    animation: fadeIn 1s ease-in 1 forwards;
    animation-delay: 0.6s;
    opacity: 0;
}

#arrowsvg path {
    filter: drop-shadow(0px 0px 25px #1d171796);
    fill: rgb(241, 240, 240);
}

@keyframes textAnimation {
    0% {
        stroke-dashoffset: 1100;
    }
    80% {
        fill: transparent;
        box-shadow: none;
    }
    90% {
        stroke-width: 1;
    }
    100% {
        stroke-dashoffset: 0;
        fill: #fff;
        stroke-width: 0;
    }
}

.nav {
    background-color: transparent;
    color: white;
    position: fixed;
    top: 20px;
    width: 100%;
    padding-left: 5vw;
    height: 70px;
    display: flex;
    justify-content: left;
    align-items: center;
    gap: 20px;
}

.nav.top {
    position: fixed;
    top: 0;
    background: var(--gray-gradient);
    height: 70px;
    z-index: 1000;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.3);
}

.nav a {
    text-decoration: none;
    font-size: 1em;
    color: white;
    background-color: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: 15px;
}

.nav.top a {
    font-weight: 600;
    text-decoration: none;
}

.nav a:hover {
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
}

.logo {
    position: fixed;
    top: 20px;
    right: 5vw;
    width: 200px; /* Larger size for landing view */
    height: auto;
    transition: all 0.3s ease;
    z-index: 1001;
    opacity: 0;
}

.logo.top {
    width: 180px; /* Smaller size for sticky view */
    top: 10px;
    opacity: 1;
}

/* Media query for smaller screens */
@media (max-width: 600px) {

    .logo {
        position: fixed;
        top: 10px;
        right: 5vw;
        width: 180px;
        transition: all 0.3s ease;
        opacity: 0;
    }

    .logo.top {
        opacity: 1;
         /* Adjusted size for sticky view on smaller screens */
    }
}