/*
 * Global styles for Suryansh's personal site.
 * Inspired by modern tech landing pages (e.g., Tesla Cybertruck and OpenAI)
 * while remaining lightweight and accessible.
 */

:root {
  --primary-color: #00A8E8; /* bright accent reminiscent of neon blue */
  --secondary-color: #0077B6; /* darker shade for subtle accents */
  --background-color: #0a0a23; /* very dark blue/black background */
  --foreground-color: #f5f5f5; /* light foreground for high contrast */
}

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

body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--background-color);
  color: var(--foreground-color);
  line-height: 1.6;
}

/* Navigation bar */
.navbar-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(10, 10, 35, 0.8);
  backdrop-filter: blur(10px);
}

.navbar {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
}

.logo {
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--primary-color);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--foreground-color);
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--primary-color);
}

/* Hero section */
.hero {
  position: relative;
  height: 100vh;
  /* Use a more unique, elegant tech background image.
   * The hero image is uploaded to the repository root as `hero.png`. If you
   * choose to move it into an `images/` folder later, update this path. */
  background-image: url('hero.png');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--foreground-color);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 0 1rem;
}

.hero-content h1 {
  /* Default heading style for hero; overridden by .hero-title for graffiti look */
  font-size: 3rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

/* Graffiti‑style heading inspired by the Tesla Cybertruck hero text */
.hero-title {
  font-family: 'Permanent Marker', cursive;
  font-size: 6rem;
  font-weight: normal;
  margin-bottom: 1rem;
  color: #ffffff;
  line-height: 1;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
}

.subtitle {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  color: #d1d1d1;
}

.cta {
  display: inline-block;
  background: var(--primary-color);
  color: #ffffff;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  transition: background 0.3s ease, transform 0.3s ease;
}

.cta:hover {
  background: var(--secondary-color);
  transform: translateY(-2px);
}

/* Content sections */
.content-section {
  max-width: 1000px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.content-section h2 {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.content-section p {
  margin-bottom: 1rem;
  font-size: 1rem;
  color: var(--foreground-color);
}

/* Buttons and links in contact section */
.contact-links {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.button-link {
  display: inline-block;
  background: var(--primary-color);
  color: #ffffff;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease;
}

.button-link.secondary {
  background: var(--secondary-color);
}

.button-link:hover {
  opacity: 0.85;
}

/* Footer */
footer {
  background: rgba(10, 10, 35, 0.9);
  text-align: center;
  padding: 1rem 0;
  font-size: 0.9rem;
  color: #a6a6c1;
}

.heart {
  color: var(--primary-color);
}

/* Responsiveness */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.2rem;
  }
  .subtitle {
    font-size: 1rem;
  }
  .navbar {
    padding: 0.5rem 1rem;
  }
  .nav-links {
    gap: 1rem;
  }
}