/* Body and Background */
body {
  position: relative;
  margin: 0;
  font-family: Arial, sans-serif;
  color: white;
  min-height: 100vh;
  background-color: #000;
}

.background {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url('media/background.png') no-repeat center center;
  background-size: cover;
  opacity: 0.3;
  z-index: -1;
  pointer-events: none;
}

/* Layout Containers */
header, main, footer {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 0;
  padding: 0 1rem;
}

/* Header Styling */
header {
  text-align: center;
  margin-bottom: 2rem;
}

/* Navigation Links */
nav a {
  margin: 0 1rem;
  text-decoration: none;
  color: white;
  font-weight: bold;
}

nav a:hover {
  text-decoration: underline;
  color: #00aaff;
}

/* Main Content */
main h2 {
  margin-top: 2rem;
  color: white;
}

main p, main li {
  color: white;
}

main a {
  color: #aadfff;
  text-decoration: underline;
}

main a:hover {
  color: #ffffff;
}

/* Two-column top section */
.top-section {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 2rem;
  margin-bottom: 3rem;
}

.profile-photo-container {
  flex: 0 0 260px;
  text-align: center;
}

.profile-photo {
  max-width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  object-fit: cover;
}

.welcome-text {
  flex: 1;
}

.welcome-text p {
  margin-top: 0.5rem;
  line-height: 1.5;
}

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.gallery img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.gallery img:hover {
  transform: scale(1.03);
}

/* Figure captions */
figcaption {
  color: #cccccc;
  font-size: 0.9rem;
  text-align: center;
  margin-top: 0.3rem;
}

/* Footer Styling */
footer {
  text-align: center;
  margin-top: 3rem;
  font-size: 0.9rem;
  color: #aaa;
}

/* Forms */
form {
  max-width: 600px;
  margin: 2rem auto;
  padding: 1rem;
  background-color: rgba(0,0,0,0.6);
  border-radius: 10px;
  color: white;
}

input, textarea {
  width: 100%;
  padding: 0.5rem;
  margin-bottom: 1rem;
  border: none;
  border-radius: 5px;
}

button {
  padding: 0.6rem 1.2rem;
  background-color: #0066cc;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

button:hover {
  background-color: #004a99;
}
