@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700&display=swap');

body {
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 80vh;
    background: url('images/bks1.jpg') no-repeat center center fixed;
    background-size: cover;
    font-family: 'Roboto', Arial, sans-serif;
    color: white;
    overflow: hidden;
}

h1 {
    font-size: 3vw;
    text-align: center;
    max-width: 90%;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.4rem;
    color: #fff;
    position: relative;
    animation: float 5s ease-in-out infinite, pastelShift 15s ease-in-out infinite;
    background: linear-gradient(to right, 
        #E0BBE4, #957DAD, #D291BC, #FEC8D8, #FFDFD3, 
        #E0BBE4, #957DAD, #D291BC, #FEC8D8, #FFDFD3);
    background-size: 500% 500%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.2), 
        0 6px 12px rgba(0, 0, 0, 0.1), 
        0 10px 20px rgba(0, 0, 0, 0.05);
}

h1::after {
    content: 'samson.zone';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    color: rgba(255, 255, 255, 0.2);
    z-index: -1;
    transform: scale(1.9);
    filter: blur(20px);
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

@keyframes pastelShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

footer {
    position: absolute;
    bottom: 20px;
    text-align: center;
    font-size: 0.9rem;
    font-family: 'Roboto', sans-serif;
    color: rgba(255, 255, 255, 0.85);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

footer span {
    font-weight: bold;
}

@media (max-width: 768px) {
    h1 {
        font-size: 6vw;
    }
    footer {
        font-size: 0.8rem;
    }
}

/* Hamburger Icon & Dropdown Menu */

.hamburger {
    position: fixed;
    top: 1rem;
    right: 1rem;
    width: 2rem;
    height: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    cursor: pointer;
    z-index: 999;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: white;
    border-radius: 2px;
    transition: 0.3s ease;
}

.dropdown-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 240px;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    transform: translateY(-100%);
    transition: transform 0.4s ease;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
    border-bottom-left-radius: 5px;
}

.dropdown-menu.open {
    transform: translateY(0);
}

.dropdown-menu ul {
    list-style-type: none;
    margin: 0;
    padding: 1rem;
}

.dropdown-menu li {
    margin: 0.5rem 0;
}

.dropdown-menu a {
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.dropdown-menu a:hover {
    color: #FFD700;
}

.dropdown-menu .projects-label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    color: #FFD700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: bold;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);
    opacity: 0.95;
}

.dropdown-menu a img {
    vertical-align: middle;
    margin-right: 5px;
    width: 20px;
    height: 20px;
}

.hamburger.open span:nth-child(1) {
    transform: rotate(45deg) translateY(8px);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
}

.hamburger.open span:nth-child(3) {
    transform: rotate(-45deg) translateY(-8px);
}