/* ===== CSS VARIABLES - ATEEZ CYBERPUNK (Feminine) ===== */
:root {
    --bg-main: #050505;
    --bg-secondary: #0a0a0a;
    --bg-glass: rgba(15, 15, 15, 0.85);
    --border-glass: rgba(255, 0, 84, 0.3); /* Magenta border */
    
    --text-primary: #f0f0f0;
    --text-secondary: #999;
    
    --accent-magenta: #9d00ff; /* Neon Purple */
    --accent-crimson: #5e00d9; /* Deep Violet */
    --accent-silver: #e0e0e0;
    
    --font-heading: 'Rajdhani', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --max-width: 1200px;
    --section-padding: 120px 20px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; width: 100%; }
body { background-color: var(--bg-main); color: var(--text-primary); font-family: var(--font-body); line-height: 1.6; overflow-x: hidden; width: 100%; }
h1, h2, h3, h4 { font-family: var(--font-heading); text-transform: uppercase; letter-spacing: 2px; }
a { text-decoration: none; color: var(--text-primary); transition: 0.3s; }
.container { max-width: var(--max-width); margin: 0 auto; width: 100%; }
.section { padding: var(--section-padding); }
.section-title {
    font-size: 3rem; color: var(--text-primary); margin-bottom: 3rem;
    text-transform: uppercase; position: relative; display: inline-block;
    text-shadow: 2px 2px 0px var(--accent-crimson);
}
.section-title::after {
    content: ''; position: absolute; bottom: -10px; left: 0; width: 50px; height: 4px;
    background: var(--accent-magenta);
}
/* ===== UTILITIES ===== */
.glass {
    background: var(--bg-glass); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--border-glass); border-left: 4px solid var(--accent-magenta);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
}
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 14px 30px; font-family: var(--font-heading); font-size: 1.1rem; font-weight: 700;
    letter-spacing: 2px; cursor: pointer; transition: 0.3s; position: relative; z-index: 1;
    border-radius: 0px; /* Sharp edges for that cyberpunk feel */
}
.primary-btn {
    background: transparent; color: var(--text-primary);
    border: 1px solid var(--accent-silver);
    background: linear-gradient(45deg, transparent 5%, var(--accent-magenta) 5%);
    background-size: 0% 100%;
    background-repeat: no-repeat;
    transition: background-size 0.4s ease, color 0.4s ease, border-color 0.4s ease;
}
.primary-btn:hover {
    background-size: 100% 100%; color: #fff;
    border-color: var(--accent-magenta);
}
/* ===== SCROLL ANIMATIONS ===== */
.fade-in { opacity: 0; transform: translateY(40px); transition: opacity 0.8s ease-out, transform 0.8s ease-out; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
/* ===== NAVIGATION ===== */
.navbar { position: fixed; top: 0; width: 100%; padding: 20px 50px; display: flex; justify-content: space-between; align-items: center; z-index: 1000; transition: 0.3s; }
.navbar.scrolled { background: rgba(5, 5, 5, 0.95); border-bottom: 1px solid #222; }
.logo .glitch { font-family: var(--font-heading); font-size: 2rem; font-weight: 700; color: var(--accent-silver); letter-spacing: 4px; }
.nav-links { display: flex; list-style: none; gap: 30px; }
.nav-links a { font-family: var(--font-heading); font-size: 1rem; font-weight: 600; }
.nav-links a:hover { color: var(--accent-magenta); }
/* ===== HERO SECTION ===== */
.hero { height: 100vh; position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; }
#three-canvas { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 0; }
.hero-container { position: relative; z-index: 1; max-width: var(--max-width); width: 100%; padding: 0 20px; display: flex; align-items: center; justify-content: space-between; gap: 50px; }
.hero-text { flex: 1; }
.subtitle { color: var(--accent-magenta); font-size: 1.5rem; margin-bottom: 10px; }
.title { font-size: 5rem; line-height: 1; margin-bottom: 20px; color: var(--accent-silver); text-shadow: 3px 3px 0 var(--accent-crimson); }
.tagline { font-size: 1.2rem; color: var(--text-secondary); margin-bottom: 40px; }
.hero-image-wrapper { flex: 1; display: flex; justify-content: flex-end; }
.cyber-frame {
    position: relative; padding: 15px; border: 2px solid var(--accent-silver);
    background: rgba(255,0,84,0.1);
}
.cyber-frame::before, .cyber-frame::after {
    content: ''; position: absolute; width: 40px; height: 40px; border: 3px solid var(--accent-magenta);
}
.cyber-frame::before { top: -15px; left: -15px; border-right: none; border-bottom: none; }
.cyber-frame::after { bottom: -15px; right: -15px; border-left: none; border-top: none; }
.hero-img { width: 100%; max-width: 400px; height: auto; display: block; filter: grayscale(50%) contrast(1.2); transition: 0.5s; }
.hero-img:hover { filter: grayscale(0%); }
.scroll-indicator { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); text-align: center; color: var(--text-secondary); font-family: var(--font-heading); font-size: 0.9rem; letter-spacing: 2px; }
.mouse { width: 24px; height: 36px; border: 2px solid var(--text-secondary); border-radius: 12px; position: relative; margin: 10px auto 0; }
.mouse::before { content: ''; position: absolute; top: 6px; left: 50%; transform: translateX(-50%); width: 4px; height: 4px; background: var(--accent-magenta); border-radius: 50%; animation: scroll 2s infinite; }
@keyframes scroll { 0% { transform: translate(-50%, 0); opacity: 1; } 100% { transform: translate(-50%, 15px); opacity: 0; } }
/* ===== ABOUT SECTION ===== */
.about { background: var(--bg-secondary); }
.about-content p { font-size: 1.2rem; margin-bottom: 20px; max-width: 800px; color: var(--text-secondary); }
.about-content .lead { font-size: 1.5rem; color: var(--accent-silver); font-weight: 600; border-left: 3px solid var(--accent-magenta); padding-left: 20px; }
/* ===== SKILLS SECTION ===== */
.skills-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 30px; }
.skill-card {
    flex: 0 1 180px;
    background: rgba(10, 10, 10, 0.8); border: 1px solid #222; padding: 30px 20px; text-align: center;
    transition: 0.4s; position: relative; overflow: hidden;
}
.skill-card::after { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 3px; background: var(--accent-magenta); transform: scaleX(0); transform-origin: left; transition: 0.4s; }
.skill-card:hover { transform: translateY(-10px); border-color: var(--accent-magenta); background: #111; }
.skill-card:hover::after { transform: scaleX(1); }
.skill-logo { width: 60px; height: 60px; margin: 0 auto 15px; filter: brightness(0.8) contrast(1.2); transition: 0.3s; }
.skill-card:hover .skill-logo { filter: brightness(1) drop-shadow(0 0 10px rgba(255,0,84,0.5)); }
.skill-card h4 { font-size: 1rem; color: var(--text-primary); }
/* ===== PROJECT SHOWCASE (Scroll Layout) ===== */
.showcase-section { padding: 100px 0; }
.showcase-section .container { margin-bottom: 30px; }
.project-showcase {
    display: flex; align-items: stretch; min-height: 80vh; width: 100%;
    border-top: 1px solid #1a1a1a; background: var(--bg-main);
}
.project-showcase.reverse { flex-direction: row-reverse; background: var(--bg-secondary); }
.showcase-visual { flex: 1.2; position: relative; overflow: hidden; }
/* Carousel */
.carousel { width: 100%; height: 100%; min-height: 500px; position: relative; overflow: hidden; background: #050505; }
.carousel-inner { display: flex; height: 100%; transition: transform 0.6s cubic-bezier(0.7, 0, 0.3, 1); }
.carousel-inner img { width: 100%; height: 100%; object-fit: contain; flex-shrink: 0; filter: grayscale(10%) contrast(1.1); padding: 15px; box-sizing: border-box; }
.carousel-btn {
    position: absolute; top: 50%; transform: translateY(-50%); background: rgba(0,0,0,0.8);
    color: var(--accent-silver); border: 1px solid var(--accent-magenta); font-size: 2rem; padding: 15px 25px;
    cursor: pointer; transition: 0.3s; z-index: 2;
}
.carousel-btn:hover { background: var(--accent-magenta); color: #fff; }
.carousel-btn.prev { left: 0; border-left: none; }
.carousel-btn.next { right: 0; border-right: none; }
.showcase-info {
    flex: 1; padding: 80px; display: flex; flex-direction: column; justify-content: center;
}
.showcase-info h3 { font-size: 3rem; margin-bottom: 20px; color: var(--accent-silver); text-shadow: 2px 2px 0 rgba(94, 0, 217, 0.5); }
.showcase-info p { font-size: 1.1rem; color: var(--text-secondary); margin-bottom: 30px; }
.credits-text { font-size: 0.95rem !important; color: var(--text-secondary) !important; margin-bottom: 20px !important; font-style: italic; }
.credits-text strong { color: var(--accent-magenta); font-style: normal; }
.project-tags { display: flex; gap: 15px; margin-bottom: 40px; flex-wrap: wrap; }
.tag { font-family: var(--font-heading); font-size: 0.95rem; font-weight: 600; padding: 5px 0; border-bottom: 2px solid var(--accent-magenta); color: var(--accent-silver); }
/* Script Box used in Projects */
.script-box { background: #080808; border: 1px solid #222; border-left: 4px solid var(--accent-silver); padding: 40px; font-family: monospace; color: #b3b3b3; font-size: 1rem; line-height: 1.8; box-shadow: inset 0 0 20px rgba(0,0,0,0.8); height: 100%; min-height: 500px; display: flex; flex-direction: column; justify-content: center; }
.script-box code { color: var(--accent-magenta); display: block; white-space: pre-wrap; }
/* ===== COMMUNICATION SECTION ===== */
.comms { background: var(--bg-secondary); text-align: center; }
.comms h3 { font-size: 1.8rem; margin-bottom: 30px; color: var(--accent-silver); border-bottom: 1px solid #333; padding-bottom: 10px; display: inline-block; }
.video-wrapper { position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; border: 1px solid #333; border-left: 4px solid var(--accent-magenta); max-width: 1100px; margin: 0 auto; box-shadow: 0 10px 30px rgba(0,0,0,0.5); border-radius: 8px; background: #000; }
.video-wrapper iframe, .video-wrapper video { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: contain; }
/* ===== CONTACT SECTION ===== */
.contact-wrapper { padding: 80px; }
.contact-wrapper h3 { font-size: 2.5rem; margin-bottom: 15px; color: var(--accent-silver); }
.contact-wrapper p { margin-bottom: 40px; font-size: 1.2rem; color: var(--text-secondary); }
.social-links { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }
footer { text-align: center; padding: 30px; background: #000; border-top: 1px solid #111; color: #555; font-family: var(--font-heading); letter-spacing: 1px; }
/* ===== RESPONSIVE ===== */
@media screen and (max-width: 968px) {
    .navbar { padding: 15px 20px; }
    .title { font-size: 3.5rem; }
    .hero-container { flex-direction: column; text-align: center; padding-top: 140px; }
    .hero-image-wrapper { justify-content: center; margin-top: 30px; width: 100%; }
    .project-showcase, .project-showcase.reverse { flex-direction: column; }
    .showcase-info { padding: 50px 20px; }
    .nav-links { display: none; }
    .script-box { padding: 20px; }
}
.short-film-top { padding: 0 60px 40px; }
.short-film-bottom { padding: 0 60px; }
@media screen and (max-width: 600px) {
    .short-film-top { padding: 0 20px 40px; }
    .short-film-bottom { padding: 0 20px; }
    .skills-grid { display: grid !important; grid-template-columns: repeat(2, 1fr) !important; gap: 15px; }
    .skill-card { padding: 15px 10px; width: 100% !important; min-width: 0; }
    .skill-card h4 { font-size: 0.85rem; margin-top: 5px; }
    .skill-logo { width: 40px; height: 40px; margin: 0 auto 10px; font-size: 1.2rem !important; }
    .title { font-size: 1.8rem; word-break: normal; hyphens: none; letter-spacing: 1px; }
    .subtitle { font-size: 1.1rem; line-height: 1.4; margin-bottom: 10px; }
    .tagline { font-size: 0.9rem; }
    .hero-container { padding-top: 130px; }
    .section { padding: 60px 15px; }
    .contact-wrapper { padding: 40px 20px; }
    .showcase-info h3 { font-size: 2rem; }
    .carousel-btn { font-size: 1.5rem; padding: 10px 15px; }
    .pdf-placeholder { padding: 30px 15px; }
    .hero-img { max-width: 100%; }
    .carousel { height: 300px; }
    .showcase-img { height: 300px; }
    .carousel-inner img { padding: 15px; }
    .cyber-frame { padding: 10px; }
    .cyber-frame::before, .cyber-frame::after { width: 20px; height: 20px; }
}
