@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700&family=Space+Grotesk:wght@300;400;600&display=swap');

/* Reset */
*{margin:0;padding:0;box-sizing:border-box}
:root{
  --bg-900:#05060a;
  --bg-800:#071026;
  --panel:#081425;
  --text:#ffffff;
  --muted:#ffffff;
  --accent-cyan:#BE3455;
  --accent-mag:#E85A7E;
  --neon-glow:0 0 18px rgba(190,52,85,0.12),0 0 34px rgba(232,90,126,0.06);
  --glass-border:rgba(255,255,255,0.06);
}
body{
  font-family:'Space Grotesk', 'Segoe UI', Arial, sans-serif;
  background:radial-gradient(1200px 600px at 10% 10%, rgba(0,240,255,0.04), transparent),
             linear-gradient(180deg,var(--bg-900),var(--bg-800));
  color:var(--text);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  min-height:100vh;
}
a{color:var(--accent-cyan);text-decoration:underline}
.container{width:min(92%, 1720px);margin:0 auto;padding:0 32px;}
header .container{max-width:1500px}

/* Utility neon */
.neon{color:var(--accent-cyan);text-shadow:0 0 8px rgba(0,240,255,0.25),0 0 24px rgba(0,240,255,0.06)}
.glow{box-shadow:var(--neon-glow)}

/* Subtle vignette for atmospheric depth */
body::before{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  background:radial-gradient(ellipse at center, rgba(0,0,0,0) 48%, rgba(0,0,0,0.28) 100%);
  mix-blend-mode:multiply;
  opacity:0.6;
  transition:opacity .3s ease;
}

/* Header */
header{padding:18px 0;position:sticky;top:0;z-index:999;background:linear-gradient(180deg, var(--bg-900) 0%, rgba(5,6,10,0.95) 100%);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);border-bottom:1px solid rgba(190,52,85,0.1)}
.header-container{display:flex;justify-content:space-between;align-items:center}
.logo a{color:#BE3455;font-family:'Reality Hyper', 'Orbitron', sans-serif;font-weight:700;letter-spacing:0.08em;text-decoration:none}
.logo-img{height:60px;width:auto;display:block}
.nav-list{list-style:none;display:flex;gap:18px}
.nav-list a{color:var(--muted);padding:6px 10px;border-radius:6px}
.nav-list a.active,.nav-list a:hover{color:var(--accent-mag);text-shadow:0 0 8px rgba(255,78,200,0.12)}
.social-links{display:flex;gap:16px;align-items:center}
.social-link{
  font-size:1.8rem;
  text-decoration:none;
  transition:all 0.3s ease;
}

.social-link i{
  color:#ffffff !important;
}

.social-link:hover i{
  color:#ffffff !important;
  transform:scale(1.15);
}
/* Hero */
/* HERO */
.hero{
  min-height:calc(100vh - 100px);
  display:flex;
  align-items:center;
  padding:40px 0 80px;
  position:relative;
}

.hero-content{
  display:grid;
  grid-template-columns:0.9fr 1.4fr;
  align-items:center;
  gap:80px;

  width:min(95%, 1800px);
  margin:0 auto;
}

/* LEFT SIDE */
.hero-logo{
  width:100%;
  max-width:650px;
  justify-self:center;
  display:block;

  mix-blend-mode:screen;
  filter:
    drop-shadow(0 0 30px rgba(190,52,85,0.18))
    drop-shadow(0 0 60px rgba(232,90,126,0.08));
}

/* RIGHT SIDE */
.hero-video{
  width:100%;
  border-radius:24px;
  overflow:hidden;

  border:1px solid rgba(255,255,255,0.05);

  box-shadow:
    0 30px 100px rgba(0,0,0,0.5),
    0 0 80px rgba(190,52,85,0.08);
}

.hero-video video{
  width:100%;
  display:block;
}

/* HERO TEXT */
.hero h2{
  font-family:'Orbitron',sans-serif;
  font-size:clamp(3rem, 5vw, 5.8rem);
  line-height:1;
  letter-spacing:0.05em;
  margin-bottom:20px;
}

.hero p{
  font-size:clamp(1rem, 1.2vw, 1.35rem);
  max-width:600px;
  color:rgba(255,255,255,0.75);
  margin-bottom:28px;
}

/* TEXT */
.hero h2 {
  font-family: 'Orbitron', sans-serif;
  font-size: 3.2rem;
  margin-bottom: 12px;
  letter-spacing: 0.06em;
}

.hero p {
  font-size: 1.15rem;
  color: var(--muted);
  margin-bottom: 18px;
}
.btn{padding:10px 18px;border-radius:10px;font-weight:700;border:1px solid rgba(255,255,255,0.04);cursor:pointer;display:inline-block;margin-left:0;transition:all 0.3s ease}
.btn:hover{box-shadow:0 0 20px rgba(0,240,255,0.2),0 0 40px rgba(232,90,126,0.15)}
.btn:active{animation:glitch-button 0.4s ease}
.btn.primary{background:linear-gradient(90deg,var(--accent-cyan),var(--accent-mag));color:#021018;box-shadow:0 6px 30px rgba(2,6,23,0.6);}
.btn.ghost{background:transparent;border:1px solid rgba(255,255,255,0.06);color:var(--muted)}
.btn.primary:hover{filter:brightness(1.05);box-shadow:0 0 24px rgba(0,240,255,0.18),0 0 40px rgba(232,90,126,0.25),inset 0 0 20px rgba(0,240,255,0.1)}
.btn.ghost:hover{color:var(--accent-cyan);text-shadow:0 0 8px rgba(0,240,255,0.08);box-shadow:0 0 20px rgba(0,240,255,0.15)}



/* Sections */
.section{padding:80px 0}
.section h2{text-align:left;margin-bottom:28px;font-family:'Orbitron',sans-serif}
.hero h2{text-align:center}
.contact-form{max-width:620px;margin:34px auto 0;background:rgba(255,255,255,0.04);border:1px solid rgba(255,255,255,0.08);border-radius:18px;padding:28px}
.contact h3{text-align:center;margin:20px 0 20px;color:var(--text);font-family:'Orbitron',sans-serif}
.contact-form .form-field{display:flex;flex-direction:column;gap:10px;margin-bottom:18px}
.contact-form label{font-size:0.95rem;color:var(--text);font-weight:600}
.contact-form input,
.contact-form textarea{width:100%;background:rgba(255,255,255,0.04);border:1px solid rgba(255,255,255,0.12);border-radius:12px;color:var(--text);padding:14px;outline:none;transition:border-color 0.2s ease}
.contact-form input:focus,
.contact-form textarea:focus{border-color:var(--accent-cyan)}
.contact-form button{width:100%;margin-top:6px}

/* PDF SECTION */
.pdf-section{
  padding:100px 0;
}

.pdf-viewer{
  width:min(100%, 1200px);
  height:1400px;

  margin:40px auto;

  border-radius:20px;
  overflow:hidden;

  border:1px solid rgba(255,255,255,0.08);

  background:rgba(255,255,255,0.02);

  box-shadow:
    0 20px 80px rgba(0,0,0,0.45),
    0 0 30px rgba(190,52,85,0.08);
}

.pdf-frame{
  width:100%;
  height:100%;
  border:none;
}

/* Subtle heading flicker to suggest neon signs */
.neon-flicker{display:inline-block;color:var(--accent-cyan);text-shadow:0 0 8px rgba(0,240,255,0.18),0 0 20px rgba(255,78,200,0.04);animation:neonFlicker 3.8s infinite}

@keyframes neonFlicker{
  0%{opacity:1;text-shadow:0 0 8px rgba(0,240,255,0.22),0 0 22px rgba(255,78,200,0.06)}
  5%{opacity:.92;text-shadow:0 0 6px rgba(0,240,255,0.18)}
  10%{opacity:1;text-shadow:0 0 10px rgba(0,240,255,0.24),0 0 28px rgba(255,78,200,0.06)}
  30%{opacity:.96}
  60%{opacity:1}
  75%{opacity:.94;text-shadow:0 0 6px rgba(0,240,255,0.14)}
  100%{opacity:1;text-shadow:0 0 8px rgba(0,240,255,0.22)}
}

@keyframes glitch-button{
  0%{transform:translate(0);opacity:1}
  20%{transform:translate(-3px, 2px);opacity:0.8}
  40%{transform:translate(3px, -2px);opacity:0.6}
  60%{transform:translate(-2px, 3px);opacity:0.8}
  80%{transform:translate(2px, -3px);opacity:0.9}
  100%{transform:translate(0);opacity:1}
}

.section-full{padding:72px 0}

/* Panels / cards */
.card{background:linear-gradient(180deg,rgba(255,255,255,0.02),rgba(255,255,255,0.01));border-radius:12px;border:1px solid var(--glass-border);padding:16px;overflow:hidden}

.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(340px,1fr));gap:20px}
.main-video{text-align:center;margin:32px 0}
.main-video video{max-width:800px;width:100%;border-radius:12px}
.video-wrapper{position:relative;display:inline-block}
.fullscreen-btn{position:absolute;top:10px;right:10px;background:rgba(0,0,0,0.5);color:#fff;border:none;border-radius:4px;padding:8px 10px;cursor:pointer;font-size:16px;z-index:10}
.fullscreen-btn:hover{background:rgba(0,0,0,0.7)}
.video-container{margin:32px 0;max-width:100%;width:100%;border-radius:12px;overflow:hidden;box-shadow:0 16px 60px rgba(0,0,0,0.2)}
.video-container video{width:100%;height:auto;display:block}
figure{margin:0;padding:0}
figure img{width:100%;height:auto;display:block}
.student3d .grid figure{display:flex;flex-direction:column;gap:10px}
.student3d .grid img{width:100%;height:320px;object-fit:cover;border-radius:6px}
.student3d .grid figcaption{font-size:0.95rem;color:#f4f4f4;margin-top:8px;line-height:1.4;text-align:left}
.video-figure video{width:100%;height:auto;display:block;border-radius:6px}
figcaption{font-size:0.9rem;color:var(--muted);margin-top:8px;text-align:left}

/* Modal styles */
.modal{display:none;position:fixed;z-index:1000;left:0;top:0;width:100%;height:100%;background-color:rgba(0,0,0,0.8)}
.modal-content{position:relative;margin:auto;display:block;max-width:90%;max-height:90%;border-radius:12px;overflow:hidden}
.modal-content video{width:100%;height:auto;max-height:90vh}
.close{position:absolute;top:10px;right:20px;color:#fff;font-size:30px;font-weight:bold;cursor:pointer}
.close:hover{color:#ccc}

/* Projects grid */
/* Projects grid */
.project-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:26px}
.project-item{background:linear-gradient(180deg,rgba(255,255,255,0.01),rgba(255,255,255,0.002));border-radius:10px;padding:16px;border:1px solid rgba(255,255,255,0.03);transition:transform .22s ease,box-shadow .22s ease;display:flex;flex-direction:column;height:100%}
.project-item:hover{transform:translateY(-6px);box-shadow:0 10px 40px rgba(0,0,0,0.6),0 0 28px rgba(0,240,255,0.06)}
.project-item img{width:100%;height:240px;object-fit:cover;border-radius:6px}
.project-item h3{margin:14px 0 8px;font-family:'Orbitron',sans-serif;flex-grow:0}
.project-item p{color:var(--muted);font-size:0.95rem;flex-grow:1;margin-bottom:12px}

/* Make entire project item clickable */
.project-link{display:block;text-decoration:none;color:inherit;cursor:pointer}
.project-link:hover{text-decoration:none}

/* View button styling */
.view-btn{
  display:inline-block;
  margin-top:12px;
  padding:12px 20px;
  background:var(--accent-cyan);
  color:#021018;
  border:2px solid var(--accent-cyan);
  border-radius:6px;
  font-size:1rem;
  font-weight:700;
  cursor:pointer;
  transition:all 0.2s ease;
}

.project-link:hover .view-btn{
  background:transparent;
  color:var(--accent-cyan);
  transform:scale(1.08);
}

/* Footer */
/* Footer */
footer{background:transparent;text-align:center;padding:26px 0;color:var(--muted);border-top:1px solid rgba(255,255,255,0.02)}

/* Concept Art page PNG images with white background */
.concept-art img[src*=".png"]{
  background-color:#ffffff;
  padding:8px;
  border-radius:6px;
}

/* El Silbon page - no white background for PNG images */
.el-silbon img[src*=".png"]{
  background-color:transparent;
  padding:0;
}

/* Scrolling Gallery */
.scroll-gallery{margin:32px 0;width:100%;overflow:hidden}
.gallery-container{display:flex;gap:20px;overflow-x:auto;padding:20px 0;scroll-behavior:smooth;-webkit-overflow-scrolling:touch}
.gallery-container::-webkit-scrollbar{height:8px}
.gallery-container::-webkit-scrollbar-track{background:rgba(255,255,255,0.05)}
.gallery-container::-webkit-scrollbar-thumb{background:rgba(190,52,85,0.5);border-radius:4px}
.gallery-container::-webkit-scrollbar-thumb:hover{background:rgba(190,52,85,0.8)}
.gallery-item{flex:0 0 300px;display:flex;flex-direction:column;gap:12px;cursor:pointer;transition:transform 0.3s ease}
.gallery-item:hover{transform:scale(1.05)}
.gallery-item img{width:100%;height:280px;object-fit:cover;border-radius:8px}
.gallery-item figcaption{font-size:0.9rem;color:var(--muted);text-align:left;line-height:1.3}

/* Gallery Modal Window */
@keyframes modalPopIn{
  0%{opacity:0;transform:scale(0.75) translateY(-40px)}
  50%{opacity:1}
  100%{opacity:1;transform:scale(1) translateY(0)}
}

@keyframes backdropFadeIn{
  0%{opacity:0}
  100%{opacity:1}
}

.gallery-modal{
  display:none;
  position:fixed;
  z-index:1001;
  left:0;
  top:0;
  width:100%;
  height:100%;
  background-color:rgba(0,0,0,0.85);
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
  overflow:auto;
  animation:backdropFadeIn 0.3s ease-out;
}

.gallery-modal.active{
  display:flex;
  animation:backdropFadeIn 0.3s ease-out;
}

.gallery-modal-content{
  position:relative;
  margin:auto;
  display:flex;
  justify-content:center;
  align-items:center;
  width:100%;
  height:100%;
  padding:60px 40px;
}

.gallery-modal-window{
  background:linear-gradient(135deg, rgba(7,16,38,0.95) 0%, rgba(5,6,10,0.98) 100%);
  border:2px solid rgba(190,52,85,0.3);
  border-radius:16px;
  padding:40px;
  box-shadow:
    0 0 80px rgba(0,240,255,0.15),
    0 0 120px rgba(232,90,126,0.1),
    inset 0 0 40px rgba(255,255,255,0.02);
  max-width:90vw;
  max-height:90vh;
  display:flex;
  flex-direction:column;
  gap:20px;
  animation:modalPopIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.gallery-modal-image{
  text-align:center;
  display:flex;
  flex-direction:column;
  gap:20px;
  justify-content:center;
  align-items:center;
}

.gallery-modal-image img{
  max-width:100%;
  max-height:70vh;
  width:auto;
  height:auto;
  object-fit:contain;
  border-radius:8px;
  box-shadow:0 0 60px rgba(0,240,255,0.25);
}

.gallery-modal-image figcaption{
  font-size:1.1rem;
  color:rgba(255,255,255,0.8);
  font-weight:500;
  text-align:left;
}

.gallery-close{
  position:absolute;
  top:20px;
  right:20px;
  color:#fff;
  font-size:36px;
  font-weight:bold;
  cursor:pointer;
  z-index:1003;
  transition:all 0.2s ease;
  background:rgba(190,52,85,0.2);
  border:1px solid rgba(190,52,85,0.3);
  width:48px;
  height:48px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:8px;
}

.gallery-close:hover{
  color:var(--accent-mag);
  transform:scale(1.15);
  background:rgba(190,52,85,0.4);
}

.gallery-nav{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  background:rgba(190,52,85,0.6);
  border:1px solid rgba(190,52,85,0.4);
  color:#fff;
  font-size:28px;
  padding:16px 20px;
  cursor:pointer;
  border-radius:8px;
  transition:all 0.3s ease;
  z-index:1003;
}

.gallery-nav:hover{
  background:rgba(190,52,85,0.95);
  transform:translateY(-50%) scale(1.1);
  box-shadow:0 0 30px rgba(232,90,126,0.3);
}

.gallery-nav.prev{left:20px}
.gallery-nav.next{right:20px}

/* Image Lightbox */
.image-lightbox{display:none;position:fixed;z-index:9999;left:0;top:0;width:100%;height:100%;background-color:rgba(0,0,0,0.95);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}
.image-lightbox.active{display:flex !important;justify-content:center;align-items:center;animation:fadeIn 0.3s ease-out}
@keyframes fadeIn{from{opacity:0}to{opacity:1}}
.lightbox-content{position:relative;display:flex;flex-direction:column;justify-content:center;align-items:center;width:100%;height:100%;padding:40px}
.lightbox-content img{max-width:90vw;max-height:85vh;width:auto;height:auto;object-fit:contain;border-radius:8px;box-shadow:0 0 80px rgba(0,240,255,0.2)}
.lightbox-close{position:absolute;top:30px;right:40px;color:#fff;font-size:40px;font-weight:bold;cursor:pointer;z-index:1101;transition:all 0.2s ease;background:rgba(190,52,85,0.2);border:1px solid rgba(190,52,85,0.3);width:50px;height:50px;display:flex;align-items:center;justify-content:center;border-radius:8px}
.lightbox-close:hover{color:var(--accent-mag);transform:scale(1.15);background:rgba(190,52,85,0.4)}

@media (max-width: 1024px){

  .hero{
    min-height:auto;
    padding:80px 0;
  }

  .hero-content{
    grid-template-columns:1fr;
    gap:50px;
    text-align:center;
  }

  .hero-logo{
    max-width:400px;
  }

  .hero p{
    margin-left:auto;
    margin-right:auto;
  }
}
/* Small responsive tweaks */
@media (max-width:768px){
  .header-container{flex-direction:column;gap:10px}
  .nav-list{flex-direction:column;gap:10px}
  .hero{padding:80px 0}
}

/* Responsive */
@media (max-width:768px){
  .header-container{
    flex-direction: column;
    gap: 10px;
  }
  .nav-list{
    flex-direction: column;
    gap: 10px;
  }
}
