:root {
  --bg-color: #030712;
  --section-bg-1: #0f172a;
  --section-bg-2: #111827;
  --text-primary: #f9fafb;
  --text-secondary: #cbd5f5;
  --text-muted: #94a3b8;
  --aurora-1: #22d3ee;
  --aurora-2: #6366f1;
  --aurora-3: #a855f7;
  --sunset-1: #f97316;
  --sunset-2: #fb7185;
  --nature-1: #22c55e;
  --nature-2: #4ade80;
  
  --spacing-mobile: 16px;
  --spacing-tablet: 32px;
  --spacing-desktop: 80px;
  
  --nav-height: 70px;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  background-color: var(--bg-color);
  color: var(--text-primary);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  scroll-behavior: smooth;
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: auto;
  padding: 0 var(--spacing-mobile);
}

.text {
  word-wrap: break-word;
  overflow-wrap: break-word;
}

h1 { font-size: clamp(2rem, 5vw, 4rem); line-height: 1.1; margin: 0 0 1rem 0; font-weight: 800; }
h2 { font-size: clamp(1.5rem, 4vw, 2.5rem); line-height: 1.2; margin: 0 0 1rem 0; font-weight: 700; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.8rem); line-height: 1.3; margin: 0 0 0.5rem 0; font-weight: 600; }
p { font-size: clamp(1rem, 2vw, 1.2rem); line-height: 1.6; margin: 0 0 1rem 0; color: var(--text-secondary); }

.gradient-text-aurora {
  background: linear-gradient(90deg, var(--aurora-1), var(--aurora-2), var(--aurora-3));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

.gradient-text-sunset {
  background: linear-gradient(90deg, var(--sunset-1), var(--sunset-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

/* Header & Navigation */
.site-header {
  position: fixed;
  top: 20px;
  left: 0;
  width: 100%;
  z-index: 1000;
  display: flex;
  justify-content: center;
  padding: 0 var(--spacing-mobile);
  transition: all 0.3s ease;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1000px;
  height: var(--nav-height);
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 50px;
  padding: 0 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.brand-logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
  text-decoration: none;
  letter-spacing: -0.5px;
}

.nav-links {
  display: flex;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links li a {
  color: var(--text-primary);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.nav-links li a:hover {
  color: var(--aurora-1);
  text-shadow: 0 0 10px rgba(34, 211, 238, 0.5);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.menu-toggle span {
  width: 100%;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Mobile Navigation */
@media (max-width: 768px) {
  .site-header { top: 10px; }
  .navbar { border-radius: 20px; padding: 0 20px; }
  .menu-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(3, 7, 18, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }
  .nav-links.active {
    opacity: 1;
    visibility: visible;
  }
  .nav-links li a { font-size: 1.5rem; }
  
  .menu-toggle.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
  .menu-toggle.active span:nth-child(2) { opacity: 0; }
  .menu-toggle.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
}

/* Buttons */
.btn-group {
  display: flex;
  gap: 20px;
  margin-top: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 30px;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  outline: none;
}

.btn-primary {
  background: linear-gradient(90deg, var(--aurora-2), var(--aurora-3));
  color: white;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.5);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

@media (max-width: 480px) {
  .btn-group { flex-direction: column; gap: 15px; }
  .btn { width: 100%; }
}

/* Hero Section */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease-in-out, transform 8s linear;
  transform: scale(1.05);
}

.slide.active {
  opacity: 1;
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(3,7,18,0.3) 0%, rgba(3,7,18,0.8) 70%, rgba(3,7,18,1) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 800px;
  padding: 0 var(--spacing-mobile);
}

/* Generic Sections */
section {
  padding: var(--spacing-desktop) 0;
  position: relative;
}

@media (max-width: 1024px) { section { padding: var(--spacing-tablet) 0; } }
@media (max-width: 768px) { section { padding: var(--spacing-tablet) 0; } }

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

/* Cinematic Cards (Netflix Style) */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 24px;
  padding: 10px 0;
}

.cinematic-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--section-bg-1);
  border: 1px solid rgba(255, 255, 255, 0.05);
  cursor: pointer;
}

.cinematic-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.cinematic-card:hover img {
  transform: scale(1.1);
}

.card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(3,7,18,0.95) 0%, rgba(3,7,18,0.4) 40%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  transition: background 0.3s ease;
}

.cinematic-card:hover .card-overlay {
  background: linear-gradient(to top, rgba(3,7,18,1) 0%, rgba(3,7,18,0.6) 50%, transparent 100%);
}

.card-overlay h3 { margin: 0 0 5px 0; }
.card-overlay p { margin: 0; font-size: 0.95rem; color: var(--text-muted); }

/* Horizontal Scroll Layout for Experiences */
.horizontal-scroll {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 24px;
  padding-bottom: 20px;
  scrollbar-width: none; /* Firefox */
}

.horizontal-scroll::-webkit-scrollbar {
  display: none; /* Safari and Chrome */
}

.horizontal-scroll .cinematic-card {
  flex: 0 0 calc(33.333% - 16px);
  scroll-snap-align: center;
  aspect-ratio: 16/9;
}

@media (max-width: 1024px) {
  .horizontal-scroll .cinematic-card { flex: 0 0 calc(50% - 12px); }
}

@media (max-width: 768px) {
  .horizontal-scroll {
    flex-direction: column;
    overflow-x: hidden;
    scroll-snap-type: none;
  }
  .horizontal-scroll .cinematic-card {
    flex: 1 1 auto;
    aspect-ratio: 16/9;
  }
}

/* Page Headers */
.page-header {
  padding: 150px 0 80px 0;
  text-align: center;
  background: var(--section-bg-1);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

/* Glass Panels for Pages */
.glass-panel {
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 40px;
  margin-bottom: 40px;
}

/* Forms */
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  margin-bottom: 8px;
  color: var(--text-secondary);
}
.form-group input, .form-group textarea {
  width: 100%;
  padding: 15px;
  background: rgba(0,0,0,0.3);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 1rem;
}
.form-group input:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--aurora-1);
}

/* Footer */
footer {
  background: var(--section-bg-2);
  padding: 60px 0 30px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand { flex: 1; min-width: 250px; }
.footer-links { flex: 1; min-width: 200px; }

.footer-links h4 { color: var(--text-primary); margin-bottom: 20px; }
.footer-links ul { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: var(--text-muted); text-decoration: none; transition: color 0.3s; }
.footer-links a:hover { color: var(--aurora-1); }

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Scroll Animations */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.animate-on-scroll.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Overrides */
@media (min-width: 1024px) {
  .container { padding: 0 var(--spacing-tablet); }
}