/* RESET*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  }

body {
font-family: 'Inter', sans-serif;
background: #000;
color: #fff;
overflow-x: hidden;
}

/* TYPOGRAPHY */

h1, h2, h3, h4, h5, h6 {
font-family: 'Space Grotesk', sans-serif;
font-weight: 600;
}

/*NAVBAR */

header {
position: fixed;
width: 100%;
top: 0;
z-index: 1000;
background: rgba(0, 0, 0, 0.6);
backdrop-filter: blur(8px);
}

.navbar {
display: flex;
justify-content: space-between;
align-items: center;
padding: 20px 60px;
}

.logo {
font-family: 'Space Grotesk', sans-serif;
font-size: 18px;
letter-spacing: 2px;
}

/* NAV LINKS */

.nav-links {
list-style: none;
display: flex;
gap: 30px;
}

.nav-links a {
text-decoration: none;
color: #fff;
font-size: 14px;
transition: 0.3s;
}

.nav-links a:hover {
color: #aaa;
}

/*HAMBURGER*/

.hamburger {
display: none;
flex-direction: column;
cursor: pointer;
}

.hamburger span {
height: 3px;
width: 25px;
background: white;
margin: 4px 0;
}

/*HERO LAYOUT*/

.hero {
display: flex;
height: 100vh;
padding-top: 80px;
}

/* LEFT PANEL */

.left-panel {
width: 50%;
display: flex;
flex-direction: column;
justify-content: center;
padding-left: 80px;
padding-right: 40px;
}

/* NAME */

.name {
font-family: 'Space Grotesk', sans-serif;
font-size: 64px;
margin-bottom: 15px;
}

/* TITLE */

.title {
font-size: 20px;
color: #ccc;
margin-bottom: 25px;
}

/* ABOUT TEXT */

.about-text {
font-size: 16px;
line-height: 1.6;
color: #aaa;
max-width: 520px;
margin-bottom: 35px;
}

/* BUTTONS */

.buttons {
display: flex;
gap: 20px;
}

.btn {
padding: 14px 28px;
border: 2px solid white;
background: transparent;
color: white;
cursor: pointer;
transition: 0.3s;
font-size: 14px;
}

/* PRIMARY BUTTON */

.primary:hover {
background: white;
color: black;
box-shadow:
    0 0 10px white,
    0 0 20px white,
    0 0 40px white;
}

/* SECONDARY BUTTON */

.secondary {
border-color: #555;
}

.secondary:hover {
border-color: white;
}

/* RIGHT PANEL*/

.right-panel {
width: 50%;
position: relative;
}

/* BLACKHOLE VIDEO */

#blackhole-video {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 100%;
height: auto;
max-width: 800px;
max-height: 800px;
object-fit: cover;
-webkit-mask-image: radial-gradient(
    circle,
    white 60%,
    transparent 100%
  );
mask-image: radial-gradient(
    circle,
    white 60%,
    transparent 100%
  );
}

/* EARTH VIDEO — FIXED */

#earth-video {
position: absolute;
top: 50%;
left: 40%;                 /* move slightly left */
transform: translate(-50%, -50%);
width: 100%;
height: auto;
max-width: 1200px;
max-height: 1200px;
object-fit: cover;

-webkit-mask-image: radial-gradient(
    circle,
    white 60%,
    transparent 100%
);

mask-image: radial-gradient(
    circle,
    white 60%,
    transparent 100%
);
}

.about-grid {
display: flex;
align-items: center;      /* vertical alignment */
justify-content: space-between;
gap: 40px;                /* space between earth and text */
flex-wrap: nowrap;        /* keep side-by-side */
}

.about-video {
flex: 1;                  /* take available space */
height: 700px;
position: relative;
display: flex;
align-items: center;
justify-content: center;
overflow: hidden;
}

.about-content {
flex: 1;
max-width: 520px;         /* keeps text readable */
}

.about-content p {
text-align: left;
line-height: 1.8;
color: #ccc;
}

@media (max-width: 900px) {
.about-grid {
    flex-direction: column;
}

.about-video,
.about-content {
    width: 100%;
}
}

/* SECTIONS*/

.section {
padding: 100px 60px;
background: #000;
text-align: center;
}

.container {
max-width: 1000px;
margin: auto;
}

/*PROJECT GRID*/

.project-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 25px;
margin-top: 40px;
}

.project-card {
padding: 30px;
border: 1px solid #333;
transition: 0.3s;
}

.project-card:hover {
transform: translateY(-8px);
border-color: white;
box-shadow: 0 0 20px rgba(255,255,255,0.3);
}

/*FOOTER*/

footer {
padding: 20px;
border-top: 1px solid #222;
text-align: center;
color: #777;
font-size: 14px;
}

/* MOBILE*/

@media (max-width: 900px) {
.hero {
    flex-direction: column;
}

.left-panel {
    width: 100%;
    padding: 40px;
    text-align: center;
}

.right-panel {
    width: 100%;
    height: 400px;
}

#blackhole-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.name {
    font-size: 40px;
}

.navbar {
    padding: 20px;
}

.nav-links {
    position: absolute;
    top: 70px;
    right: 0;
    width: 100%;
    background: black;
    flex-direction: column;
    align-items: center;
    display: none;
}

.nav-links.active {
    display: flex;
}

.hamburger {
    display: flex;
}

.project-grid {
    grid-template-columns: 1fr;
}
}
