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

body {
  font-family: Helvetica, Arial, sans-serif;
  background: black;
  color: white;
  overflow-x: hidden;
  font-size:16px;
}

.about {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 5vw;
  gap: 3vw;
}

.about .text {
  flex: 1;
  font-size: 1.1em;
  line-height: 1.6;
  color: white;
  max-width: 50%;
}

.about .text a {
  color: white;
  text-decoration: none;
}

.about .text a:hover {
  color: #ccc;
}

.about .contact {
  margin-top: 2em;
  font-size: 1em;
  font-weight: bold;
}

.about .image {
  flex: 1.5;
  display: flex;
  justify-content: flex-end;
}

.about .image img {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 8px;
}

@media (max-width: 900px) {
  .about {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .about .text {
    max-width: 100%;
  }

  .about .image {
    justify-content: center;
    margin-top: 2em;
  }

  .about .image img {
    max-width: 80%;
  }
}

/* HEADER STYLES */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2vw;
  position: sticky;
  font-size:2.5em;
  top: 0;
  background: black;
  z-index: 100;
}

.right{
  font-weight: bold;
  font-size: inherit;
}
 .left {
  font-weight: bold;
  font-size: inherit;
}
.left a {
  text-decoration: none;
  color: white;
  font-weight: bold;
  font-size: inherit;
}

.left a:hover {
  color: #ccc; /* subtle hover */
  transition: color 0.3s ease;
}
.right a:hover {
  color: #ccc; /* subtle hover */
  transition: color 0.3s ease;
}
header .right a {
  margin-left: 2vw;
  text-decoration: none;
  color: white;
  font-weight: bold;
  /* font-size: 1.8vw; */
}

.year {
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2vw;
  font-size:2.5em;
  top: 0;
  background: black;
  z-index: 100;
}


/* GALLERY STYLES */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(35vw, 1fr));
  gap: 25px;
  padding: 25px;
}

.flex-box {
  position: relative;
  overflow: hidden;
}

.flex-box img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.flex-box:hover img {
  transform: scale(1.02);
}

.flex-box .label {
  position: absolute;
  bottom: 16px;
  left: 16px;
  font-size: 18px;
  font-weight: regular;
  color: white;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.flex-box:hover .label {
  position: flex;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 1vw;
  font-size: 22px;
  font-weight: regular;
  color: white;
  background: linear-gradient(to top, black, transparent);
  opacity: 1;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

/* RESPONSIVE FIXES */
@media (max-width: 600px) {
  header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .gallery {
    grid-template-columns: 1fr;
  }
}
