/* GENERAL STYLES */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    color: white;
    background-color: black;
    line-height: 1.6;
}

a {
    text-decoration: none;
}

/* HEADER */
header {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: rgba(0, 0, 0, 0.85);
    z-index: 1000;
}

header .logo {
    font-size: 1.8rem;
    font-weight: bold;
    letter-spacing: 1px;
}

header nav {
    display: flex;
    gap: 1.5rem;
}

header nav a {
    color: white;
    font-size: 1rem;
    transition: color 0.3s;
}

header nav a:hover {
    color: #00ffcc;
}

/* HERO SECTION */
#hero {
    height: 100vh;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
}

#hero video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    filter: brightness(50%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 1rem;
}

.hero-content h1 {
    font-size: 4rem;
    margin: 0;
    letter-spacing: 2px;
}

.hero-content p {
    margin: 1rem 0;
    font-size: 1.2rem;
}

.hero-content .enter-studio-btn {
    padding: 0.8rem 1.5rem;
    background-color: #00ffcc;
    color: black;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.hero-content .enter-studio-btn:hover {
    background-color: #00cc99;
}

/* SECTIONS */
section {
    padding: 4rem 2rem;
}

section h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2.5rem;
}

/* PROJECT GRID */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.project {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s;
}

.project img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
}

.project h3 {
    margin-top: 1rem;
    font-size: 1.2rem;
}

.project p {
    font-size: 0.95rem;
    color: #ccc;
}

.project:hover {
    transform: scale(1.05);
}

/* RESEARCH / CARDS */
.cards {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
}

.card {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 10px;
    width: 300px;
    text-align: center;
    transition: transform 0.3s;
}

.card h3 {
    margin: 0 0 1rem 0;
}

.card p {
    color: #ccc;
    margin: 0;
}

.card:hover {
    transform: translateY(-5px);
}

/* ABOUT */
#about img {
    width: 100%;
    max-width: 600px;
    display: block;
    margin: 2rem auto 0 auto;
    border-radius: 10px;
}

/* FOOTER */
footer {
    background-color: #003300;
    text-align: center;
    padding: 2rem 1rem;
    font-size: 0.9rem;
    color: #ccc;
}

footer p {
    margin: 0.5rem 0;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 3rem;
    }
    .hero-content p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    header nav {
        flex-direction: column;
        gap: 1rem;
    }
}
