/* Reset & base typography */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Times New Roman', Times, serif;
  color: #222;
  line-height: 1.6;
  background: #fff;
  padding: 2rem;
}

/* Layout */
header, footer {
  text-align: center;
  margin-bottom: 2rem;
}

header h1 {
  font-family: 'Times New Roman', Times, serif;
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

nav a {
  margin: 0 1rem;
  text-decoration: none;
  color: #555;
  font-size: 1rem;
}

nav a:hover {
  color: #000;
  text-decoration: underline;
}

/* Sections */
section {
  max-width: 1200px; /* wider layout */
  margin: 2rem auto;
}

h2 {
  font-family: 'Times New Roman', Times, serif;
  font-weight: 700;
  font-size: 2.5rem;
  margin-bottom: 1.25rem;
  border-bottom: 3px solid #555;
  padding-bottom: 0.5rem;
  color: #333;
}

article h3 {
  font-family: 'Times New Roman', Times, serif;
  font-size: 1.5rem;
  margin-top: 1rem;
}

ul {
  list-style-type: none;
}

ul li {
  margin: 0.5rem 0;
}

/* Footer */
footer p {
  font-family: 'Times New Roman', Times, serif;
  font-size: 0.9rem;
  color: #666;
}

/* Responsive */
@media (max-width: 900px) {
  .about-container {
    flex-direction: column;
    align-items: center;
  }

  .profile-container {
    width: 100%;
    align-items: center;
  }

  .profile-photo,
  .artwork-photo {
    width: 80vw;
    max-width: 400px;
  }

  .about-text {
    max-width: 90vw;
    padding-left: 0;
    margin-top: 2rem;
    justify-content: flex-start;
  }

  .about-text h2 {
    text-align: center;
  }
}

@media (max-width: 600px) {
  body {
    padding: 1rem;
  }

  header h1 {
    font-size: 2rem;
  }

  nav a {
    display: block;
    margin: 0.5rem 0;
  }
}

/* About section layout */
.about-container {
  display: flex;
  align-items: flex-start;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 0;
}

/* Profile container */
.profile-container {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  width: 400px;
  gap: 1.5rem;
}

/* Profile photo */
.profile-photo {
  width: 325px;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
  filter: brightness(1.2);
}

.profile-photo:hover {
  transform: scale(1.05);
}

/* Artwork photo */
.artwork-photo {
  width: 325px;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 6px 12px rgba(0,0,0,0.12);
  margin-top: 0;
  fliter: brightness(1.2);
}

/* About text */
.about-text {
  flex: 1;
  max-width: 700px;
  display: flex;
  flex-direction: column;
  padding-left: 2rem;
  font-family: 'Times New Roman', Times, serif;
  color: #444;
  letter-spacing: 0.02em;
  line-height: 1.65;
}

.text-wrapper {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.text-wrapper p {
  margin-bottom: 1.2em;
  font-weight: 400;
}

.text-wrapper p:last-child {
  margin-bottom: 0;
}

/*Art page */

.art-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.art-box {
  width: 100%;
  aspect-ratio: 1 / 1; /* Makes all boxes square */
  background-color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 2px solid white;
  border-radius: 6px;
}

.art-box img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;

}
