/* ===========================
   BASIC SETUP
   =========================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #0d0f14;
  color: #e6e6f0;
  font-family: 'Segoe UI', Arial, sans-serif;
  line-height: 1.6;
}

a {
  color: #7df9ff;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* ===========================
   HEADER / NAV
   =========================== */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  background-color: #14161d;
  border-bottom: 2px solid #ff2e6320;
  flex-wrap: wrap;
}

.logo {
  font-size: 1.6rem;
  letter-spacing: 2px;
  color: #ff2e63;
}

.site-header nav a {
  margin-left: 24px;
  font-weight: bold;
  letter-spacing: 1px;
  color: #e6e6f0;
}

.site-header nav a:hover,
.site-header nav a.active {
  color: #ff2e63;
  text-decoration: none;
}

/* ===========================
   INTRO SECTION
   =========================== */
.intro {
  padding: 50px 40px 20px;
  text-align: center;
}

.intro h2 {
  font-size: 2.2rem;
  margin-bottom: 10px;
  color: #7df9ff;
}

.intro p {
  max-width: 600px;
  margin: 0 auto;
  color: #b3b3c6;
}

/* ===========================
   IMAGE GALLERY (click -> project page)
   =========================== */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  padding: 40px;
  max-width: 1100px;
  margin: 0 auto;
}

.gallery-item {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid #2a2d3a;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.gallery-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(255, 46, 99, 0.25);
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85), transparent);
  color: #fff;
  padding: 30px 12px 10px;
  font-weight: bold;
  letter-spacing: 0.5px;
  text-decoration: none;
}

/* ===========================
   PROJECT DETAIL PAGE
   =========================== */
.project-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
}

.project-page img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 24px;
  border: 1px solid #2a2d3a;
}

.project-page h2 {
  color: #7df9ff;
  margin-bottom: 8px;
}

.project-meta {
  color: #ff2e63;
  font-size: 0.9rem;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.back-link {
  display: inline-block;
  margin-top: 30px;
  font-weight: bold;
}

/* ===========================
   CONTACT PAGE
   =========================== */
.contact-page {
  max-width: 500px;
  margin: 0 auto;
  padding: 50px 20px;
}

.contact-page h2 {
  color: #7df9ff;
  margin-bottom: 16px;
}

.contact-page label {
  display: block;
  margin-top: 16px;
  margin-bottom: 6px;
  font-weight: bold;
  color: #b3b3c6;
}

.contact-page input,
.contact-page textarea {
  width: 100%;
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #2a2d3a;
  background-color: #1a1c25;
  color: #e6e6f0;
  font-family: inherit;
}

.contact-page textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-page button {
  margin-top: 20px;
  padding: 12px 24px;
  background-color: #ff2e63;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  letter-spacing: 1px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.contact-page button:hover {
  background-color: #d81f4f;
}

/* Honeypot field - invisible to humans, catches spam bots */
.hidden-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

/* ===========================
   FOOTER
   =========================== */
footer {
  text-align: center;
  padding: 30px;
  color: #6b6b80;
  font-size: 0.85rem;
  border-top: 1px solid #2a2d3a;
  margin-top: 40px;
}

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 600px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .site-header nav {
    margin-top: 10px;
  }
  .site-header nav a {
    margin-left: 0;
    margin-right: 18px;
  }
}
