:root {
  --bg-primary: #0a0a0a;
  --bg-secondary: #111111;
  --text-primary: #ffffff;
  --text-secondary: #9ca3af;
  --accent-color: #ef4444;
  --border-color: #2a2a2a;
  --dot-border-color: #f5f5f5;
}

[data-theme="light"] {
  --bg-primary: #ffffff;
  --bg-secondary: #f9fafb;
  --text-primary: #1f2937;
  --text-secondary: #6b7280;
  --accent-color: #ef4444;
  --border-color: #e5e7eb;
  --dot-border-color: #111111;
}

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

body {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu",
    "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  transition:
    background-color 0.3s ease,
    color 0.3s ease;
}

.portfolio-container {
  min-height: 100vh;
  background-color: var(--bg-primary);
}

/* Header Styles */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.logo {
  border: 2px solid var(--dot-border-color);
  border-radius: 50%;
  object-fit: scale-down;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.theme-toggle {
  background: none;
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  cursor: pointer;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.theme-toggle:hover {
  background-color: var(--bg-secondary);
}

.schedule-btn {
  color: var(--accent-color);
  text-decoration: none;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: opacity 0.2s ease;
}

.schedule-btn:hover {
  opacity: 0.8;
}

.schedule-icon {
  width: 16px;
  height: 16px;
}

/* Hero Section */
.hero {
  max-width: 1400px;
  margin: 0 auto;
  padding: 4rem 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-content {
  padding-right: 2rem;
}

.hero-greeting {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.hero-title {
  font-size: 4rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.hero-name {
  color: var(--text-primary);
}

.name-highlight {
  position: relative;
  display: inline-block;
}

.name-dot {
  position: absolute;
  top: 0.7rem;
  right: 0;
  width: 1em;
  height: 1em;
  background-color: var(--accent-color);
  border-radius: 50%;
  font-size: 1rem;
  border: 2px solid var(--dot-border-color);
}

.hero-description {
  color: var(--text-secondary);
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.hero-image-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image {
  width: 300px;
  height: 300px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid var(--dot-border-color);
}

/* Footer Section */
.footer {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  gap: 4rem;
  padding: 1rem 2rem;
}

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

.social-icon {
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.2s ease;
  display: flex;
  align-items: center;
}

.social-icon:hover {
  color: var(--accent-color);
}

.social-icon svg {
  width: 24px;
  height: 24px;
}

.contact-info {
  display: flex;
  gap: 4rem;
  flex: 1;
}

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

.contact-label {
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.9rem;
}

.contact-value {
  color: var(--text-secondary);
  font-size: 0.95rem;
  text-decoration: none;
}
a.contact-value:hover {
  color: var(--accent-color);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .header {
    gap: 1rem;
    padding: 1rem;
  }

  .hero {
    grid-template-columns: 1fr;
    padding: 2rem 1rem;
    gap: 2rem;
  }

  .hero-content {
    padding-right: 0;
    text-align: center;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .name-dot {
    top: 0.2rem;
    left: -1px;
    height: 0.8em;
    width: 0.8em;
  }

  .hero-image {
    width: 300px;
    height: 300px;
  }

  .footer {
    flex-direction: column;
    gap: 2rem;
    padding: 2rem 1rem;
  }

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

  .social-links {
    flex-direction: row;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

  .name-dot {
    top: 2px;
    left: 0;
    height: 0.6em;
    width: 0.6em;
  }

  .hero-image {
    width: 250px;
    height: 250px;
  }

  .schedule-btn {
    font-size: 0.85rem;
  }
}

/* Credit: https://codepen.io/jakejarvis/pen/pBZWZw */
.wave {
  animation-name: wave-animation; /* Refers to the name of your @keyframes element below */
  animation-duration: 2.5s; /* Change to speed up or slow down */
  animation-iteration-count: infinite; /* Never stop waving :) */
  transform-origin: 70% 70%; /* Pivot around the bottom-left palm */
  display: inline-block;
}

@keyframes wave-animation {
  0% {
    transform: rotate(0deg);
  }
  10% {
    transform: rotate(14deg);
  } /* The following five values can be played with to make the waving more or less extreme */
  20% {
    transform: rotate(-8deg);
  }
  30% {
    transform: rotate(14deg);
  }
  40% {
    transform: rotate(-4deg);
  }
  50% {
    transform: rotate(10deg);
  }
  60% {
    transform: rotate(0deg);
  } /* Reset for the last half to pause */
  100% {
    transform: rotate(0deg);
  }
}
