:root {
  /* Fresh Green Accent */
  --primary: #2ecc71;
  --primary-dark: #27ae60;
  --primary-light: #a8e6cf;

  /* Clean Backgrounds */
  --bg-dark: #f5f5f5;
  --bg-light: #ffffff;

  /* Text Colors */
  --text-dark: #2c3e50;
  --text-light: #34495e;
  --muted: #7f8c8d;

  /* Subtle Gradient Background */
  --bg-gradient: linear-gradient(135deg, #f5f5f5, #e8f5e9);
}

[data-theme="dark"] {
  --primary: #4ade80;
  --primary-dark: #22c55e;
  --primary-light: #86efac;

  /* Dark Backgrounds */
  --bg-dark: #121212;
  --bg-light: #1e1e1e;

  /* Text Colors */
  --text-dark: #ffffff;
  --text-light: #e0e0e0;
  --muted: #a3a3a3;

  /* Dark Gradient Background */
  --bg-gradient: linear-gradient(135deg, #121212, #1e1e1e);
}

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

body {
  font-family: "Outfit", sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  letter-spacing: 0.3px;
  background: var(--bg-dark);
}

/* Header Styles */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 5%;
  background: var(--bg-dark);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

header h1 {
  font-size: 1.5rem;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.hamburger {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-dark);
  transition: color 0.3s ease;
  background-color: var(--bg-light);
}

.hamburger:hover {
  color: var(--primary);
}

nav {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  gap: 1.3rem;
  margin-left: auto;
}

nav a {
  color: var(--text-dark);
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  padding-bottom: 5px;
}

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

nav a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--primary);
  transition: width 0.3s ease;
}

nav a:hover::after {
  width: 100%;
}

/* Contact Section */
.contact-hero {
  text-align: center;
  padding: 2.2rem 1rem;
  background: var(--bg-dark);
}

.contact-hero h2 {
  font-size: 2rem;
  color: var(--text-dark);
  margin-bottom: 2rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.contact-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 2rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4rem;
  background-color: var(--bg-dark);
}

.contact-card {
  background: var(--bg-dark);
  border-radius: 20px;
  padding: 1rem;
  text-align: center;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-10px);
}

.profile-image {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  border: 4px solid var(--primary);
  object-fit: cover;
}

.contact-name {
  font-size: 1.8rem;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.social-link {
  color: var(--text-dark);
  font-size: 1.5rem;
  transition: all 0.3s ease;
}

.social-link:hover {
  color: var(--primary);
  transform: translateY(-3px);
}

.project-info {
  text-align: center;
  padding: 4rem 2rem;
  background: var(--bg-dark);
  margin-top: 4rem;
}

.project-info p {
  font-size: 1rem;
  color: var(--text-light);
  max-width: 800px;
  margin: 0 auto;
}

/* Theme Toggle */
.theme-toggle {
  cursor: pointer;
  font-size: 1.5rem;
  color: var(--text-dark);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
  background: var(--bg-dark);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
}

.theme-toggle:hover {
  background: var(--primary-light);
  color: var(--primary-dark);
  transform: rotate(15deg);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  nav.nav-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 50vh;
    background-color: var(--bg-dark);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    z-index: 999;
  }

  nav.nav-menu.active {
    display: flex;
  }

  nav a {
    font-size: 1.2rem;
    padding: 1rem;
    width: 200px;
    text-align: center;
    border-radius: 8px;
    background: var(--bg-light);
  }

  .contact-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 480px) {
  header h1 {
    font-size: 2rem;
  }

  .contact-hero h2 {
    font-size: 2.5rem;
  }

  .profile-image {
    width: 150px;
    height: 150px;
  }

  .contact-name {
    font-size: 1.5rem;
  }
}