/* Higher quality fonts from Google - waiting for import in HTML or add here */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;700;800&family=Playfair+Display:ital,wght@0,600;0,700;1,600&display=swap');

:root {
  --primary-color: #020617;
  /* Deepest Indigo/Black */
  --secondary-color: #fbbf24;
  /* Amber/Gold */
  --accent-blue: #38bdf8;
  /* Sky Blue */
  --accent-purple: #818cf8;
  /* Indigo Glow */
  --text-primary: #f8fafc;
  /* Near White */
  --text-secondary: #94a3b8;
  /* Slate Gray */
  --text-muted: #64748b;
  --bg-deep: #020617;
  --bg-surface: rgba(15, 23, 42, 0.7);
  /* Translucent surface */
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-bg: rgba(255, 255, 255, 0.05);

  --card-shadow: 0 20px 50px -12px rgba(0, 0, 0, 0.5);
  --glow-blue: 0 0 20px rgba(56, 189, 248, 0.3);
  --glow-gold: 0 0 20px rgba(251, 191, 36, 0.3);

  --font-main: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Playfair Display', serif;
  --max-width: 1400px;
  --transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  --radius-lg: 24px;
  --radius-md: 16px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-main);
  color: var(--text-primary);
  line-height: 1.6;
  background-color: var(--bg-deep);
  background-image:
    radial-gradient(circle at 0% 0%, rgba(56, 189, 248, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 100% 100%, rgba(129, 140, 248, 0.05) 0%, transparent 50%);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

/* Glassmorphism Utilities */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--card-shadow);
}

.glass-dark {
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Utilities */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 40px;
  background: linear-gradient(135deg, var(--secondary-color) 0%, #d97706 100%);
  color: #000;
  border-radius: var(--radius-md);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.875rem;
  border: none;
  cursor: pointer;
  box-shadow: var(--glow-gold);
  transition: var(--transition);
}

.btn:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 20px 40px -10px rgba(251, 191, 36, 0.4);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text-primary);
  box-shadow: none;
  backdrop-filter: blur(10px);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}

.section-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--text-primary);
  margin-bottom: 3rem;
  background: linear-gradient(to right, #fff, var(--text-secondary));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-align: center;
}

/* Header */
header {
  background: rgba(2, 6, 23, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  transition: var(--transition);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100px;
}

.logo {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.05em;
  display: flex;
  align-items: baseline;
  gap: 10px;
  text-transform: none;
  transition: var(--transition);
}

.logo span {
  font-family: var(--font-main);
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--secondary-color);
  text-transform: uppercase;
  letter-spacing: 0.4em;
  opacity: 0.9;
}

.logo:hover {
  text-shadow: 0 0 15px rgba(251, 191, 36, 0.4);
  transform: translateY(-2px);
}

.nav-links {
  display: flex;
  gap: 48px;
}

.nav-links a {
  font-weight: 500;
  color: var(--text-secondary);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

/* Project Gallery */
.project-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 3rem;
  margin: 4rem 0;
  align-items: stretch;
}

.project-image-card {
  display: flex;
  flex-direction: column;
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  height: 100%;
}

.project-image-container {
  width: 100%;
  aspect-ratio: 1/1;
  overflow: hidden;
  background: radial-gradient(circle at center, #1e293b 0%, #0f172a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: zoom-in;
}

.project-image-card img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* ensures no text is cropped */
  transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.project-image-card:hover {
  transform: translateY(-15px);
  border-color: var(--secondary-color);
  box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.7), 0 0 20px rgba(251, 191, 36, 0.1);
}

.project-image-card:hover img {
  transform: scale(1.05);
}

.image-overlay {
  padding: 2rem;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0), rgba(15, 23, 42, 0.8));
  margin-top: auto;
}

.image-overlay p {
  color: var(--secondary-color);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.image-overlay h4 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: #fff;
  line-height: 1.2;
}

.hamburger {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--primary-color);
}

/* Hero Section */
.hero {
  height: 100vh;
  background: radial-gradient(circle at 50% 50%, rgba(15, 23, 42, 0.4), var(--bg-deep)), url('hero_bg.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 100px;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 30%, rgba(56, 189, 248, 0.15), transparent 40%);
  pointer-events: none;
}

.hero-content {
  max-width: 900px;
  z-index: 2;
  padding: 60px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  animation: heroReveal 1.2s cubic-bezier(0.23, 1, 0.32, 1);
  text-align: center;
}

.hero-content h1 {
  font-size: clamp(3rem, 8vw, 6rem);
  margin-bottom: 1.5rem;
  line-height: 0.95;
  color: #fff;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Advanced Premium Data Components */
.premium-card {
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 3rem;
  box-shadow:
    0 30px 60px -15px rgba(0, 0, 0, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
  z-index: 10;
}

.premium-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--secondary-color), transparent);
  opacity: 0.5;
}

.premium-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

@media (max-width: 1024px) {
  .premium-split {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.data-glance {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 2.5rem;
}

.data-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.data-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-secondary);
}

.data-value {
  font-size: 2.5rem;
  font-family: var(--font-main);
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #fff 0%, #a5b4fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
}

.data-value.highlight {
  background: linear-gradient(135deg, var(--secondary-color) 0%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.glow-orb {
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  filter: blur(40px);
  animation: float 10s infinite ease-in-out alternate;
}

.glow-orb.gold {
  background: radial-gradient(circle, rgba(251, 191, 36, 0.15) 0%, transparent 70%);
  animation-delay: -5s;
}

@keyframes float {
  0% {
    transform: translate(0, 0) scale(1);
  }

  100% {
    transform: translate(30px, -30px) scale(1.1);
  }
}

.hero-content p {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  font-weight: 300;
  line-height: 1.6;
}

@keyframes heroReveal {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* Footer */
footer {
  background: #020617;
  color: var(--text-secondary);
  padding: 8rem 0 4rem;
  text-align: center;
  border-top: 1px solid var(--glass-border);
  position: relative;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: var(--secondary-color);
  border-radius: 0 0 4px 4px;
}

/* Mobile Responsive */
@media (max-width: 1024px) {
  .hero-content {
    margin: 0 24px;
    padding: 40px;
  }

  .nav-links {
    gap: 24px;
  }
}

@media (max-width: 768px) {
  nav {
    height: 80px;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 300px;
    background: rgba(2, 6, 23, 0.95);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 4rem 0;
    gap: 32px;
    transform: translateX(100%);
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: 1000;
    border-left: 1px solid var(--glass-border);
  }

  .nav-links.active {
    transform: translateX(0);
  }

  .hamburger {
    display: block;
    z-index: 1001;
    font-size: 2rem;
    color: #fff;
  }

  .hero-content h1 {
    font-size: 2.75rem;
  }
}