body{
    margin:0;
    font-family:'Poppins',sans-serif;
    background:#f5efe6;
    color:#2b2b2b;
}

header{
    position:fixed;
    top:0;
    width:100%;
    background:#8b0000;
    color:white;
    padding:12px 60px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    z-index:1000;
    transition:0.3s;
    box-sizing: border-box;
}

header.scrolled{
    background:rgba(139,0,0,0.3);
    backdrop-filter:blur(8px);
}

.logo{
    font-family:'Pacifico',cursive;
    color:white;
    text-decoration:none;
    line-height:1.1;
    font-size:18px;
    display:inline-block;
    flex-shrink: 0;
}

.logo:hover{
    animation:pulseOnce 0.6s ease;
}

.logo div:last-child{
    font-size:22px;
}

nav{
    position:absolute;
    left:50%;
    transform:translateX(-50%);
    display:flex;
    gap:30px;
}

nav a{
    color:white;
    text-decoration:none;
    white-space:nowrap;
    position:relative;
}

nav a::after{
    content:"";
    position:absolute;
    width:0;
    height:2px;
    background:#f5efe6;
    left:0;
    bottom:-4px;
    transition:0.3s;
}

nav a:hover::after{
    width:100%;
}

.burger{
    display:none;
    flex-direction:column;
    cursor:pointer;
    position:relative;
    z-index:3000;
    width: 30px;
    justify-content: center;
}

.burger span{
    width:100%;
    height:3px;
    background:white;
    margin:3px 0;
    border-radius:2px;
    transition:0.4s;
}

.burger.active span:nth-child(1){
    transform:rotate(45deg) translate(6px,6px);
}

.burger.active span:nth-child(2){
    opacity:0;
}

.burger.active span:nth-child(3){
    transform:rotate(-45deg) translate(6px,-6px);
}

.mobile-menu{
    position:fixed;
    top:0;
    left:-100%;
    width:75%;
    height:100%;
    background:#8b0000;
    padding:80px 20px;
    display:flex;
    flex-direction:column;
    transition:0.5s ease;
    box-shadow:4px 0 15px rgba(0,0,0,0.2);
    z-index:2050;
}

.mobile-menu a{
    color:white;
    text-decoration:none;
    font-size:18px;
    margin:15px 0;
}

.mobile-menu.active{
    left:0;
}

.close-btn{
    position:absolute;
    top:20px;
    right:20px;
    font-size:26px;
    color:white;
    cursor:pointer;
}

.hero{
    height:100vh;
    display:flex;
    justify-content:center;
    align-items:center;
    flex-direction:column;
    text-align:center;
    padding:0 20px;
    background:linear-gradient(rgba(0,0,0,0.4),rgba(0,0,0,0.4)),url('https://images.unsplash.com/photo-1524995997946-a1c2e315a42f');
    background-size:cover;
    background-position:center;
    color:white;
}

.hero h1{
    font-size:32px;
}

.hero p{
    font-size:15px;
    max-width:400px;
}

.hero button{
    margin-top:20px;
    padding:10px 20px;
    border:none;
    background:#8b0000;
    color:white;
}

footer{
    background:#8b0000;
    color:white;
    text-align:center;
    padding:20px;
}

@media(max-width:1024px){
    header{
        padding:10px 25px;
    }
    nav{
        display:none;
    }
    .burger{
        display:flex;
    }
}

@media(max-width:768px){
    .hero h1{
        font-size:28px;
    }
    .hero p{
        font-size:14px;
    }
}

@media(max-width:390px){
    header{
        padding:10px 15px;
    }
    .hero h1{
        font-size:24px;
    }
    .hero p{
        font-size:13px;
    }
    .mobile-menu{
        width:85%;
    }
}

body::-webkit-scrollbar {
    width:10px;
}

body::-webkit-scrollbar-track {
    background:#f5efe6;
    border-radius:10px;
}

body::-webkit-scrollbar-thumb {
    background-color:#8b0000;
    border-radius:10px;
    border:2px solid #f5efe6;
}

body::-webkit-scrollbar-thumb:hover {
    background-color:#a30000;
}

body {
    scrollbar-width: thin;
    scrollbar-color: #8b0000 #f5efe6;
}

@keyframes pulseOnce{
    0%{transform:scale(1);}
    50%{transform:scale(1.1);}
    100%{transform:scale(1);}
}