/* ---------- Base ---------- */
body {
  margin: 0;
  font-family: 'Open Sans', sans-serif;
  background: linear-gradient(to bottom, #f9fcff 0%, #ebf3fa 40%, #e0edf9 100%);
  color: #222;
  line-height: 1.7;
  font-size: 108%;
  overflow-x: hidden;
}

/* ---------- Header ---------- */
.site-header {
  text-align: center;
  padding: 3rem 1rem 1.5rem;
  position: relative;
  z-index: 10; /* ensures logo sits above main box */
}

.logo {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 1rem;
  position: relative;
  transition: transform 0.3s ease;
}



.logo-text,
.seagull-icon {
  transition: opacity 0.3s ease;
}

.logo-text:hover,
.seagull-icon:hover {
  opacity: 1;
}

.logo-text {
  width: 380px;
  height: auto;
  opacity: 0.85;
  filter: drop-shadow(0 3px 3px rgba(0, 0, 0, 0.08));
}

.seagull-icon {
  width: 80px;
  height: auto;
  position: relative;
  top: -2px;
  opacity: 0.7;
}

.seagull-icon:hover {
  transform: translateY(-3px);
}


/* ---------- Main Content Wrapper ---------- */
main {
  max-width: 900px;
  margin: -3rem auto 4rem;   /* lifts box closer to logo */
  padding: 1.1rem 2rem 3rem;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(0, 58, 107, 0.15);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  position: relative;
  z-index: 1; /* sits behind logo */

  /* fade-rise animation */
  opacity: 0;
  transform: translateY(40px);
  animation: fadeRise 1.2s ease-out forwards;
  animation-delay: 0.3s;
}

@keyframes fadeRise {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- Section Styles ---------- */
section {
  margin-bottom: 2.2rem; /* was 3rem – closer spacing */
}

h2 {
  color: #093a6b;
  border-bottom: 2px solid #d0e2f5;
  padding-bottom: 0.3rem;
  margin-bottom: 1.2rem;
}

h3 {
  color: #2a4e7a;
  text-align: center;
  font-weight: 600;
}

.intro p,
.about p {
  margin-bottom: 1rem;
}

.intro h2 {
  text-align: center;
}

.intro p {
  font-size: 110%;
  text-align: center;
}

/* ---------- About Section ---------- */
.about {
  margin-top: -0.8rem; /* pulls About section closer to Intro */
}

.about-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
  padding-right: 1rem;
  text-align: justify;
}

.profile-photo {
  width: 100px;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12); /* stronger shadow */
}

/* ---------- Contact Section ---------- */
.contact {
  text-align: center;
  background: #f8fbff;
  border-radius: 10px;
  padding: 1.4rem 2rem 2rem; /* reduced top padding */
  margin-top: -0.5rem; /* lifts section up slightly */
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12); /* stronger shadow */
}

.contact-info a {
  color: #093a6b;
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}


/* tighten top spacing inside the Get in Touch box */
.contact h2 {
  margin-top: -0.5rem;  /* was default ~1rem */
}


/* ---------- Footer ---------- */
.site-footer {
  text-align: center;
  background: #eef4fa;
  color: #555;
  padding: 1.5rem;
  font-size: 0.9rem;
  border-top: 1px solid #d0e2f5;
}

.tiny-gull {
  width: 20px;
  height: auto;
  position: relative;
  top: 4px;
  margin-left: 6px;
  opacity: 0.9;
}

/* ---------- Responsive ---------- */
@media (min-width: 768px) {
  .about-content {
    flex-direction: row;
    align-items: flex-start;
  }

  .profile-photo {
    margin-right: 1.5rem;
  }
}