/* CSS Variables */
:root {
  --color-dark-navy: #0D1B2A;
  --color-anthracite: #1B1B1B;
  --color-gray-300: #A9A9A9;
  --color-gray-500: #D9D9D9;
  --color-amber: #FF6700;
  --color-background-light: #F5F5F5;
  --color-white: #FFFFFF;
  --color-navy: #0D1B2A;
  --color-cream: #F8F6F0;
  --shadow: 0 8px 24px rgba(0,0,0,0.12);
  --card-bg: #FFFFFF;
}

/* Base */
* { box-sizing: border-box; }
body { margin: 0; font-family: 'Open Sans', 'Roboto', sans-serif; line-height: 1.6; color: var(--anthracite); background: var(--color-cream); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; width: 100%; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #0D1B2A !important;
  border-bottom: 3px solid var(--amber);
  transition: transform .28s ease, box-shadow .2s ease, background .2s ease;
}
.header-inner { display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 20px; padding: 16px 0; }
.brand { display: flex; align-items: baseline; gap: 10px; }
.logo { font-family: 'Montserrat', 'Roboto', sans-serif; font-weight: 800; letter-spacing: 0.2px; color: #FF6700 !important; font-size: 1.12rem; }
.tag { color: var(--gray-300); font-size: 0.95rem; }

.main-nav ul { list-style: none; padding: 0; margin: 0; display: flex; gap: 6px; flex-wrap: wrap; }
.main-nav a { color: #ffffff !important; font-weight: 600; padding: 10px 12px; border-radius: 10px; border-bottom: 2px solid transparent; transition: color .2s ease, background .2s ease, border-color .2s ease; }
.main-nav a:hover, .main-nav a:focus { background: #FF6700 !important; color: #ffffff !important; border-bottom-color: #FF6700; }

/* Search input-group on dark header */
.search { display: flex; align-items: center; gap: 0; border: 1px solid rgba(255,255,255,0.28); border-radius: 10px; overflow: hidden; background: rgba(255,255,255,0.08); }
.search input[type="search"] {
  padding: 9px 12px;
  border: none;
  outline: none;
  min-width: 170px;
  color: #fff;
  background: transparent;
}
.search input::placeholder { color: rgba(255,255,255,0.7); }
.search button {
  padding: 9px 12px;
  background: transparent;
  color: #fff;
  border: none;
  border-left: 1px solid rgba(255,255,255,0.28);
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.search button:hover { background: #FF6700 !important; color: #ffffff !important; border-left-color: #FF6700; }

.nav-toggle { display: none; background: transparent; border: none; font-size: 1.25rem; cursor: pointer; color: #fff !important; }

/* Hero */
.hero { padding: 72px 0 40px; background: var(--color-cream); border-bottom: 1px solid rgba(0,0,0,0.06); }
.hero h1 { font-family: 'Montserrat', 'Roboto', sans-serif; font-weight: 800; color: var(--navy); margin: 0 0 10px; font-size: clamp(1.6rem, 2.8vw, 2.4rem); }
.hero h1::after { content: ''; display: block; width: 60px; height: 4px; background: var(--amber); margin-top: 10px; border-radius: 2px; }
.hero p { color: var(--navy); max-width: 720px; opacity: 0.8; }
.hero-buttons { display: flex; gap: 12px; margin-top: 20px; }
.cta { display: inline-block; padding: 10px 16px; background: #FF6700 !important; color: #ffffff !important; border-radius: 10px; font-weight: 700; box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease; border: 2px solid #FF6700; }
.cta:hover { transform: translateY(-1px); box-shadow: 0 14px 36px rgba(0,0,0,0.12); background: #e55a00 !important; }
.cta.secondary { background: transparent !important; color: #FF6700 !important; border: 2px solid #FF6700; }
.cta.secondary:hover { background: #FF6700 !important; color: #ffffff !important; }

/* Hero grid */
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 28px; }
.hero-visual img { width: 100%; height: auto; border-radius: 16px; box-shadow: 0 16px 44px rgba(0,0,0,0.10); object-fit: cover; }

/* Stats Section */
.stats { padding: 40px 0; background: var(--white); }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 20px; }
.stat-item { text-align: center; padding: 20px; background: var(--color-cream); border-radius: 12px; box-shadow: 0 2px 8px rgba(0,0,0,0.06); border: 1px solid rgba(0,0,0,0.05); position: relative; }
.stat-item::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--amber); border-radius: 12px 12px 0 0; }
.stat-number { font-size: 2rem; font-weight: 800; color: var(--amber); margin-bottom: 5px; }
.stat-label { color: var(--navy); font-weight: 600; }

/* Sections */

/* About Section */
.about { background: var(--white); }
.about h2::after { content: ''; display: block; width: 60px; height: 4px; background: var(--amber); margin-top: 10px; border-radius: 2px; }
.about-content { display: grid; grid-template-columns: 2fr 1fr; gap: 30px; align-items: start; }
.about-text p { margin-bottom: 15px; }
.about-highlights { display: flex; flex-direction: column; gap: 12px; }
.highlight-item { display: flex; align-items: center; gap: 10px; padding: 12px; background: var(--color-cream); border-radius: 8px; box-shadow: 0 2px 6px rgba(0,0,0,0.04); border: 1px solid rgba(0,0,0,0.05); border-left: 4px solid var(--amber); }
.highlight-icon { font-size: 1.2rem; }
.highlight-text { font-weight: 600; color: var(--navy); }

/* Featured Projects - Horizontal Scrollable */
.featured-projects { background: var(--color-cream); margin: 20px auto; border-radius: 16px; padding: 40px; border: 1px solid rgba(0,0,0,0.05); max-width: 1200px; }
.featured-projects h2 { color: var(--navy); text-align: center; }
.featured-projects h2::after { content: ''; display: block; width: 60px; height: 4px; background: var(--amber); margin: 10px auto 0; border-radius: 2px; }
.featured-projects p { color: var(--navy); opacity: 0.8; text-align: center; }
.featured-grid { display: flex; gap: 20px; overflow-x: auto; padding: 20px 0; scroll-snap-type: x mandatory; }
.featured-card { flex: 0 0 350px; background: var(--white); border-radius: 12px; overflow: hidden; box-shadow: 0 4px 12px rgba(0,0,0,0.08); transition: transform .3s ease, box-shadow .3s ease; border: 1px solid rgba(0,0,0,0.05); scroll-snap-align: start; }
.featured-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.12); }
.featured-card img { width: 100%; height: 200px; object-fit: cover; }
.featured-content { padding: 20px; }
.featured-content h3 { margin: 0 0 8px; color: var(--navy); font-size: 1.1rem; }
.featured-content p { margin: 0 0 12px; color: #666; }
.featured-link { color: var(--amber); font-weight: 600; }

/* Projects */
.projects h2, .about h2, .cv h2, .software h2, .links h2, .aiar h2, .music h2, .sport h2, .gallery h2 {
  font-family: 'Montserrat', 'Roboto', sans-serif;
  font-weight: 800;
  color: var(--navy);
  margin: 12px 0 20px;
}

/* Page Headers with Orange Accents */
.projects h2::after, .cv h2::after, .software h2::after, .links h2::after, .aiar h2::after, .music h2::after, .gallery h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--amber);
  margin-top: 10px;
  border-radius: 2px;
}

.project-card {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 24px;
  background: var(--card-bg);
  border: 1px solid #eaeaea;
  border-radius: 16px;
  padding: 16px;
  margin: 18px 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
  transition: box-shadow .25s ease, transform .25s ease, border-color .25s ease;
}

.project-card .media { overflow: hidden; border-radius: 12px; }
.project-card img { width: 100%; height: 100%; object-fit: cover; transform: scale(1); transition: transform .35s ease; }

.project-card .content h3 { margin: 0 0 6px; font-family: 'Montserrat', 'Roboto', sans-serif; font-weight: 800; color: var(--navy); }
.project-card .meta { color: var(--gray-500); font-weight: 600; margin-bottom: 8px; }
.project-card p { color: #333; margin: 0 0 10px; }
.project-card .more { font-weight: 700; color: var(--amber); }

.project-card:hover { box-shadow: 0 16px 44px rgba(0,0,0,0.12); transform: translateY(-2px); border-color: var(--anthracite); }
.project-card:hover img { transform: scale(1.05); }

/* Filters - Embedded in Page */
.filters { position: sticky; top: calc(var(--header-h, 0px)); z-index: 900; backdrop-filter: blur(6px); background: rgba(255,255,255,0.95); border: 1px solid #eee; border-radius: 12px; padding: 10px 12px; display: flex; flex-direction: column; gap: 10px; margin: 8px 0 18px; box-shadow: 0 8px 20px rgba(0,0,0,0.04); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { appearance: none; border: 2px solid #1e3a8a; background: #ffffff; color: #1e3a8a; padding: 8px 12px; border-radius: 999px; font-weight: 700; cursor: pointer; transition: background .2s ease, color .2s ease, border-color .2s ease, transform .1s ease; }
.chip:hover { border-color: #1e3a8a; color: #1e3a8a; background: rgba(30, 58, 138, 0.05); }
.chip.is-active { background: #1e3a8a; border-color: #1e3a8a; color: #ffffff; transform: translateY(-2px); }
.results-info { color: var(--gray-500); font-weight: 600; }
.filters-controls { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.sort { font-weight: 700; color: var(--navy); }
#sortSelect { padding: 8px 10px; border-radius: 10px; border: 1px solid var(--gray-300); }
.clear-btn { padding: 8px 12px; border-radius: 10px; border: 1px solid var(--gray-300); background: #666 !important; color: #ffffff !important; font-weight: 700; cursor: pointer; border: 2px solid #666; }
.clear-btn:hover { background: #333 !important; color: #ffffff !important; border-color: #333; }
.empty-results { padding: 10px 0; color: var(--anthracite); font-weight: 700; }

/* Gallery Grid - Instagram Style */
.gallery-grid { display: flex; gap: 15px; overflow-x: auto; padding: 20px 0; scroll-snap-type: x mandatory; }
.gallery-item { flex: 0 0 300px; position: relative; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 12px rgba(0,0,0,0.08); transition: transform .3s ease, box-shadow .3s ease; scroll-snap-align: start; }
.gallery-item:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.12); }
.gallery-item img { width: 100%; height: 300px; object-fit: cover; }
.gallery-item .caption { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(transparent, rgba(0,0,0,0.8)); color: white; padding: 12px; font-weight: 600; }

/* Software Skills */
.skills-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; margin: 20px 0; }
.skill-card { background: white; padding: 20px; border-radius: 12px; box-shadow: 0 2px 8px rgba(0,0,0,0.06); border-left: 4px solid var(--amber); }
.skill-card h3 { margin: 0 0 8px; color: var(--navy); font-size: 1.1rem; }
.skill-card p { margin: 0; color: #666; font-size: 0.95rem; }

/* Enhanced Software Skills */
.software-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 20px; margin: 30px 0; }
.software-stats .stat-item { text-align: center; padding: 20px; background: var(--color-cream); border-radius: 12px; box-shadow: 0 2px 8px rgba(0,0,0,0.06); border: 1px solid rgba(0,0,0,0.05); position: relative; }
.software-stats .stat-item::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--amber); border-radius: 12px 12px 0 0; }
.software-stats .stat-number { font-size: 2rem; font-weight: 800; color: var(--amber); margin-bottom: 5px; }
.software-stats .stat-label { color: var(--navy); font-weight: 600; }

.skill-card { background: white; padding: 24px; border-radius: 16px; box-shadow: 0 4px 12px rgba(0,0,0,0.08); border-left: 4px solid var(--amber); transition: transform .2s ease, box-shadow .2s ease; }
.skill-card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.12); }
.skill-header { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.skill-icon { font-size: 1.8rem; }
.skill-card h3 { margin: 0; color: var(--navy); font-size: 1.2rem; font-weight: 700; }
.skill-card p { margin: 0 0 15px; color: #666; font-size: 0.95rem; line-height: 1.5; }
.skill-level { display: flex; align-items: center; gap: 10px; }
.level-bar { flex: 1; height: 8px; background: #f0f0f0; border-radius: 4px; overflow: hidden; }
.level-fill { height: 100%; background: var(--amber); border-radius: 4px; transition: width .3s ease; }
.skill-level span { font-size: 0.85rem; font-weight: 600; color: var(--navy); }

/* Development Approach */
.development-approach { margin: 40px 0; padding: 30px; background: var(--color-cream); border-radius: 16px; border: 1px solid rgba(0,0,0,0.05); }
.development-approach h3 { color: var(--navy); margin-bottom: 20px; }
.development-approach h3::after { content: ''; display: block; width: 60px; height: 4px; background: var(--amber); margin-top: 10px; border-radius: 2px; }
.approach-content { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.approach-item { display: flex; gap: 15px; padding: 20px; background: white; border-radius: 12px; box-shadow: 0 2px 8px rgba(0,0,0,0.06); border-left: 3px solid var(--amber); }
.approach-icon { font-size: 2rem; }
.approach-text h4 { margin: 0 0 8px; color: var(--navy); font-size: 1.1rem; }
.approach-text p { margin: 0; color: #666; line-height: 1.5; }

/* Recent Projects */
.recent-projects { margin: 40px 0; }
.recent-projects h3 { color: var(--navy); margin-bottom: 20px; }
.recent-projects h3::after { content: ''; display: block; width: 60px; height: 4px; background: var(--amber); margin-top: 10px; border-radius: 2px; }
.project-highlights { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 15px; }
.project-highlight { display: flex; gap: 15px; padding: 20px; background: white; border-radius: 12px; box-shadow: 0 2px 8px rgba(0,0,0,0.06); border-left: 3px solid var(--amber); transition: transform .2s ease, box-shadow .2s ease; }
.project-highlight:hover { transform: translateY(-2px); box-shadow: 0 4px 16px rgba(0,0,0,0.1); }
.project-icon { font-size: 2rem; }
.project-info h4 { margin: 0 0 5px; color: var(--navy); font-size: 1.1rem; }
.project-info p { margin: 0; color: #666; font-size: 0.9rem; }

/* Links Grid - 3x2 Layout */
.links { background: var(--white); }
.links h2::after { content: ''; display: block; width: 60px; height: 4px; background: var(--amber); margin-top: 10px; border-radius: 2px; }
.links-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; margin: 20px 0; }
.link-card { display: flex; align-items: center; gap: 15px; padding: 20px; background: var(--color-cream); border-radius: 12px; box-shadow: 0 2px 8px rgba(0,0,0,0.06); transition: transform .2s ease, box-shadow .2s ease; border-left: 4px solid var(--amber); border: 1px solid rgba(0,0,0,0.05); text-decoration: none; color: inherit; }
.link-card:hover { transform: translateY(-2px); box-shadow: 0 4px 16px rgba(0,0,0,0.1); }
.link-icon { font-size: 2rem; }
.link-content { flex: 1; }
.link-content h3 { margin: 0 0 5px; color: var(--navy); font-size: 1.1rem; }
.link-content p { margin: 0; color: #666; font-size: 0.9rem; }
.link-arrow { font-size: 1.2rem; color: var(--amber); font-weight: bold; transition: transform .2s ease; }
.link-card:hover .link-arrow { transform: translateX(3px); }

/* Collaboration Section */
.collaboration-section { margin-top: 40px; padding: 30px; background: var(--color-cream); border-radius: 16px; border: 1px solid rgba(0,0,0,0.05); }
.collaboration-section h3 { color: var(--navy); margin-bottom: 15px; }
.collaboration-section h3::after { content: ''; display: block; width: 40px; height: 3px; background: var(--amber); margin-top: 8px; border-radius: 2px; }
.collaboration-section p { color: var(--navy); margin-bottom: 20px; line-height: 1.6; }
.collaboration-highlights { display: flex; gap: 20px; flex-wrap: wrap; }
.collaboration-highlights .highlight-item { display: flex; align-items: center; gap: 10px; padding: 12px 16px; background: white; border-radius: 8px; box-shadow: 0 2px 6px rgba(0,0,0,0.04); border-left: 3px solid var(--amber); }
.collaboration-highlights .highlight-icon { font-size: 1.2rem; }
.collaboration-highlights .highlight-text { font-weight: 600; color: var(--navy); }

/* Download Button in CV */
.download-btn { display: inline-block; padding: 12px 20px; background: #FF6700 !important; color: #ffffff !important; border-radius: 10px; font-weight: 700; box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease; border: 2px solid #FF6700; text-decoration: none; }
.download-btn:hover { transform: translateY(-1px); box-shadow: 0 14px 36px rgba(0,0,0,0.12); background: #e55a00 !important; }

/* General Button Styling for Other Pages */
.btn, button, .button { display: inline-block; padding: 10px 16px; background: #FF6700 !important; color: #ffffff !important; border-radius: 10px; font-weight: 700; box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease; border: 2px solid #FF6700; text-decoration: none; cursor: pointer; }
.btn:hover, button:hover, .button:hover { transform: translateY(-1px); box-shadow: 0 14px 36px rgba(0,0,0,0.12); background: #e55a00 !important; }

/* Secondary Button Style */
.btn-secondary, .button-secondary { background: transparent !important; color: #FF6700 !important; border: 2px solid #FF6700; }
.btn-secondary:hover, .button-secondary:hover { background: #FF6700 !important; color: #ffffff !important; }

/* Reveal Animations */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* Footer */
.site-footer { padding: 24px 0 40px; text-align: center; background: var(--color-cream); color: var(--navy); border-top: 3px solid var(--amber); }
.site-footer a { color: var(--navy) !important; font-weight: 700; }
.site-footer .container { background: transparent; }

/* Responsive */
@media (max-width: 1024px) {
  .header-inner { grid-template-columns: auto 1fr auto; }
  .search { display: none; }
  .project-card { grid-template-columns: 320px 1fr; gap: 20px; }
  .about-content { grid-template-columns: 1fr; gap: 20px; }
  .links-grid { grid-template-columns: repeat(2, 1fr); }
  .featured-card { flex: 0 0 300px; }
}

@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .hero p { max-width: none; }
  .project-card { grid-template-columns: 1fr; gap: 16px; }
  .project-card .media { order: -1; }
  .featured-grid { gap: 15px; }
  .featured-card { flex: 0 0 280px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .header-inner { grid-template-columns: auto 1fr auto; }
  .main-nav { display: none; position: absolute; top: 62px; left: 0; right: 0; background: var(--navy); border-bottom: 1px solid rgba(255,255,255,0.1); }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; padding: 10px 16px; gap: 0; }
  .main-nav a { border-radius: 8px; padding: 12px; border-bottom-color: transparent; color: #ffffff; }
  .main-nav a:hover { background: var(--amber); }
  .nav-toggle { display: inline-block; }
  .hero { padding: 60px 0 30px; }
  .hero h1 { font-size: 2rem; }
  .container { width: 95%; }
  .hero-buttons { flex-direction: column; }
  .links-grid { grid-template-columns: 1fr; }
  .featured-card { flex: 0 0 250px; }
}

@media (max-width: 740px) {
  .chips { gap: 6px; }
  .chip { padding: 7px 10px; font-size: 0.9rem; }
  .filters-controls { flex-direction: column; align-items: stretch; }
  .filters-controls > * { width: 100%; }
  .gallery-grid { gap: 12px; }
  .gallery-item { flex: 0 0 250px; }
  .gallery-item img { height: 250px; }
  .skills-grid { grid-template-columns: 1fr; }
  .project-card { padding: 12px; margin: 12px 0; }
  .project-card .content h3 { font-size: 1.1rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 15px; }
  .stat-item { padding: 15px; }
  .stat-number { font-size: 1.5rem; }
  .featured-card { flex: 0 0 220px; }
}

@media (max-width: 480px) {
  .hero { padding: 50px 0 25px; }
  .hero h1 { font-size: 1.8rem; }
  .hero p { font-size: 0.95rem; }
  .cta { padding: 12px 16px; font-size: 0.95rem; }
  .gallery-item { flex: 0 0 200px; }
  .gallery-item img { height: 200px; }
  .skill-card { padding: 16px; }
  .project-card { padding: 10px; }
  .project-card .content h3 { font-size: 1rem; }
  .project-card .meta { font-size: 0.9rem; }
  .project-card p { font-size: 0.9rem; }
  .stats-grid { grid-template-columns: 1fr; }
  .featured-projects { padding: 20px; }
  .links-grid { grid-template-columns: 1fr; }
  .featured-card { flex: 0 0 200px; }
}

/* AI/AR Stats */
.ai-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 20px; margin: 30px 0; }
.ai-stats .stat-item { text-align: center; padding: 20px; background: var(--color-cream); border-radius: 12px; box-shadow: 0 2px 8px rgba(0,0,0,0.06); border: 1px solid rgba(0,0,0,0.05); position: relative; }
.ai-stats .stat-item::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--amber); border-radius: 12px 12px 0 0; }
.ai-stats .stat-number { font-size: 2rem; font-weight: 800; color: var(--amber); margin-bottom: 5px; }
.ai-stats .stat-label { color: var(--navy); font-weight: 600; }

/* AI Tools Grid */
.ai-tools { margin: 40px 0; }
.ai-tools h3 { color: var(--navy); margin-bottom: 20px; }
.ai-tools h3::after { content: ''; display: block; width: 60px; height: 4px; background: var(--amber); margin-top: 10px; border-radius: 2px; }
.tools-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 15px; }
.tool-item { display: flex; gap: 15px; padding: 20px; background: white; border-radius: 12px; box-shadow: 0 2px 8px rgba(0,0,0,0.06); border-left: 3px solid var(--amber); }
.tool-icon { font-size: 2rem; }
.tool-info h4 { margin: 0 0 5px; color: var(--navy); font-size: 1.1rem; }
.tool-info p { margin: 0; color: #666; font-size: 0.9rem; }

/* Future Vision */
.future-vision { margin: 40px 0; padding: 30px; background: var(--color-cream); border-radius: 16px; border: 1px solid rgba(0,0,0,0.05); }
.future-vision h3 { color: var(--navy); margin-bottom: 20px; }
.future-vision h3::after { content: ''; display: block; width: 60px; height: 4px; background: var(--amber); margin-top: 10px; border-radius: 2px; }
.vision-content p { color: var(--navy); margin-bottom: 20px; line-height: 1.6; }
.vision-goals { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.goal-item { display: flex; gap: 15px; padding: 20px; background: white; border-radius: 12px; box-shadow: 0 2px 8px rgba(0,0,0,0.06); border-left: 3px solid var(--amber); }
.goal-icon { font-size: 2rem; }
.goal-text h4 { margin: 0 0 8px; color: var(--navy); font-size: 1.1rem; }
.goal-text p { margin: 0; color: #666; line-height: 1.5; }

/* Music Stats */
.music-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 20px; margin: 30px 0; }
.music-stats .stat-item { text-align: center; padding: 20px; background: var(--color-cream); border-radius: 12px; box-shadow: 0 2px 8px rgba(0,0,0,0.06); border: 1px solid rgba(0,0,0,0.05); position: relative; }
.music-stats .stat-item::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--amber); border-radius: 12px 12px 0 0; }
.music-stats .stat-number { font-size: 2rem; font-weight: 800; color: var(--amber); margin-bottom: 5px; }
.music-stats .stat-label { color: var(--navy); font-weight: 600; }

/* Music Repertoire */
.music-repertoire { margin: 40px 0; }
.music-repertoire h3 { color: var(--navy); margin-bottom: 20px; }
.music-repertoire h3::after { content: ''; display: block; width: 60px; height: 4px; background: var(--amber); margin-top: 10px; border-radius: 2px; }
.repertoire-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.repertoire-category { background: white; padding: 20px; border-radius: 12px; box-shadow: 0 2px 8px rgba(0,0,0,0.06); border-left: 4px solid var(--amber); }
.repertoire-category h4 { margin: 0 0 15px; color: var(--navy); font-size: 1.2rem; }
.repertoire-category ul { list-style: none; padding: 0; margin: 0; }
.repertoire-category li { padding: 8px 0; border-bottom: 1px solid #f0f0f0; color: #666; }
.repertoire-category li:last-child { border-bottom: none; }

/* Performance History */
.performance-history { margin: 40px 0; }
.performance-history h3 { color: var(--navy); margin-bottom: 20px; }
.performance-history h3::after { content: ''; display: block; width: 60px; height: 4px; background: var(--amber); margin-top: 10px; border-radius: 2px; }
.performance-timeline { display: flex; flex-direction: column; gap: 20px; }
.performance-item { display: flex; gap: 20px; padding: 20px; background: white; border-radius: 12px; box-shadow: 0 2px 8px rgba(0,0,0,0.06); border-left: 4px solid var(--amber); }
.performance-date { font-weight: 700; color: var(--amber); font-size: 1.1rem; min-width: 80px; }
.performance-content h4 { margin: 0 0 8px; color: var(--navy); font-size: 1.1rem; }
.performance-content p { margin: 0; color: #666; line-height: 1.5; }

/* Music Philosophy */
.music-philosophy { margin: 40px 0; padding: 30px; background: var(--color-cream); border-radius: 16px; border: 1px solid rgba(0,0,0,0.05); }
.music-philosophy h3 { color: var(--navy); margin-bottom: 20px; }
.music-philosophy h3::after { content: ''; display: block; width: 60px; height: 4px; background: var(--amber); margin-top: 10px; border-radius: 2px; }
.philosophy-content p { color: var(--navy); margin-bottom: 20px; line-height: 1.6; }
.philosophy-points { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.point-item { display: flex; gap: 15px; padding: 20px; background: white; border-radius: 12px; box-shadow: 0 2px 8px rgba(0,0,0,0.06); border-left: 3px solid var(--amber); }
.point-icon { font-size: 2rem; }
.point-text h4 { margin: 0 0 8px; color: var(--navy); font-size: 1.1rem; }
.point-text p { margin: 0; color: #666; line-height: 1.5; }

/* Music Technology */
.music-technology { margin: 40px 0; }
.music-technology h3 { color: var(--navy); margin-bottom: 20px; }
.music-technology h3::after { content: ''; display: block; width: 60px; height: 4px; background: var(--amber); margin-top: 10px; border-radius: 2px; }
.tech-music-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 15px; }
.tech-music-item { display: flex; gap: 15px; padding: 20px; background: white; border-radius: 12px; box-shadow: 0 2px 8px rgba(0,0,0,0.06); border-left: 3px solid var(--amber); }
.tech-icon { font-size: 2rem; }
.tech-info h4 { margin: 0 0 5px; color: var(--navy); font-size: 1.1rem; }
.tech-info p { margin: 0; color: #666; font-size: 0.9rem; }

/* Gallery Stats */
.gallery-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 20px; margin: 30px 0; }
.gallery-stats .stat-item { text-align: center; padding: 20px; background: var(--color-cream); border-radius: 12px; box-shadow: 0 2px 8px rgba(0,0,0,0.06); border: 1px solid rgba(0,0,0,0.05); position: relative; }
.gallery-stats .stat-item::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--amber); border-radius: 12px 12px 0 0; }
.gallery-stats .stat-number { font-size: 2rem; font-weight: 800; color: var(--amber); margin-bottom: 5px; }
.gallery-stats .stat-label { color: var(--navy); font-weight: 600; }

/* Gallery Categories */
.gallery-categories { margin: 30px 0; }
.gallery-categories h3 { color: var(--navy); margin-bottom: 15px; }
.gallery-categories h3::after { content: ''; display: block; width: 60px; height: 4px; background: var(--amber); margin-top: 10px; border-radius: 2px; }
.category-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.category-chip { appearance: none; border: 2px solid #FF6700; background: #ffffff; color: #FF6700; padding: 8px 16px; border-radius: 999px; font-weight: 700; cursor: pointer; transition: background .2s ease, color .2s ease; }
.category-chip:hover { background: rgba(255, 103, 0, 0.1); }
.category-chip.active { background: #FF6700; color: #ffffff; }

/* Enhanced Gallery Items */
.gallery-item { flex: 0 0 300px; position: relative; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 12px rgba(0,0,0,0.08); transition: transform .3s ease, box-shadow .3s ease; scroll-snap-align: start; }
.gallery-item:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.12); }
.gallery-item img { width: 100%; height: 300px; object-fit: cover; }
.gallery-item .caption { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(transparent, rgba(0,0,0,0.9)); color: white; padding: 15px; }
.gallery-item .caption h4 { margin: 0 0 5px; font-size: 1.1rem; font-weight: 700; }
.gallery-item .caption p { margin: 0; font-size: 0.9rem; opacity: 0.9; }

/* Gallery Description */
.gallery-description { margin: 40px 0; padding: 30px; background: var(--color-cream); border-radius: 16px; border: 1px solid rgba(0,0,0,0.05); }
.gallery-description h3 { color: var(--navy); margin-bottom: 20px; }
.gallery-description h3::after { content: ''; display: block; width: 60px; height: 4px; background: var(--amber); margin-top: 10px; border-radius: 2px; }
.description-content p { color: var(--navy); margin-bottom: 20px; line-height: 1.6; }
.gallery-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.feature-item { display: flex; gap: 15px; padding: 20px; background: white; border-radius: 12px; box-shadow: 0 2px 8px rgba(0,0,0,0.06); border-left: 3px solid var(--amber); }
.feature-icon { font-size: 2rem; }
.feature-text h4 { margin: 0 0 5px; color: var(--navy); font-size: 1.1rem; }
.feature-text p { margin: 0; color: #666; font-size: 0.9rem; }

/* Mobile Menu Styles */
.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #fff !important;
  padding: 8px;
  border-radius: 4px;
  transition: background-color 0.2s ease;
}

.nav-toggle:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* Mobile Navigation */
@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }
  
  .main-nav {
    position: fixed;
    top: 0;
    left: -100%;
    width: 280px;
    height: 100vh;
    background: var(--navy);
    z-index: 2000;
    transition: left 0.3s ease;
    overflow-y: auto;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.3);
  }
  
  .main-nav.open {
    left: 0;
  }
  
  .main-nav ul {
    flex-direction: column;
    padding: 80px 20px 20px;
    margin: 0;
  }
  
  .main-nav li {
    margin: 0 0 10px 0;
    width: 100%;
  }
  
  .main-nav a {
    display: block;
    padding: 15px 20px;
    border-radius: 8px;
    font-size: 1.1rem;
    border: none;
    width: 100%;
    text-align: left;
  }
  
  .main-nav a:hover {
    background: var(--amber) !important;
    color: #ffffff !important;
  }
  
  /* Overlay when menu is open */
  .main-nav::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: -1;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }
  
  .main-nav.open::before {
    opacity: 1;
    visibility: visible;
  }
  
  /* Header adjustments for mobile */
  .header-inner {
    padding: 10px 15px;
  }
  
  .brand {
    flex: 1;
  }
  
  .search {
    display: none;
  }
  
  /* Close button for mobile menu */
  .nav-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 8px;
    border-radius: 4px;
  }
  
  .nav-close:hover {
    background-color: rgba(255, 255, 255, 0.1);
  }
}

/* Tablet adjustments */
@media (max-width: 1024px) and (min-width: 769px) {
  .main-nav a {
    padding: 8px 10px;
    font-size: 0.9rem;
  }
  
  .search input {
    width: 150px;
  }
}

/* Small mobile adjustments */
@media (max-width: 480px) {
  .header-inner {
    padding: 8px 12px;
  }
  
  .logo {
    font-size: 1rem;
  }
  
  .nav-toggle {
    font-size: 1.3rem;
    padding: 6px;
  }
  
  .main-nav {
    width: 100%;
    left: -100%;
  }
  
  .main-nav ul {
    padding: 70px 15px 15px;
  }
  
  .main-nav a {
    padding: 12px 15px;
    font-size: 1rem;
  }
}

/* Prevent body scroll when menu is open */
body.menu-open {
  overflow: hidden;
}

/* Mobile improvements for other sections */
@media (max-width: 768px) {
  .container {
    padding: 0 15px;
  }
  
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .hero-text h1 {
    font-size: 2rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: 10px;
  }
  
  .cta {
    text-align: center;
    padding: 12px 20px;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  
  .skills-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .featured-grid {
    gap: 15px;
  }
  
  .featured-card {
    flex: 0 0 280px;
  }
  
  .links-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .gallery-grid {
    gap: 15px;
  }
  
  .gallery-item {
    flex: 0 0 280px;
  }
  
  .category-chips {
    gap: 8px;
  }
  
  .category-chip {
    padding: 6px 12px;
    font-size: 0.9rem;
  }
  
  .project-highlights {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .approach-content {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .vision-goals {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .philosophy-points {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .tech-music-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .tools-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .repertoire-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .performance-timeline {
    gap: 15px;
  }
  
  .performance-item {
    flex-direction: column;
    gap: 10px;
  }
  
  .performance-date {
    min-width: auto;
  }
  
  .gallery-features {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .collaboration-highlights {
    flex-direction: column;
    gap: 15px;
  }
  
  .vision-goals {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .goal-item {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
  
  .point-item {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
  
  .tech-music-item {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
  
  .tool-item {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
  
  .feature-item {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
  
  .approach-item {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
  
  .project-highlight {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
  
  .link-card {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
  
  .link-arrow {
    display: none;
  }

  .projects.container {
  position: fixed !important;
  top: 80px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: 100% !important;
  max-width: 1200px !important;
  height: calc(100vh - 80px) !important;
  overflow-y: auto !important;
  background: var(--color-white) !important;
  z-index: 1001 !important;
  padding: 36px 20px !important;
  box-sizing: border-box !important;
}

body {
  padding-bottom: 200px;
}

@media (max-width: 860px) {
  .projects.container {
    position: static !important;
    height: auto !important;
    overflow: visible !important;
    transform: none !important;
  }
}



  
}
