/* Reset & base styles */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  color: #333;
  background-color: #fafafa;
}

/* Header */
.site-header {
  text-align: center;
  background: #222;
  color: #fff;
  padding: 2rem 1rem;
}

.site-header h1 {
  margin: 0 0 0.5rem;
  font-size: 2.5rem;
}

.site-header p {
  margin: 0;
  font-size: 0.95rem;
}

.site-header a {
  color: #66c0ff;
  text-decoration: none;
}

.site-header a:hover {
  text-decoration: underline;
}

/* Portfolio sections */
.portfolio-section {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 2rem;
  max-width: 1000px;
  margin: auto;
  border-bottom: 1px solid #ddd;
}

/* Shared media styles (applies to img and video) */
.portfolio-section img,
.portfolio-section video {
  width: 300px;
  height: auto;
  border-radius: 6px;
  object-fit: cover;
}

/* Mobile fix */
@media (max-width: 768px) {
  .portfolio-section img,
  .portfolio-section video {
    width: 100%;
    max-width: 500px;
  }
}

.portfolio-text h2 {
  margin-top: 0;
  font-size: 1.5rem;
}

.portfolio-text p {
  margin-bottom: 0;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .portfolio-section {
    flex-direction: column;
    text-align: center;
  }

  .portfolio-section img {
    width: 100%;
    max-width: 500px;
  }
}
