/* ------------------------------
   Global Layout + Background
--------------------------------*/
body {
    margin: 0;
    padding: 0;
    background-color: black;
    font-family: Arial, sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    color: white;
}

/* Fixed Name */
.fixed-name {
    position: fixed;
    top: 100px;
    right: 100px;
    color: white;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
    transition: color 0.3s ease;
}

/* Content container */
.content {
    display: flex;
    flex-direction: column;
    align-items: left;
    justify-content: left;
    padding: 20px;
    max-width: 800px;
    margin: 0 auto;
}

/* Main heading text */
.text {
    margin-bottom: 20px;
    font-size: 2.8rem;
    font-weight: bold;
    margin-top: 200px;
    margin-left: -20px;
}

/* Arrow animation */
.arrow {
    position: relative;
    font-size: 100px;
    color: white;
    margin: 0 auto;
    animation: bounce 1.5s infinite;
}

@keyframes bounce {
    0%,100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Image container */
.image-container {
    border: 1px solid white;
    padding: 10px;
    margin-top: 80px;
    display: flex;
    justify-content: center;
}

.image {
    max-width: 100%;
    height: 500px;
}

/* Info text */
.info {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    font-size: large;
    line-height: 1.6;
    text-align: justify;
}

/* Social icons */
.social-icons {
    width: 30%;
    padding: 20px;
    display: flex;
}

.social-icons a {
    margin-right: 20px;
    color: white;
    font-size: 40px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: #f04040;
    animation: rotate 0.25s linear 1;
}

@keyframes rotate {
    100% { transform: rotate(360deg); }
}

/* Contact Form */
.contact-form {
    background-color: #333;
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
}

.contact-form input,
.contact-form textarea {
    width: 97%;
    padding: 10px;
    margin-bottom: 10px;
    background-color: #444;
    color: #fff;
    border: none;
    border-radius: 5px;
}

.contact-form button {
    padding: 10px 20px;
    background-color: #f04040;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

/* Background Video */
.video-background {
    position: fixed;
    right: 0;
    bottom: 0;
    min-width: 100%;
    min-height: 100%;
    z-index: -1;
}

.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overlay {
    position: fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background-color: rgba(0,0,0,0.85);
    z-index: 1;
}

/* ------------------------------
   Solar System Floating Menu Icon
--------------------------------*/
.solar-system-icon {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 80px;
    height: 80px;
    z-index: 100;
    cursor: pointer;
    transition: transform 0.2s;
}

.solar-system-icon:hover { transform: scale(1.2); }

.solar-system-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

/* ------------------------------
   Side Menu
--------------------------------*/
.side-menu {
    position: fixed;
    top: 0;
    right: -22%; 
    width: 22%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
    background: rgba(0,0,0,0.3);
    transition: right 0.3s ease;
    z-index: 25;
}

.side-menu.open { right: 0; }

.menu-btn {
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    margin: 1rem 0;
    width: 100%;
    text-align: center;
    padding: 1rem 0;
    transition: all 0.3s;
}

.menu-btn:hover {
    color: #FFD93D;
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .side-menu { width: 60%; right: -60%; }
}

/* Background Starfield */
#starfield {
    position: fixed;
    width: 100%;
    height: 100vh;
    background: black;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: -1;
}

/* Small twinkling stars */
.star {
    position: absolute;
    width: 2px;
    height: 2px;
    background: white;
    border-radius: 50%;
    animation: twinkle linear infinite;
}

@keyframes twinkle {
    0%, 100% { opacity: 0; }
    50% { opacity: 1; }
}

/* Shooting stars */
.shooting-star {
    position: absolute;
    width: 2px;
    height: 20px;
    background: linear-gradient(white, transparent);
    border-radius: 50%;
    z-index: 10;
    animation: shoot linear forwards;
}

@keyframes shoot {
    0% {
        transform: translateY(0);
        opacity: 1;
    }
    100% {
        transform: translateY(80vh);
        opacity: 0;
    }
}
