* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

body {
    background: black;
    overflow-x: hidden;
    color: white;
    text-align: center;
}


/* NEBULA COLORS */
.nebula {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgb(69, 0, 0), transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(38, 2, 2, 0.906), transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(54, 0, 0, 0.667), transparent 60%);
    z-index: -2;
}

@keyframes rotateGalaxy {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* TITLE */
.title {
    font-size: 42px;
    margin-bottom: 50px;
    letter-spacing: 2px;
}



/* NAVIGATION */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: 63px;
    background-color: transparent;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 var(--spacing-lg);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.container {
    display: flex;
    align-items: center;
    gap: 100px;
    margin: 40px 200px;
}

.video-element {
    width: 100%;
    height: 300px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    object-fit: cover;
}

.logo span {
    font-weight: 700;
    font-size: 1.25rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 4px;
    margin-right: 30px;
    font-size: larger;
}

.nav-links a {
    color: white;
    text-decoration: none;
    padding: 10px;
    border-radius: 50px;
    font-weight: 500;
}

.nav-links a:hover {
    background-color: rgba(255, 255, 255, 0.174);
}

/* GALLERY SECTION */
.gallery {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
        gap: 40px;
    max-width: 1400px;
    margin: 47px;
}

.gallery h2 {
    text-align: center;
    margin-bottom: var(--spacing-lg);
    color: var(--text-color);
    font-size: 4rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: var(--spacing-md);
    padding: var(--spacing-md) 0;
}

.gallery-item {
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    background-color: var(--secondary-color);
    text-align: center;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

/* MOVIE LOGO SECTION */
.logo-section {
    display: flex;
    align-items: center;
}

.logo-icon {
    border: 2px solid #ffffff;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 15px;
    font-size: 1.2rem;
}

/* DRINK CARD (REPLACES BOOK) */
.book {
    position: relative;
    width: 200px;
    height: 280px;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
}

/* IMAGE COVER */
.cover {
    position: absolute;
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease;
    z-index: 2;
}

.cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* INFO (DRINK DETAILS) */
.pages {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(145, 0, 0, 0.406), rgba(0,0,0,0.2));
    color: white;
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    text-align: left;
    z-index: 1;
}

/* HOVER EFFECT (SLIDE LEFT LIKE BRAND) */
.book:hover .cover {
    transform: translateX(-100%);
}

/* EXTRA SMOOTH FEEL */
.book:hover {
    transform: translateY(-5px);
    transition: 0.3s;
}
.pages h3 {
    margin-bottom: 10px;
    margin-top: -10px;
}

.pages p {
    color: rgb(255, 255, 255);
    margin-bottom: 15px;
}

/* ABOUT PAGE */
.container {
    margin: 0;
    padding: 0;
}

.About {
    text-align: center;
    color: white;
    font-family: auto;
    font-size: 40px;
}

.InformationContainer {
    display: flex;
    align-items: flex-start;
    gap: 6rem;
    max-width: 100%;
    margin: 0;
    padding: 5rem 5rem 20px 5rem;
}

.Myprofile.logo {
    width: 400px;
    height: 360px;
}

.Information {
    flex: 1;
    text-align: justify;
}

.name {
    font-size: 1.9rem;
    margin-bottom: 30px;
    color: white;
    font-family: sans-serif;
}

.Info {
    line-height: 1.9;
    color: white;
    font-family: sans-serif;
    margin-right: 0;
    font-size: large;
}

.MainPage h1 {
    text-align: center;
    font-size: 2.9rem;
    margin-bottom: 30px;
    font-weight: 900;
    font-family: sans-serif;
}

.ListContainer {
    display: flex;
    align-items: flex-start;
    gap: 3rem;
    max-width: 100%;
    padding: 2rem;
}

.Team {
    flex: 1;
    text-align: justify;
}

.TeamDiscription {
    max-width: 100%;
    width: 100%;
    height: auto;
    border-radius: 50px;
    object-fit: cover;
}

.Myprofile {
    max-width: 400px;
    margin-left: 0 auto;
    width: 100%;
    height: 500px;
    border-radius: 50px;
    object-fit: cover;
}

@media screen and (max-width: 768px) {

    .navbar {
        padding: 0 15px;
        height: auto;
        flex-direction: column;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .logo span {
        font-size: 1rem;
    }

    .nav-links {
        margin: 10px 0 0;
        gap: 10px;
        justify-content: center;
        flex-wrap: wrap;
    }

    .gallery {
        justify-content: center;
        gap: 20px;
        margin: 20px;
    }

    .book {
        width: 160px;
        height: 230px;
    }

    .InformationContainer,
    .ListContainer {
        flex-direction: column;
        align-items: center;
        padding: 20px;
    }

    .Myprofile {
        margin: 0;
        width: 90%;
        height: auto;
    }

    .video iframe {
        width: 100%;
        height: 220px;
    }

    .Info {
        margin-right: 0;
    }
}

.video {
    width: 100%;
    max-width: 700px;
}

.video iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    border: none;
}