/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f8f8f8;
  color: #333;
}

/* HERO SECTION */
.hero {
  position: relative;
  background-image: url('background.jpg');
  background-size: cover;
  background-position: center;
  text-align: center;
  padding: 100px 20px 120px;
  color: white;
}

.hero .logo {
  width: 120px;
  margin-bottom: 20px;
}

.hero h1 {
  margin: 0;
  font-size: 2.5rem;
}

.hero p {
  margin-top: 10px;
  font-size: 1.2rem;
}

/* GALLERY GRID */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  padding: 40px 20px;
  justify-items: center;
}

.bottom-row {
  justify-content: center;
}

/* GALLERY ITEM */
.gallery a {
  display: block;
  position: relative;
  width: 100%;
  max-width: 400px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  text-decoration: none;
}

/* GALLERY IMAGE */
.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

/* HOVER ZOOM */
.gallery a:hover img {
  transform: scale(1.05);
}

/* GALLERY TITLE TEXT */
.gallery .title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #ffffff;
  font-size: 1.6rem;
  font-weight: bold;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
  text-align: center;
  pointer-events: none;
}

/* PORTFOLIO SECTION */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  padding: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.photo-grid img {
  width: 100%;
  border-radius: 10px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.photo-grid img:hover {
  transform: scale(1.03);
}
