:root {
    --bg-base: #050505;
    --bg-surface: #111111;
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.65);
    --accent: #3b82f6; /* Cinematic Blue */
    --accent-glow: rgba(59, 130, 246, 0.5);
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-base);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.8;
    overflow-x: hidden;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1rem 5%;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    z-index: 1000;
    background: #111111; /* Solid dark background */
    border-bottom: 1px solid rgba(255, 255, 255, 0.05); /* Subtle border */
}

.logo {
    justify-self: start;
}

.logo img {
    height: 120px;
    width: auto;
    background-color: white;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    gap: 3rem;
    justify-self: center;
}

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    transition: color 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.nav-links a:hover::after, .nav-links a.active::after {
    width: 100%;
}
.nav-links a:hover, .nav-links a.active {
    color: var(--accent);
}

/* Hero Section with Video */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    opacity: 0.6;
    filter: contrast(1.1) brightness(0.9);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, transparent 20%, var(--bg-base) 100%);
    z-index: -1;
}

.hero-content {
    max-width: 1000px;
    padding: 0 5%;
    z-index: 10;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 5rem;
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-shadow: 0 5px 20px rgba(0,0,0,0.8);
}

.hero p.portfolio-label {
    color: var(--accent);
    font-size: 6.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 8px;
    margin-bottom: 2.5rem;
    text-decoration: underline;
    text-underline-offset: 12px;
}

.hero p {
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--accent);
    letter-spacing: 3px;
    text-transform: uppercase;
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}

/* Page Headers (for internal pages) */
.page-header {
    padding: 180px 5% 80px;
    background: var(--bg-surface);
    text-align: center;
    border-bottom: 2px solid var(--accent);
}

.page-header h1 {
    font-family: var(--font-heading);
    font-size: 4rem;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Content Sections */
.section {
    padding: 100px 10%;
    max-width: 1600px;
    margin: 0 auto;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    margin-bottom: 3rem;
    text-align: center;
    color: var(--accent);
}

/* Text Content blocks */
.content-block {
    margin-bottom: 5rem;
    font-size: 1.2rem;
    color: var(--text-secondary);
}

.content-block p {
    margin-bottom: 1.5rem;
}

/* Media Showcase (Making images/videos bigger) */
.media-showcase {
    margin-bottom: 6rem;
    background: var(--bg-surface);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.05);
}

.media-container {
    width: 100%;
    display: flex;
    justify-content: center;
    background: #000;
}

.media-container img, .media-container video {
    width: 100%;
    max-height: 90vh; max-width: 100%;
    object-fit: contain;
}

.media-info {
    padding: 3rem 4rem;
}

.media-info h3 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--accent);
}

.media-info p {
    font-size: 1.2rem;
    color: var(--text-secondary);
}

/* Forms */
.form-container {
    background: var(--bg-surface);
    padding: 4rem;
    border-radius: 12px;
    max-width: 800px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--accent);
    font-weight: 700;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 1rem;
    background: var(--bg-base);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--text-primary);
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 1rem;
}

.form-group textarea {
    height: 200px;
    resize: vertical;
}

.btn-submit {
    background: var(--accent);
    color: #fff;
    padding: 1rem 3rem;
    font-size: 1.1rem;
    font-weight: 700;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background 0.3s ease;
}

.btn-submit:hover {
    background: #2563eb;
}

/* Resume Layout */
.resume-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
}

.resume-section h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 0.5rem;
}

.resume-item {
    margin-bottom: 2rem;
}

.resume-item h4 {
    font-size: 1.3rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.resume-item span {
    color: var(--accent);
    font-weight: 700;
}

.resume-item ul {
    list-style-type: disc;
    margin-left: 1.5rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
}

.resume-item ul li {
    margin-bottom: 0.3rem;
}

/* Footer */
footer {
    text-align: center;
    padding: 3rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    margin-top: 5rem;
    color: var(--text-secondary);
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
}

.contact-card {
    background: var(--bg-surface);
    padding: 2rem 3rem;
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    border: 1px solid rgba(255,255,255,0.05);
    transition: transform 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
}

.contact-card h3 {
    color: var(--accent);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.contact-card p {
    color: var(--text-primary);
    font-size: 1.1rem;
}

/* Added styles */
.resume-paper {
    background-color: #f8fafc;
    color: #0f172a;
    padding: 5rem 8rem;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.8);
    max-width: 1100px;
    margin: 0 auto;
    font-family: 'Lato', sans-serif;
}
.resume-paper h2, .resume-paper h3, .resume-paper h4 {
    color: #0f172a;
    font-family: 'Playfair Display', serif;
}
.resume-paper .resume-item h4 {
    color: #0f172a;
}
.resume-paper .resume-item span {
    color: #3b82f6;
}
.resume-paper p, .resume-paper li, .resume-paper div {
    color: #334155;
}
.resume-paper strong {
    color: #0f172a !important;
}

.profile-pic {
    width: 250px;
    height: 250px;
    object-fit: cover;
    border-radius: 50%;
    margin: 0 auto 2rem auto;
    display: block;
    border: 3px solid var(--accent);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
}

.contact-card img {
    width: 50px;
    height: 50px;
    margin-bottom: 1rem;
    object-fit: contain;
}

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
}

.lightbox img {
    max-width: 90%;
    max-height: 90vh;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.3s ease;
    cursor: default;
}

.lightbox.active img {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.lightbox-close:hover {
    color: var(--primary-color);
}

/* Allow clicking on media images */
.media-container img, .panel-img, .hero-img, .profile-pic {
    cursor: pointer;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.media-container img:hover, .panel-img:hover, .hero-img:hover, .profile-pic:hover {
    transform: scale(1.02);
    filter: brightness(1.1);
}
