/* Reset some default styling */
a {
  text-decoration: none;
}

body, h1, h2, h3, p, ul {
  margin: 0;
  padding: 0;
}
body {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background: #2f4f4f;
}

/* Navigation */
nav {
  background: #9966aa;
  padding: 20px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
  height: 40px;
}
nav .container {
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
nav .logo h2 {
  margin: 0;
  font-size: 1.5em;
  color: #333;
}
nav ul {
  list-style: none;
  display: flex;
}
nav ul li {
  margin-left: 20px;
}
nav ul li a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
}

/* Main Content */
.content {
  margin: 50px auto;
  padding: 0 20px;
}
.content section {
  margin-bottom: 60px;
}
.content h2 {
  font-size: 2em;
  margin-bottom: 20px;
  border-bottom: 2px solid #e0e0e0;
  padding-bottom: 10px;
}

/* Cards Grid */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  grid-gap: 20px;
}
.card {
  background: #dddddd;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
  aspect-ratio: 1 / 1;
}
.card:hover {
  transform: translateY(-5px);
}
.card h3 {
  margin-bottom: 10px;
  font-size: 1.5em;
}
.card p {
  font-size: 1em;
}

.card-photography {
  background-image: url('card-photography.jpg');
  background-size: cover;
  background-position: center;
  color: #fff;
  position: relative;
}
.card-photography h3 {
  position: relative;
  z-index: 1;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}
.card-photography::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.3);
  border-radius: 8px;
  z-index: 0;
}

.card-work {
  background-image: url('card-work.jpg');
  background-size: cover;
  background-position: center;
  color: #fff;
  position: relative;
}
.card-work h3,
.card-work p {
  position: relative;
  z-index: 1;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}
.card-work::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.3);
  border-radius: 8px;
  z-index: 0;
}

.card-projects {
  color: #fff;
  background: linear-gradient(135deg, #b0c4de 20%, #cafade 100%);
}
