/* Base styles */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  margin: 0;
  padding: 0;
  background: #0a0a0a;
  color: #e0e0e0;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3 {
  margin: 0 0 1rem;
  color: #ffffff;
  font-weight: 600;
}

p {
  margin-bottom: 1.5rem;
  color: #ccc;
}

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

/* Layout */
.site-header,
.highlight-section,
.newsletter-section,
.site-footer {
  text-align: center;
  padding: 2rem 2rem;
}

.site-header {
  background: #0a0a0a;
  padding-top: 2rem;
}

.header-logo {
  max-width: 250px;
  margin: 0 auto 1.5rem;
  display: block;
  padding: 0.25rem;
  border-radius: 12px;
}


.hero-intro p {
  max-width: 720px;
  margin: 1rem auto;
  font-size: 1.2rem;
  color: #bbb;
}

/* About Section */
.about-section {
  background: #0a0a0a;
  text-align: center;
  padding: 4rem 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.about-section h2 {
  font-size: 2.4rem;
  margin-bottom: 1.5rem;
  color: #ffffff;
}

.about-section p {
  font-size: 1.2rem;
  color: #bbb;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}


/* Buttons */
.button,
.newsletter-form button {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, #c0c0c0, #ffffff);
  color: #0a0a0a;
  text-decoration: none;
  border-radius: 12px;
  font-weight: 600;
  transition: background 0.3s ease, transform 0.2s ease;
  box-shadow: 0 3px 12px rgba(255, 255, 255, 0.1);
  cursor: pointer;
  border: none;
}

.button:hover,
.newsletter-form button:hover {
  background: linear-gradient(135deg, #ffffff, #c0c0c0);
  transform: translateY(-2px);
}

/* Portfolio */
.portfolio-grid {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  max-width: 800px;
  margin: 0 auto;
  padding-top: 1rem;
}


.portfolio-card {
  background: #141414;
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(255, 255, 255, 0.04);
  padding: 2rem;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

.portfolio-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 40px rgba(255, 255, 255, 0.08);
}

.portfolio-image {
  border-radius: 12px;
  margin-bottom: 1rem;
  object-fit: cover;
  width: 100%;
  height: 180px;
  background: #1f1f1f;
}

.portfolio-card h3 {
  margin-top: 0;
  font-size: 1.5rem;
  color: #ffffff;
}

.portfolio-card p {
  font-size: 1rem;
  color: #aaa;
  line-height: 1.6;
}

.portfolio-card a {
  display: inline-block;
  margin-top: 1rem;
  color: #ffffff;
  background: transparent;
  font-weight: 500;
  text-decoration: underline;
  transition: color 0.2s ease;
}

.portfolio-card a:hover {
  color: #ddd;
}

/* Newsletter */
.newsletter-form {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.newsletter-form input[type="email"] {
  padding: 0.75rem 1rem;
  border-radius: 10px;
  border: none;
  width: 100%;
  max-width: 280px;
  font-size: 1rem;
  background: #1a1a1a;
  color: #eee;
  box-shadow: inset 0 0 4px rgba(255, 255, 255, 0.1);
}

.newsletter-form input[type="email"]::placeholder {
  color: #888;
}

/* Footer */
.site-footer {
  font-size: 0.9rem;
  color: #888;
  border-top: 1px solid #222;
  background: #0a0a0a;
  padding-bottom: 2rem;
}

/* Headings accent */
h2 {
  font-size: 2.2rem;
  background: linear-gradient(90deg, #d0d0d0, #ffffff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 2rem;
}

/* Responsive */
@media (max-width: 768px) {
  .site-header,
  .highlight-section,
  .newsletter-section,
  .site-footer {
    padding: 3rem 1.5rem;
  }

  .button,
  .newsletter-form button {
    width: 100%;
    box-sizing: border-box;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .portfolio-image {
    height: auto;
  }
}

/* Sticky Navigation */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #0a0a0a;
  border-bottom: 1px solid #1a1a1a;
  padding: 0.5rem 1.5rem;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-weight: bold;
  font-size: 1.2rem;
  color: #e0e0e0;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.nav-links li a {
  text-decoration: none;
  color: #ccc;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links li a:hover {
  color: #fff;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #fff;
  cursor: pointer;
}

/* Mobile Navigation */
@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    background: #111;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    padding: 1rem;
  }

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


.project-tags {
  display: inline-block;
  margin-top: 0.25rem;
  font-size: 0.85rem;
  color: #999;
  background: #1a1a1a;
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
}
