/* Base Styles */
:root {
  --primary: #22c55e;
  --primary-dark: #16a34a;
  --secondary: #052e16;
  --text: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.7);
  --text-dimmed: rgba(255, 255, 255, 0.5);
  --background: #000000;
  --border: rgba(34, 197, 94, 0.2);
  --card-bg: rgba(0, 0, 0, 0.5);
  --radius: 0.5rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans",
    "Helvetica Neue", sans-serif;
  background-color: var(--background);
  color: var(--text);
  line-height: 1.6;
}

.wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
}

h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  text-align: center;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1rem;
}

a {
  color: var(--text);
  text-decoration: none;
  transition: color 0.3s ease;
}

img {
  max-width: 100%;
  height: auto;
}

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

section {
  padding: 5rem 0;
  border-bottom: 1px solid rgba(34, 197, 94, 0.1);
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 40;
  background-color: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(34, 197, 94, 0.1);
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 4rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.25rem;
  font-weight: 500;
}

.logo i {
  color: var(--primary);
}

.nav {
  display: flex;
}

.nav-link {
  margin-left: 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
}

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

.mobile-menu-btn {
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.25rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  padding: 5rem 0 7rem;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
}

.hero-text {
  text-align: center;
  max-width: 600px;
}

.badge {
  display: inline-block;
  background-color: rgba(34, 197, 94, 0.1);
  color: var(--primary);
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 500;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-primary {
  background-color: var(--primary);
  color: white;
}

.btn-primary:hover {
  background-color: var(--primary-dark);
}

.btn-outline {
  background-color: transparent;
  border: 1px solid var(--primary-dark);
  color: var(--primary);
}

.btn-outline:hover {
  background-color: rgba(34, 197, 94, 0.1);
}

.btn i {
  margin-left: 0.5rem;
}

.btn-full {
  width: 100%;
}

.hero-image {
  position: relative;
  width: 100%;
  max-width: 400px;
}

.profile-image {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 50%;
  border: 4px solid rgba(34, 197, 94, 0.2);
}

.profile-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.experience-badge {
  position: absolute;
  bottom: -1rem;
  right: -1rem;
  background-color: var(--background);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: var(--radius);
  padding: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.experience-badge i {
  color: var(--primary);
}

/* About Section */
.about-content {
  max-width: 800px;
  margin: 0 auto;
}

/* Gaming Interests Section */
.gaming {
  background-color: var(--background);
}

.games-services {
  margin-top: 2rem;
}

.game-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.game-platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 1rem;
}

.game-platform {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  color: var(--text-dimmed);
}

.game-platform i {
  color: var(--primary);
}

/* Experience Section */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding-left: 2rem;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 1px;
  background-color: rgba(34, 197, 94, 0.3);
}

.timeline-item {
  position: relative;
  margin-bottom: 2.5rem;
}

.timeline-marker {
  position: absolute;
  left: -2rem;
  top: 0.375rem;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  border: 1px solid rgba(34, 197, 94, 0.3);
  background-color: var(--background);
  display: flex;
  align-items: center;
  justify-content: center;
}

.timeline-marker::after {
  content: "";
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background-color: var(--primary);
}

.timeline-header {
  display: flex;
  flex-direction: column;
  margin-bottom: 0.75rem;
}

.date-badge {
  display: inline-block;
  background-color: rgba(34, 197, 94, 0.1);
  color: var(--primary);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  margin-top: 0.5rem;
  width: fit-content;
}

.job-title {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.job-description {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.skills-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.skill-tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: var(--text-muted);
}

/* Company Social Media Icons in Experience Section */
.company-social-icons {
  display: flex;
  gap: 0.75rem;
  margin: 0.75rem 0 1rem;
}

.company-social-icon {
  width: 2rem;
  height: 2rem;
  background-color: rgba(34, 197, 94, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  transition: all 0.3s ease;
  font-size: 0.875rem;
}

.company-social-icon:hover {
  background-color: var(--primary);
  color: white;
  transform: translateY(-2px);
}

/* Skills Section */
.services {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.service-card {
  background-color: var(--background);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.service-icon {
  width: 3rem;
  height: 3rem;
  background-color: rgba(34, 197, 94, 0.1);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.service-icon i {
  color: var(--primary);
  font-size: 1.5rem;
}

.service-subtitle {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.service-description {
  color: var(--text-muted);
}

/* Contact Section */
.section-intro {
  text-align: center;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

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

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-icon {
  width: 2.5rem;
  height: 2.5rem;
  background-color: rgba(34, 197, 94, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-icon i {
  color: var(--primary);
}

.contact-label {
  font-size: 0.875rem;
  color: var(--text-dimmed);
  margin-bottom: 0.25rem;
}

.social-media {
  margin-top: 1rem;
}

.social-icons {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.social-icon {
  width: 2.5rem;
  height: 2.5rem;
  background-color: rgba(34, 197, 94, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  transition: all 0.3s ease;
}

.social-icon:hover {
  background-color: var(--primary);
  color: white;
}

.contact-form {
  background-color: var(--card-bg);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  background-color: var(--card-bg);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: var(--radius);
  color: var(--text);
  font-family: inherit;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-dimmed);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
}

#formStatus {
  margin-top: 1rem;
  padding: 0.75rem;
  border-radius: var(--radius);
  display: none;
}

#formStatus.success {
  background-color: rgba(34, 197, 94, 0.1);
  color: var(--primary);
  display: block;
}

#formStatus.error {
  background-color: rgba(239, 68, 68, 0.1);
  color: #ef4444;
  display: block;
}

/* Footer */
.footer {
  padding: 2rem 0;
  border-top: 1px solid rgba(34, 197, 94, 0.1);
  margin-top: auto;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.25rem;
  font-weight: 500;
}

.footer-logo i {
  color: var(--primary);
}

.copyright {
  font-size: 0.875rem;
  color: var(--text-dimmed);
}

.footer-links {
  display: flex;
  gap: 1rem;
}

.footer-links a {
  font-size: 0.875rem;
  color: var(--text-muted);
}

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

/* Discord Username Hover Effect */
.discord-icon {
  position: relative;
}

.discord-username {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--background);
  color: var(--text);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius);
  font-size: 0.75rem;
  white-space: nowrap;
  border: 1px solid rgba(34, 197, 94, 0.3);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  pointer-events: none;
  margin-bottom: 0.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.discord-username::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 5px;
  border-style: solid;
  border-color: rgba(34, 197, 94, 0.3) transparent transparent transparent;
}

.discord-icon:hover .discord-username {
  opacity: 1;
  visibility: visible;
}

/* Responsive Styles */
@media (min-width: 768px) {
  h1 {
    font-size: 4rem;
  }

  .nav {
    display: flex;
  }

  .mobile-menu-btn {
    display: none;
  }

  .hero-content {
    flex-direction: row;
    text-align: left;
    justify-content: space-between;
  }

  .hero-text {
    text-align: left;
  }

  .hero-buttons {
    justify-content: flex-start;
  }

  .timeline-header {
    flex-direction: row;
    align-items: center;
    gap: 1rem;
  }

  .date-badge {
    margin-top: 0;
  }

  .services {
    grid-template-columns: repeat(3, 1fr);
  }

  .games-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .footer-content {
    flex-direction: row;
    justify-content: space-between;
  }
}

@media (min-width: 1024px) {
  h1 {
    font-size: 4.5rem;
  }

  .games-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Responsive adjustments for company social media */
@media (max-width: 767px) {
  .company-social-icons {
    flex-wrap: wrap;
  }
  .nav {
    position: fixed;
    top: 4rem;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.95);
    border-bottom: 1px solid rgba(34, 197, 94, 0.1);
    padding: 1rem 2rem;
    flex-direction: column;
    gap: 1rem;
    transform: translateY(-150%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 50;
    display: flex;
  }

  .nav.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-link {
    margin-left: 0;
    padding: 0.5rem 0;
    display: block;
  }
}

