:root {
    --light: #FFFFFF;       /* clean white background */
    --neutral-light: #F5F5F5; /* soft light gray */
    --neutral-dark: #3f3f3f; /* charcoal text */
    --accent: #007BFF;      /* electric blue accent */
    --bright: #EAEAEA;      /* subtle gray for borders */
    --dark: #222222;
}

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

body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: var(--neutral-dark);
    color: var(--neutral-light);
    line-height: 1.6;
}

main {
    padding: 2rem;
    min-height: 80vh;
}

footer {
    background-color: var(--dark);
    color: var(--neutral-light);
    text-align: center;
    border-top: 2px solid var(--accent);
    font-size: 0.9rem;
}

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

nav{
  background-color: var(--dark);
  box-shadow: 3px 3px 5px rgba(59, 59, 59, 0.1);
  border-bottom: 2px solid var(--accent);
}

nav ul {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  width: 100%;
  list-style: none;
}

nav li {
  height: 50px;
}

nav a {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 30px;
  color: var(--neutral-light);
  text-decoration: none;
}

nav a:hover {
  background-color: #f0f0f052;
}

nav li:first-child {
  margin-right: auto;
}

.sidebar {
  position: fixed;
  top: 0;
  right: 0;
  width: 250px;
  height: 100vh;
  display: none;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  list-style: none;
  background-color: rgba(255, 255, 255, 0.082);
  backdrop-filter: blur(12px);
  box-shadow: -10px 0 10px rgba(0, 0, 0, 0.1);
  z-index: 999;
}

.sidebar li {
  width: 100%;
}

.sidebar a {
  width: 100%;
}

.menu-button {
  display: none;
}

@media (max-width: 800px) {
  .hideOnMobile {
    display: none;
  }
  .menu-button {
    display: block;
  }
}

@media (max-width: 400px) {
  .sidebar {
    width: 100%;
  }
}

.hero {
    padding: 4rem 0;
}

.hero-content {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.eyebrow {
    color: var(--bright);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.hero-content h1 {
    font-size: clamp(2rem, 4vw, 3.75rem);
    line-height: 1.05;
    margin-bottom: 1rem;
    color: var(--neutral-light);
}

.hero-text {
    max-width: 680px;
    margin: 0 auto 2rem;
    color: var(--neutral-light);
    font-size: 1.05rem;
}

.hero-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.circle {
    position: absolute; /* take it out of normal flow */
    top: -100px;        /* adjust placement */
    transform: translateX(-50%); /* true centering */
    width: 600px;
    aspect-ratio: 1/1;
    background: linear-gradient(
        rgba(20, 202, 238, 0.5) 0%,
        rgba(41, 116, 221, 0.8) 40%,
        rgba(126, 26, 247, 0.8) 100%
    );
    border-radius: 30% 70% 70% 30% / 30% 40% 70% 70%;
    filter: blur(50px);
    z-index: -1;
    animation: rotateShape 11s linear infinite,
               moveShape 13s ease-in-out infinite,
               changeShape 15s ease-in-out infinite;
}

@media (max-width: 1024px) {
    .circle {
        width: 60vw;   /* slightly larger relative to screen */
        filter: blur(40px);
    }
}

@media (max-width: 600px) {
    .circle {
        width: 80vw;   /* fills more of the narrow screen */
        top: -50px;    /* reduce vertical offset */
        filter: blur(30px); /* softer glow */
    }
}

@keyframes rotateShape {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes moveShape {
    0%, 100% { transform: translate(20%, 0); }
    25% { transform: translate(0%, 10vh); }
    50% { transform: translate(20%, 20vh); }
    75% { transform: translate(40%, 30vh); }
}

@keyframes changeShape {
    0%, 100% { border-radius: 30% 70% 70% 30% / 30% 40% 70% 70%; }
    20% { border-radius: 40% 65% 50% 50% / 40% 35% 35% 65%; }
    40% { border-radius: 35% 65% 65% 35% / 35% 40% 60% 60%; }
    60% { border-radius: 40% 65% 50% 50% / 30% 30% 70% 75%; }
    80% { border-radius: 40% 60% 40% 60% / 50% 50% 70% 60%; }
}

.btn {
    display: inline-block;
    padding: 0.95rem 1.8rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background-color: var(--dark);
    color: #fff;
}

.btn-primary:hover {
    background-color: var(--accent);
}

.btn-secondary {
    background-color: var(--neutral-light);
    color: var(--neutral-dark);
}

.btn-secondary:hover {
    background-color: var(--bright);
}

.featured-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    padding: 2rem 0;
}

.card-sample {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;

    background-color: var(--dark);
    border: 1px solid var(--accent);
    padding: 1.75rem;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}

.card-sample img {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin-bottom: 1rem;
}

.card-sample iframe {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin-bottom: 1rem;
}

.card-sample h3 {
    margin-bottom: 0.75rem;
}

/* showcase card */
.card-showcase {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;

    background: var(--neutral-dark);
    border: 1px solid var(--dark);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease;

    width: fit-content;
    max-width: 90%;
    margin: 0 auto;
}

.card-showcase:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.card-showcase img {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin-bottom: 1rem;
}

.card-showcase h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--light);
}

.card-showcase p {
    font-size: 1rem;
    color: var(---neutral-light);
    line-height: 1.5;
    max-width: 80%; 
}

/* profile card */
.profile-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 2rem;
    
    background: var(--neutral-dark);
    border: 1px solid var(--dark);
    border-radius: 5px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
    padding: 2rem;
    max-width: 1400px;
    margin: 0 auto; 
    color: var(--neutral-dark);
}

.profile-card img {
    width: 200px; 
    height: auto;
    border-radius: 12px;
    object-fit: cover; 
    flex-shrink: 0;
}

.profile-card .profile-info {
    flex: 1;
}

.profile-card h3 {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--neutral-light);
}

.profile-card h4 {
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 1rem;
    color: var(--neutral-light);
}

.profile-card p {
    font-size: 1rem;
    color: var(--neutral-light);
    line-height: 1.6;
}

.footer-inner {
    padding: 1.5rem 0;
}

@media (max-width: 768px) {
    .site-nav {
        flex-direction: column;
        gap: 0.5rem;
    }

    .container {
        padding: 0 1rem;
    }
}

/* Portfolio-specific styles */

/* Progress Section */
.progress-section {
    margin: 3rem 0;
    padding: 2rem 0;
}

.progress-section h2 {
    text-align: center;
    font-size: 1.75rem;
    margin-bottom: 2rem;
    color: var(--neutral-light);
}

.progress-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.progress-card {
    background: var(--dark);
    border-radius: 12px;
    padding: 2.5rem;
    border: 1px solid var(--bright);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.progress-card video {
  max-width: 100%;
  height: auto; 
  display: block;
  border-radius: 8px;
}

.progress-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.2);
}

.week-number {
    display: inline-block;
    background: var(--accent);
    color: var(--light);
    padding: 0.05rem 0.85rem;
    border-radius: 3px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.progress-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
    color: var(--neutral-light);
}

.progress-card p {
    font-size: 0.95rem;
    color: var(--bright);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.status {
    display: inline-block;
    padding: 0.3rem 0.75rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.status.completed {
    background: rgba(40, 167, 69, 0.2);
    color: #28a745;
}

.status.in-progress {
    background: rgba(255, 193, 7, 0.2);
    color: #ffc107;
}

.status.pending {
    background: rgba(108, 117, 125, 0.2);
    color: #6c757d;
}

/* Planet Grid */
.planet-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}