/* Root colors */
:root {
    --navy-blue: #0a1128;
    --electric-blue: #00f3ff;
    --neon-yellow: #ffdd00;
    --white: #ffffff;
    --dark-gray: #0f0f1a;
    --accent-purple: #a75cff;
    --deep-space: #050510;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
}
body {
    min-height: 100vh;
    margin: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(26,26,46,0.9) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(22,33,62,0.7) 0%, transparent 50%),
        linear-gradient(135deg, var(--deep-space) 0%, var(--navy-blue) 100%);
    color: var(--white);
    overflow-x: hidden;
    position: relative;
}



/* Global */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Orbitron', 'Rajdhani', sans-serif;
}

/* Animated Gradient Background */
.gradient-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background: 
        radial-gradient(circle at 20% 80%, rgba(0, 216, 255, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 80% 20%, rgba(167, 92, 255, 0.1) 0%, transparent 40%);
    animation: gradient-pulse 15s ease-in-out infinite alternate;
}
@keyframes gradient-pulse {
    0% { opacity: 0.7; }
    100% { opacity: 1; }
}

/* Floating Particles */
.particles-container {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}
.particle {
    position: absolute;
    border-radius: 50%;
    opacity: 0;
    animation: floatParticle 20s infinite linear;
    will-change: transform, opacity;
}
@keyframes floatParticle {
    0% { transform: translateY(100vh) translateX(0) rotate(0deg); opacity: 0; }
    10% { opacity: 0.7; }
    90% { opacity: 0.7; }
    100% { transform: translateY(-100vh) translateX(100px) rotate(360deg); opacity: 0; }
}

/* Portfolio Header */
.portfolio-header {
    text-align: center;
    padding: 4rem 2rem 3rem;
    position: relative;
}
.portfolio-header h1 {
    font-size: 5vw;
    color: var(--white);
    background: linear-gradient(90deg, var(--neon-yellow), var(--electric-blue));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 1rem;
    text-shadow: 0 0 30px rgba(0, 216, 255, 0.3);
    font-weight: 900;
    letter-spacing: 1px;
}
.portfolio-header p {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 800px;
    margin: 0 auto;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 300;
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 0;
    max-width: 50vw;
    flex-wrap: nowrap;
    width: 50%;
    background-color: #1A2B41;
    border-radius: 8px;
    padding: 0.5rem 1rem;
}
.nav-menu li {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}
.nav-menu a {
    color: var(--white);
    text-decoration: none;
    font-weight: 700;
    padding: 0.8rem clamp(0.3rem, 0.8vw, 1.8rem);
    font-size: clamp(0.6rem, 1.2vw, 1.1rem);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: 'Orbitron', sans-serif;
    text-shadow: 0 0 10px rgba(0, 243, 255, 0.5);
    transition: all 0.3s ease;
    white-space: nowrap;
}
.nav-menu a:hover {
    color: var(--electric-blue);
    text-shadow: 0 0 20px var(--electric-blue);
    transform: translateY(-2px);
}
.nav-menu a.active {
    color: var(--neon-yellow);
    text-shadow: 0 0 20px var(--neon-yellow), 0 0 40px var(--neon-yellow);
    animation: text-flicker 2s infinite alternate;
}
@keyframes text-flicker {
    0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% { text-shadow: 0 0 20px var(--neon-yellow), 0 0 40px var(--neon-yellow); opacity: 1; }
    20%, 24%, 55% { text-shadow: none; opacity: 0.8; }
}

/* Diamond separator */
.diamond {
    width: 6px;
    height: 6px;
    background: var(--electric-blue);
    transform: rotate(45deg);
    margin: 0 1.5rem;
    box-shadow: 0 0 10px var(--electric-blue), 0 0 20px var(--electric-blue);
    animation: diamond-pulse 2s ease-in-out infinite;
    flex-shrink: 0;
}
@keyframes diamond-pulse {
    0%, 100% { opacity: 0.7; box-shadow: 0 0 10px var(--electric-blue); }
    50% { opacity: 1; box-shadow: 0 0 20px var(--electric-blue), 0 0 30px var(--electric-blue); }
}

/* Logo */
.logo-container {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    width: 30vw;
    justify-content: flex-end;
}
.logo {
    width: 60px;
    height: 60px;
    background-image: url('https://i.imgur.com/zqsfeRm.png');
    background-size: cover;
    background-position: center;
    filter: brightness(120%) contrast(97%) drop-shadow(0 0 10px var(--electric-blue));
}
.studio-info {
    display: flex;
    flex-direction: column;
    text-align: right;
}
.studio-name {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--white);
    text-shadow: 0 0 15px var(--electric-blue);
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 3px;
}
.studio-title {
    font-size: 0.9rem;
    color: var(--electric-blue);
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
}

/* Gallery Container */
.gallery-container {
    display: flex;
    flex-direction: column;
    gap: 5rem;
    align-items: center;
    width: 100%;
    padding: 0 2rem 5rem;
}

/* Project Card */
.project-card {
    width: 90vw;
    min-height: 80vh;
    margin: 0 auto;
    padding-bottom: 40px;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    border: 1px solid var(--glass-border);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    transition: transform 0.5s cubic-bezier(0.175,0.885,0.32,1.275), box-shadow 0.5s ease, border-color 0.5s ease;
}
.project-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.3), 0 0 80px rgba(0,216,255,0.2);
    border-color: rgba(0,216,255,0.4);
}

/* Project Header */
.project-header {
    padding: 2rem 2.5rem 0;
    text-align: center;
    background: transparent;
    box-shadow: none;
}
.project-title {
    font-size: 4rem;
    color: var(--neon-yellow);
    margin-bottom: 0.5rem;
    text-shadow: 0 0 20px rgba(255, 221, 0, 0.5);
    font-weight: 800;
    letter-spacing: -0.5px;
}
.project-subtitle {
    font-size: 1.8rem;
    color: var(--electric-blue);
    font-weight: 500;
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 2rem;
}

/* Project Content */
.project-content {
    padding: 0 2.5rem 1.5rem;
    text-align: center;
}
.project-description {
    font-size: 1.3rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 400;
}

/* Hero Image */
.hero-image-container {
    width: 80vw;
    height: 50vh;
    margin: 0 auto;
    margin-top: -5vh;
    overflow: hidden;
}
.hero-image {
    width: 100%;
    height: 100%;
    border-radius: 16px;
    overflow: hidden;
    border: 2px solid rgba(0,216,255,0.3);
    box-shadow: 0 10px 40px rgba(0,0,0,0.4);
    cursor: pointer;
    transition: transform 0.5s ease, box-shadow 0.5s ease, border-color 0.5s ease;
}
.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease, opacity 0.35s ease;
}
.hero-image img.fading { opacity: 0; }
.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    padding: 2rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.hero-image:hover .image-overlay { opacity: 1; }
.view-project-btn {
    background: rgba(0,216,255,0.2);
    border: 1px solid var(--electric-blue);
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}
.view-project-btn:hover {
    background: var(--electric-blue);
    color: var(--navy-blue);
    box-shadow: 0 0 20px rgba(0,216,255,0.5);
}
.view-project-btn:hover {
    background: rgba(0, 216, 255, 0.2) !important;
    color: white !important;
    box-shadow: none !important;
    transform: none !important;
}

/* Details Grid */
.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
    gap: 2rem;
    width: 90%;
    margin: 0 auto;
}
.detail-card {
    background: rgba(0,216,255,0.05);
    border-radius: 12px;
    padding: 1.5rem;
    border-left: 4px solid var(--electric-blue);
    transition: transform 0.3s ease, background 0.3s ease;
}
.detail-card:hover {
    transform: translateY(-5px);
    background: rgba(0,216,255,0.1);
}

/* Tags (optional) */
.tags { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.tag {
    background: rgba(255,221,0,0.2);
    color: var(--neon-yellow);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
}

/* Thumbnails */
.thumbnails-container {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    padding-top: 3vh;
}
.thumbnail {
    width: 160px;
    height: 160px;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175,0.885,0.32,1.275);
    position: relative;
}
.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.thumbnail:hover {
    border-color: var(--electric-blue);
    box-shadow: 0 0 25px rgba(0,216,255,0.4);
    transform: translateY(-8px) scale(1.05);
}
.thumbnail.active {
    border-color: var(--neon-yellow);
    box-shadow: 0 0 30px rgba(255,221,0,0.5);
    transform: scale(1.05);
}
.thumbnail-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--neon-yellow);
    color: var(--navy-blue);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s ease;
}
.thumbnail.active .thumbnail-badge {
    opacity: 1;
    transform: scale(1);
}

/* Footer */
.portfolio-footer {
    text-align: center;
    padding: 3rem;
    color: rgba(255,255,255,0.6);
    font-size: 1rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 2rem;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 8vh; /* or desired height */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    background-color: #1A2B41; /* semi-transparent if you want */
    z-index: 1000;
    box-shadow: 0 4px 10px rgba(0, 243, 255, 0.6);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 16vh; /* doubled from 8vh */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem; /* horizontal padding */
    background-color: #1A2B41;
    z-index: 1000;
    box-shadow: 0 4px 10px rgba(0, 243, 255, 0.6);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    height: 100%; /* so logo scales with header */
}

.logo {
    width: 60px;
    height: 60px;
    background-image: url('https://i.imgur.com/zqsfeRm.png');
    background-size: cover;
    background-position: center;
    filter: brightness(120%) contrast(97%) drop-shadow(0 0 10px var(--electric-blue));
}

.studio-info {
    display: flex;
    flex-direction: column;
    justify-content: center; /* center vertically in taller header */
    text-align: right;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 1rem;
    height: 100%; /* fills header height */
}
/* 1) Center each project card */
.gallery-container {
    display: flex;
    flex-direction: column;
    align-items: center; /* center cards horizontally */
    gap: 5rem;
    width: 100%;
}

/* 2) Project card base */
.project-card {
    width: 90vw;
    min-height: 80vh; /* height can scale */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding-bottom: 2rem;
    margin: 0 auto; /* center horizontally */
}

/* 3) Scope / Purpose / Software / Tools section */
.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem; /* half the previous height */
}

.detail-card {
    background: rgba(0, 216, 255, 0.05);
    border-radius: 12px;
    padding: 1rem; /* smaller padding for half-height effect */
    border-left: 4px solid var(--neon-yellow); /* yellow for section titles */
    color: var(--neon-yellow); /* section title text */
    font-weight: 500;
    transition: transform 0.3s ease, background 0.3s ease;
}

.detail-card p {
    color: rgba(255, 255, 255, 0.85); /* slightly smaller text */
    font-size: 1rem;
    line-height: 1.5;
}

/* 4) Tags styling */
.tag {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    margin: 0.3rem;
    border-radius: 12px;
    background-color: var(--electric-blue);
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 500;
    text-shadow: 0 0 8px rgba(0, 216, 255, 0.7); /* blue bubble drop shadow */
}

/* 5) Thumbnails smaller */
.thumbnails-container {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.thumbnail {
    width: 80px;  /* half the previous size */
    height: 80px;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 6) Hero image container and text adjustments */
.hero-image-container {
    width: 80vw;
    height: 50vh;
    margin: 0 auto;
    overflow: hidden;
    margin-top: -5vh !important;
}

.project-description {
    font-size: 1.2rem; /* slightly smaller */
    text-align: center;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

.project-title {
    color: var(--neon-yellow);
    font-size: 3rem;
    text-align: center;
}

.project-subtitle {
    color: var(--electric-blue);
    font-size: 1.2rem; /* smaller */
    text-align: center;
    justify-content: center;
}
/* Tags inside details grid */
.tag {
    background-color: #0a1128; /* dark navy blue bubble */
    color: #ffffff; /* white text */
    box-shadow: 0 0 8px #00d8ff; /* baby blue glow for the whole bubble */
    padding: 0.3rem 0.6rem;
    border-radius: 8px;
    display: inline-block;
    font-size: 0.5rem;
}

.detail-card p {
    font-size: 0.75rem; /* smaller text for the description/content inside detail cards */
}
.details-grid {
    margin-top: 5vh;
}

header2.portfolio-header {
    display: block; /* makes it behave like a block */
    margin-top: 3vh !important;
}
header2.portfolio-header h1 {
    color: #ffffff !important;
}

header {
    height: 5.6vh !important; /* 30% shorter than original 8vh */
}


