/* ===== Base Styles ===== */
body {
  font-family: 'Montserrat', sans-serif;
  background: #f9f9f9;
  margin: 0;
  padding: 0;
  color: #2C3E50;
}

.container {
  max-width: 700px;
  margin: 50px auto;
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* ===== Logo ===== */
.logo {
  display: flex;
  align-items: center;
  gap: 15px;
  justify-content: center;
  margin-bottom: 20px;
}

.logo img {
  height: 60px;
  width: auto;
  border-radius: 8px;
}

.logo h2 {
  font-size: 1.8rem;
  color: #2E8B57; /* Safari green */
}

/* ===== Form ===== */
form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

label {
  font-weight: 600;
  margin-bottom: 5px;
  color: #2C3E50;
}

input, select, textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  transition: border 0.3s ease, box-shadow 0.3s ease;
}

input:focus, select:focus, textarea:focus {
  border-color: #2E8B57;
  box-shadow: 0 0 6px rgba(46, 139, 87, 0.3);
  outline: none;
}

textarea {
  resize: vertical;
  min-height: 100px;
}

.btn {
  background: #DAA520; /* Golden yellow */
  color: #fff;
  padding: 12px;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

.btn:hover {
  background: #2E8B57;
  transform: translateY(-2px);
}

/* Back Link */
.back-link {
  display: block;
  text-align: center;
  margin-top: 15px;
  color: #555;
  text-decoration: none;
  font-weight: 500;
}

.back-link:hover {
  color: #DAA520;
}

/* ===== Examples Section ===== */
.examples {
  margin-top: 40px;
  text-align: center;
}

.examples h3 {
  color: #2E8B57;
  margin-bottom: 15px;
}

.gallery {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.gallery img {
  width: 180px;
  height: 120px;
  object-fit: cover;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery img:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

/* ===== Modal ===== */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  padding-top: 80px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background: rgba(0,0,0,0.9);
}

.modal-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 80%;
  border-radius: 10px;
}

#caption {
  margin: 10px auto;
  text-align: center;
  color: #fff;
  font-size: 1rem;
}

.close {
  position: absolute;
  top: 30px;
  right: 40px;
  color: #fff;
  font-size: 2rem;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s ease;
}

.close:hover {
  color: #DAA520;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .gallery {
    flex-direction: column;
    align-items: center;
  }
  
  .gallery img {
    width: 90%;
    height: auto;
  }

  .logo {
    flex-direction: column;
  }

  .logo h2 {
    text-align: center;
  }
}
