:root {
  --bg-color: #ffffff;
  --text-color: #1a1a1a;
  --secondary-text: #666666;
  --accent-color: #000000;
  --border-color: #eeeeee;
  --max-width: 900px;
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}

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

body {
  font-family: var(--font-family);
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
  font-size: 18px;
}

header {
  border-bottom: 1px solid var(--border-color);
  padding: 2rem 0;
  margin-bottom: 3rem;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

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

nav .logo {
  font-weight: 700;
  font-size: 1.2rem;
  text-decoration: none;
  color: var(--text-color);
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}

nav ul li a {
  text-decoration: none;
  color: var(--secondary-text);
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

nav ul li a:hover, nav ul li a.active {
  color: var(--text-color);
}

main {
  min-height: 60vh;
}

h1, h2, h3 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.hero {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

h1 { font-size: 2.5rem; margin-bottom: 2rem; }
h2 { font-size: 1.8rem; margin-top: 3rem; }
h3 { font-size: 1.3rem; margin-top: 2rem; }

@media (min-width: 768px) {
  .hero {
    flex-direction: row-reverse;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
  }
  
  .hero-content {
    flex: 1;
  }
  
  .hero-image {
    flex: 0 0 250px;
  }
}

.hero-image .profile-img {
  margin-bottom: 0;
  width: 100%;
  max-width: 250px;
}

p {
  margin-bottom: 1.5rem;
  color: var(--secondary-text);
}

strong {
  color: var(--text-color);
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background-color: var(--accent-color);
  color: #fff;
  padding: 0.8rem 1.2rem;
  text-decoration: none;
  font-weight: 600;
  border-radius: 4px;
  font-size: 0.9rem;
  transition: opacity 0.2s ease;
  margin-top: 1rem;
}

.cta-button svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

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

section {
  margin-bottom: 4rem;
}

/* Table Styles for Pricing */
.table-wrapper {
  overflow-x: auto;
  margin: 2rem 0;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th, td {
  text-align: left;
  padding: 1rem;
  border-bottom: 1px solid var(--border-color);
}

th {
  font-weight: 600;
  color: var(--text-color);
  background-color: #fafafa;
}

/* Portfolio Styles */
.portfolio-item {
  margin-bottom: 4rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-color);
  animation: fadeIn 0.8s ease-out forwards;
}

.portfolio-item h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.portfolio-item .intro {
  font-size: 1.2rem;
  color: var(--text-color);
  font-weight: 500;
  margin-bottom: 1.5rem;
  display: block;
}

.portfolio-teaser {
  margin-top: 4rem;
  padding: 2rem;
  background-color: #fafafa;
  border-radius: 8px;
}

.portfolio-teaser h2 {
  margin-top: 0;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in {
  animation: fadeIn 0.8s ease-out forwards;
}

/* About Section */
.profile-img {
  max-width: 300px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 2rem;
  filter: grayscale(100%);
  transition: all 0.5s ease;
  animation: fadeIn 1s ease-out;
}

.profile-img:hover {
  filter: grayscale(0%);
  transform: scale(1.02);
}

.social-links {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

footer {
  border-top: 1px solid var(--border-color);
  padding: 3rem 0;
  margin-top: 5rem;
  color: var(--secondary-text);
  font-size: 0.9rem;
}

footer p {
  margin-bottom: 0.5rem;
}

footer a {
  color: var(--secondary-text);
  text-decoration: underline;
}

@media (max-width: 600px) {
  nav {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  nav ul {
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  h1 { font-size: 2rem; }
}
