@import url('https://fonts.googleapis.com/css2?family=Familjen+Grotesk:ital,wght@0,400..700;1,400..700&display=swap');

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html, body {
  /* height: 100%;
  width: 100%; */
  font-family: "Familjen Grotesk", sans-serif;
  background: #000;
  color:#fff;
}

a{
    text-decoration: none;
    color:#fff;
}

ul{
    list-style:none;
}

/* Header/Navbar */
.main-header{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 3;
    display:flex;
    justify-content: space-between;
    align-items: center;
    text-transform: uppercase;
    height: 100px;
    padding: 0 30px;
}
.logo{
    width:210px;
    height:auto;

}
.logo img{
    display:block;
    width:100%;
    height:auto;
}

/* Desktop Menu */
.desktop-main-menu{
    margin-right: 50px;
}
.desktop-main-menu ul{
    display: flex;
}

.desktop-main-menu ul li{
    position :relative;
    margin-right: 20px;
    padding-bottom: 2px;
}
/* Menu Item bottom border   */
.desktop-main-menu ul li a::after{
    content:'';
    position: absolute;
    bottom: 0;
    left:0;
    width:100%;
    height:1px;
    background: #fff;
    transform: scaleX(0); /* Added for hover effect */
    transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1) ;
    transform-origin: right center;

}
.desktop-main-menu ul li a:hover::after {
    transform: scaleX(1);
    transform-origin: left center;
    transition-duration: 0.4s;
}

section {
    position: relative;
    height: 100vh;
    min-height: 100vh; /* Fallback for mobile browsers */
    background-position: center center; /* Fixed typo */
    background-repeat: no-repeat;
    background-size: cover;
    text-transform: uppercase;
    /* Ensure sections stack properly */
    width: 100%;
    overflow: hidden;
}
.section-inner{
    position: absolute;
    bottom:170px;
    left: 110px;
    max-width:560px;
    color:#fff
}

.section-inner h4{
    font-size: 22px;
    margin-bottom: 5px;
    font-weight: 300;
    animation:fadeInUp 0.5s ease-in-out ;
}
.section-inner h2{
    font-size: 55px;
    font-weight: 700;
    margin-bottom: 20px;
    animation:fadeInUp 0.5s ease-in-out 0.2s;
    animation-fill-mode:both;

}
.section-inner a{
    animation:fadeInUp 0.5s ease-in-out 0.4s;
    animation-fill-mode:both;   /*stop from showing at start*/


}

/* https://i.pinimg.com/originals/30/9f/19/309f19fe5d05cf61f4ba04444ac828a6.gif */

/* https://media.giphy.com/media/v1.Y2lkPWVjZjA1ZTQ3dms1YTNhdDc3cHNieXNqMnNoajJqdWg3OGV3azRrdzU2djdjdzh0aCZlcD12MV9naWZzX3NlYXJjaCZjdD1n/1xmAD3nHPSxWK8mtF8/giphy.gif */
/* Background Images */
.section-a{
    background-image: url(https://raw.githubusercontent.com/danielkim2711/spacex-clone/refs/heads/main/assets/images/section-d.webp);
}
.section-b{
    background-image: url(https://i.pinimg.com/originals/30/9f/19/309f19fe5d05cf61f4ba04444ac828a6.gif);
}
.section-c{
    background-image: url(https://sxcontent9668.azureedge.us/cms-assets/assets/Axiom_4_outsidehangar_IMG_3412_desktop_f4cf1ef34c.jpg);
}
.section-d{
    background-image: url(https://raw.githubusercontent.com/danielkim2711/spacex-clone/refs/heads/main/assets/images/section-e.webp
);
}
.section-e{
    background-image: url(https://sxcontent9668.azureedge.us/cms-assets/assets/Eva_Suit_Desktop_alternate_1cf9bae18e.jpg);
}
.section-f{
    background-image: url(https://sxcontent9668.azureedge.us/cms-assets/assets/Eva_Suit_Desktop_alternate_1cf9bae18e.jpg);
    
}

.btn{
    position: relative;
    display: inline-block;
    cursor: pointer;
    text-align: center;
    min-width: 130px;
    padding: 15px 50px;
    margin-top: 10px;
    border: 2px solid white;
    font-weight: bold;
    overflow:hidden;
    text-transform: uppercase;
    z-index: 2;
}
.btn:hover span{
    color:black;
    /* background-color: #fff;
    filter: hue;
    /* transform: scale(1); */
    /* transition-duration: 0.6s;  */
}
.btn .hover{
    position:absolute;
    top:0;
    left:0;
    height: 100%;
    width: 100%;
    background-color: #fff;
    color:black;
    z-index:-1;
    transform: translateY(100%);
    transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1) ;
}
.btn:hover .hover{
    transform:translateY(0);
    
}
/* .btn::after{
    position: absolute;
    transition : 2s all ease-in-out;
} */
/* .subheader{
    background-color: white;
    color:white; 

} */

.scroll-arrow{
    position: absolute;
    bottom:40px;
    left: 50%;
    transform: translateX(-50%);
    animation: fadeBounce 5s infinite;
}
/* Footer  */
footer{
    position: relative;
    padding:55px 0;

}
footer ul{
    display:flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}
footer ul li{
    margin-right: 30px;
    color: #aaa;
    text-transform: uppercase;
    font-size: 15px;
    line-height: 2.5;
}
footer ul li a{
    color: #fff;
    transition: color 0.6s;
}
footer ul li a:hover{
    color: #aaa;
    
}

/* hamburger */
.hamburger{
    position: fixed;
    top:40px;
    right: 20px;
    z-index: 10;
    cursor: pointer;
    width:20px;
    height:20px;
    background :none;
    border:none;
}
.hamburger-top,
.hamburger-middle,
.hamburger-bottom{
    position: absolute;
    width:20px;
    height: 2px;
    top:0;
    left:0;
    background:#fff;
    transition: all 0.5s;
}

.hamburger-middle{
    transform:translateY(5px);
}
.hamburger-bottom{
    transform:translateY(10px);
}

/* Transition Hamburger to X when open */
.open{
    transform:rotate(90deg);
}
.open .hamburger-top{
    transform: rotate(45deg) translateY(6px) TranslateX(6px);
}

.open .hamburger-middle {
    display:none;
}
.open .hamburger-bottom{
    transform: rotate(-45deg) translateY(6px) TranslateX(-6px);

}

/* Overlay */
.overlay-show{
    position: fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background-color: rgba(0,0,0,0.5);
    z-index:3;
}
/* Stop Body Scroll */
.stop-scrolling {
    overflow: hidden;

}
/* Hiode Mobile Main Menu */
.mobile-only{
    display:none;
}


/* Mobile menu */
.mobile-main-menu{
    position: fixed;
    top: 0;
    right: 0;
    width: 350px;
    height: 100%;
    background:#000 ;
    z-index: 4;
    display:flex;
    align-items: center;
    justify-content: center;
    transform: translate(100%);
    transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1) ;
}

/* Bring Menu from right */
.show-menu{
    transform: translateX(0);
}

.mobile-main-menu ul{
    display:flex;
    flex-direction:column;
    align-items: end;
    justify-content: center;
    padding: 50px;
    width:100%;
}

.mobile-main-menu ul li{
    margin-bottom: 20px;
    font-size: 18px;
    text-transform:uppercase;
    border-bottom: 1px #555 dotted;
    width:100%;
    text-align: right;
    padding-bottom: 8px;
}
.mobile-main-menu ul li a{
    color:#fff;
    transition:color 0.6s;
}

.mobile-main-menu ul li a:hover{
    color:#aaa;
}

/* Inner Pages */









.section-animate {
  animation: fadeIn 2s ease-in-out;
}

.section-inner-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-transform: uppercase;
  text-align: center;
  width: 80%;
}

.section-inner-center h3 {
  font-size: 100px;
  margin-bottom: 15px;
  animation: fadeInUp 0.5s ease-in-out;
}

.section-inner-center p {
  font-size: 20px;
  animation: fadeInUp 0.5s ease-in-out 0.2s;
  animation-fill-mode: both;
}

/* Stats */
.stats {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  text-transform: uppercase;
}

.stats div span {
  font-size: 160px;
}

.stats div h4 {
  font-size: 24px;
  font-weight: 300;
}


@keyframes fadeInUp{
    0%{
        opacity:0%;
        transform: translateY(140px);
    }
    100%{
        opacity:1;
        transform: translateY(0);
    }
}
@keyframes fadeInDown{
    0%{
        opacity:0%;
        transform: translateY(-140px)
    }
    100%{
        opacity:1;
        transform: translateY(0);
    }
}

@keyframes fadeBounce {
    0%,
    20%,
    50%,
    80%,
    100%{
        opacity: 0;
        transform: translateY(-20px);
    }
    40%{
        opacity: 1;
        transform: translateY(0);
    }
    
}


/* Media queries */
@media(max-width:960px){
    .desktop-main-menu{      /* Hide desktop menu */
        display:none;
    }
    /* Show mobile main items */
    .mobile-only{
        display:block;
    }
    .section-inner-center h3 {
    font-size: 75px;
    }
}
@media(max-width:600px){
    .section-inner{
        bottom: 75px;
        left:20px
    }
    .section-inner h2{
        font-size: 40px;
    }
    footer ul li:first-child{
        position: absolute;
        top: 30px;
        left:50px;
        transform: translate(-50%,-50%)
    }
    footer ul li{
        margin-right:15px;
    }
    .logo{
        width:150px;
        margin:auto;
    }
    .section-inner-center h3 {
        font-size: 50px;
    }

    /* Stats */
    .stats {
        flex-direction: column;
    }

    .stats div {
        margin-bottom: 20px;
    }
    
}



















































































































































































































































