/* Base Styles - Corrected */
#top-glow {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 300px;
    pointer-events: none;
    background: radial-gradient(ellipse at center, rgba(147, 112, 219, 0.4) 0%, rgba(0,0,0,0) 70%);
    opacity: 0.2;
    transition: opacity 0.1s ease-out;
    z-index: 1;
}

body {
    background-color: #000000;
    background-image: radial-gradient(ellipse at 50% 0%, rgba(74, 42, 108, 0.6) 0%, rgba(28, 37, 38, 0.5) 30%, rgba(0, 0, 0, 0) 70%);
    color: #FFFFFF;
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    background-repeat: no-repeat;
    position: relative;
    min-height: 100vh;
    margin: 0; /* Added to remove default margin */
    height: 100%; /* Ensures body fills viewport */
}

/* Fixed particle canvas styles */
#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none; /* Allows mouse events to pass through */
    display: block; /* Fixes canvas rendering issues */
}

.content-wrapper {
    transition: opacity 0.3s ease;
    position: relative;
    z-index: 10;
}

/* Logo Styles */
.logo-container {
    transition: filter 0.3s ease-out, opacity 0.3s ease-out;
}

/* Navigation Menu */
.nav-menu {
    z-index: 999; 
    background: rgba(28, 37, 38, 0.2);
    backdrop-filter: blur(10px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.5);
    border-radius: 0 16px 16px 0;
    transition: transform 0.4s cubic-bezier(0.25, 0.1, 0.25, 1.0), 
                backdrop-filter 0.4s ease,
                -webkit-backdrop-filter 0.4s ease;
}

.nav-menu::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, 
                rgba(28, 37, 38, 0.15), 
                rgba(9, 12, 16, 0.25),
                rgba(147, 112, 219, 0.05));
    z-index: -1;
    border-radius: inherit;
}

/* Icon Container */
.icon-container svg {
    width: 64px;
    height: 64px;
    stroke: #FFFFFF;
    stroke-width: 1.5;
    fill: none;
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 12px #808080);
}

.icon-container:hover svg {
    stroke: #00B7EB;
    transform: translateY(-5px);
}

.icon-container p {
    transition: color 0.3s ease;
}

.icon-container:hover p {
    color: #00B7EB;
}

/* Footer Links */
.footer-link {
    color: #9370DB;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #FFFFFF;
}

/* Menu Items */
.menu-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    margin-bottom: 12px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.menu-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(5px);
}

.menu-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: #00B7EB;
    transform: translateX(-10px);
    transition: transform 0.3s ease;
}

.menu-item:hover::before {
    transform: translateX(0);
}

/* Text Styles */
.subtitle-golden {
    color: #FFA500;
    text-shadow: 0 0 6px rgba(255, 165, 0, 0.4);
}

/* Hamburger Menu */
.hamburger {
    position: fixed;
    top: 1rem;
    left: 1rem;
    z-index: 1000;
    background: rgba(28, 37, 38, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    width: 50px;
    height: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

.hamburger:hover {
    background: rgba(28, 37, 38, 0.6);
}

.hamburger .line {
    transition: all 0.3s ease-in-out;
    background: #FFFFFF;
    height: 2px;
    margin: 2px 0;
    width: 24px;
    border-radius: 2px;
}

.hamburger.open .line1 {
    transform: rotate(-45deg) translate(-4px, 5px);
}

.hamburger.open .line2 {
    opacity: 0;
}

.hamburger.open .line3 {
    transform: rotate(45deg) translate(-4px, -5px);
}

/* Project Panel Styles */
.project-panel {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 20, 25, 0.5);
    backdrop-filter: blur(3px) saturate(150%);
    -webkit-backdrop-filter: blur(3px) saturate(150%);
    z-index: none;
    opacity: 0;
    transform: translateY(100%);
    pointer-events: none;
    transition: all 1s cubic-bezier(0.25, 0.1, 0.25, 1);
    overflow-y: auto;
    padding-top: 0vh;
}

.project-panel.active {
    z-index: 100;
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

/* Panel Content */
.panel-content {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto 10vh auto;
    padding: 2.5rem;
    background: rgba(28, 37, 38, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    pointer-events: all;
}

.panel-header {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: -2.5rem -2.5rem 1.5rem -2.5rem;
    padding: 0.4rem 2.5rem;
    background: rgba(28, 37, 38, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.panel-header h2 {
    font-family: 'Inter', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #FFFFFF;
}

.close-panel {
    transition: all 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
    background: transparent;
    border: none;
    color: #FFFFFF;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.close-panel:hover {
    color: #FF4500;
    transform: rotate(90deg);
    background: rgba(255, 255, 255, 0.1);
}

/* Project Sections */
.project-section {
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    background: rgba(50, 50, 50, 0.4);
    border-radius: 15px;
    border-left: 4px solid #9370DB;
}

.project-section:last-child {
    margin-bottom: 0;
}

.project-section h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.6rem;
    font-weight: 600;
    color: rgb(255,255,255);
    margin-bottom: 1rem;
}

.project-section h4 {
    font-family: 'Inter', sans-serif;
    font-size: 1.6rem;
    font-weight: 600;
    color: #00B7EB;
    margin-bottom: 1rem;
}

/* Clickable headline style */
.project-section h4.clickable-headline {
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 1.5rem;
}

.project-section h4.clickable-headline::before {
    content: "→";
    position: absolute;
    left: 0;
    transition: transform 0.3s ease;
    color: #9370DB;
}

/* Hover effects */
.project-section h4.clickable-headline:hover {
    color: #9370DB;
    transform: translateX(5px);
}

.project-section h4.clickable-headline:hover::before {
    transform: translateX(3px);
    color: #00B7EB;
}

/* Active/click effect */
.project-section h4.clickable-headline:active {
    transform: translateX(5px) scale(0.98);
}

/* Visited state (optional) */
.project-section h4.clickable-headline:visited {
    color: #FFA500;
}

.project-section p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1rem;
}

.project-section .highlight {
    color: #FFA500;
    font-weight: 600;
}

/* Project Content Layout */
.project-content {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.project-text {
    flex: 1;
    min-width: 300px;
}

.project-visual {
    flex: 1;
    min-width: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Visual Placeholders */
.visual-placeholder {
    width: 100%;
    height: 250px;
    background: linear-gradient(45deg, #1a2a6c, #b21f1f, #1a2a6c);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
}

/* Video Container */
.video-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding-top: 56.25%;
    border-radius: 15px;
    margin: 0.2rem 0;
    background: #000;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Responsive Behavior */
@media (max-width: 768px) {
    .project-content {
        flex-direction: column;
    }
    
    .project-text, .project-visual {
        min-width: 100%;
        width: 100%;
    }
}

/* Footer Animation */
footer {
    transition: all 0.6s ease;
}

.footer-links {
    transition: all 0.6s ease;
}

/* Close Button */
.close-btn {
    transition: all 0.3s ease;
}

.close-btn:hover {
    transform: rotate(90deg);
    color: #FF4500;
}


/* Content Page Styles */
.content-container {
    max-width: 900px;
    margin: 5rem auto;
    padding: 2rem;
    position: relative;
    z-index: 10;
}

.content-article {
    background: rgba(28, 37, 38, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2.5rem;
    border: 1px solid rgba(0, 183, 235, 0.3);
}

.content-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #00B7EB;
}

.content-header h1 {
    font-size: 2.2rem;
    color: #00B7EB;
    margin-bottom: 0.5rem;
}

.back-button {
    color: #9370DB;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.back-button:hover {
    color: #00B7EB;
    transform: translateX(-3px);
}

.content-body {
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
}

.content-video {
    margin: 2rem 0;
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
}

.content-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 8px;
}

/* Clickable Headline Link */
.project-section a.clickable-headline {
    display: block;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    margin-bottom: 1rem;
}

/* Headline Text Styling */
.project-section a.clickable-headline h4 {
    font-family: 'Inter', sans-serif;
    font-size: 1.6rem;
    font-weight: 600;
    color: #00B7EB;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 1.8rem;
    display: inline-block; /* Makes only text width clickable */
}

/* Arrow Indicator */
.project-section a.clickable-headline h4::before {
    content: "→";
    position: absolute;
    left: 0;
    transition: transform 0.3s ease;
    color: #9370DB;
}

/* Hover Effects */
.project-section a.clickable-headline:hover h4 {
    color: #9370DB;
    transform: translateX(5px);
}

.project-section a.clickable-headline:hover h4::before {
    transform: translateX(3px);
    color: #00B7EB;
}

/* Active State */
.project-section a.clickable-headline:active h4 {
    transform: translateX(5px) scale(0.98);
}

/* Visited State (optional) */
.project-section a.clickable-headline:visited h4 {
    color: #FFA500;
}

#particle-canvas {
  position: fixed;    /* or absolute, whatever you already have */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;        /* push it behind the UI */
  pointer-events: none;
}

/* ensure canvas doesn’t block menu clicks */
#particle-canvas {
  pointer-events: none;
}

/* prevent background scroll when menu is open */
.no-scroll {
  overflow: hidden;
}

/* slide-out menu core styles */
#menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 16rem; /* 256px or whatever you prefer */
  height: 100vh;
  background: #fff;
  transform: translateX(-100%);
  transition: transform 0.3s ease-in-out;
  z-index: 50;          /* above canvas & other content */
  pointer-events: auto; /* enable clicks inside */
}

/* when “open” class is added, slide it into view */
#menu.open {
  transform: translateX(0);
}

/* optional: style your menu items */
#menu .menu-item {
  display: block;
  padding: 1rem;
  color: #333;
  text-decoration: none;
  transition: background 0.2s;
}

#menu .menu-item:hover {
  background: #f0f0f0;
}

/* Add to assets/css/style.css */

/* Slideshow styles */
.slideshow {
    position: relative;
    max-width: 100%;
    margin: auto;
}

.slides {
    display: none;
}

.slides.active {
    display: block;
}

.slides img {
    width: 100%;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.1);
}

.slideshow-controls {
    display: flex;
    justify-content: center;
    margin-top: 10px;
    gap: 10px;
}

.dot {
    cursor: pointer;
    height: 12px;
    width: 12px;
    background-color: #9370DB;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.dot.active, .dot:hover {
    background-color: #00B7EB;
}

/* Password prompt */
.password-prompt {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.password-box {
    background: rgba(28, 37, 38, 0.9);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid #00B7EB;
    text-align: center;
    max-width: 400px;
    width: 90%;
}

.password-input {
    margin: 1.5rem 0;
    padding: 0.8rem;
    width: 100%;
    background: rgba(255,255,255,0.1);
    border: 1px solid #9370DB;
    border-radius: 8px;
    color: white;
    font-size: 1rem;
}

.bullet-dot {
  position: relative;
  top: -2px; /* You can adjust this value */
  font-weight: bold;
  margin-right: 6px;
}

