@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600&display=swap');

body {
  font-family: 'Open Sans', sans-serif;
  margin: 0;
  padding: 0;
  color: #333;
  background-color: #f5f6fa;
}

/* Navbar */
.navbar {
  background: #002b5b;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 100;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1em 2em;
}

.nav-logo {
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  font-size: 1.2em;
}

.nav-menu {
  list-style: none;
  display: flex;
  gap: 1.5em;
  margin: 0;
}

.nav-menu a {
  color: #ddd;
  text-decoration: none;
  transition: 0.3s;
}

.nav-menu a:hover, .nav-menu a.active {
  color: #ffd700;
}

/* Header */
.hero {
  margin-top: 80px;
  background: linear-gradient(90deg, #002b5b, #003f7d);
  color: white;
  padding: 3em 0;
}

.profile {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2em;
  max-width: 1000px;
  margin: auto;
  flex-wrap: wrap;
}

.photo {
  width: 160px;
  border-radius: 50%;
  border: 3px solid #fff;
  transition: transform 0.3s;
}

.photo:hover {
  transform: scale(1.05);
}

.intro {
  max-width: 600px;
}

.intro a {
  color: #ffd700;
  text-decoration: none;
}

.intro a:hover {
  text-decoration: underline;
}

/* Sections */
main {
  max-width: 1000px;
  margin: 2em auto;
  padding: 1em 2em;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  animation: fadeIn 1s ease-in;
}

h1, h2 {
  color: #002b5b;
}

ul {
  line-height: 1.8;
}

footer {
  text-align: center;
  padding: 1.5em;
  background: #002b5b;
  color: white;
  margin-top: 2em;
}

footer a {
  color: #ffd700;
}

/* Gallery */
.gallery {
  text-align: center;
}

.image-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1em;
  justify-content: center;
}

.image-grid img {
  width: 180px;
  border-radius: 8px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.image-grid img:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in {
  animation: fadeIn 1.5s ease-in;
}

@media (max-width: 768px) {
  .profile { flex-direction: column; text-align: center; }
  .nav-menu { flex-direction: column; background: #003366; display: none; }
}
