/* === Global Styles === */
body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #ffffff;
  background-color: #0b1e3b; /* navy blue */
  line-height: 1.6;
  overflow-x: hidden;
}

/* === Header === */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #0b1e3b; /* solid navy */
  color: #ffffff;
  z-index: 1000;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.main-header nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 60px;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  font-size: 1.8em;
  font-weight: 600;
  letter-spacing: 1px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 25px;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #dbe3ff;
}

/* === Hero Section === */
.hero {
  position: relative;
  height: 100vh;
  background-image: url('background.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.overlay {
  background: rgba(11, 30, 59, 0.8); /* opaque navy overlay */
  height: 100%;
  width: 100%;
  padding: 120px 20px 60px; /* space for header */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

.hero-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.hero-content h1 {
  font-size: 3em;
  margin-bottom: 10px;
  color: #ffffff;
  letter-spacing: 1px;
}

.hero-content h2 {
  font-size: 1.6em;
  margin-bottom: 25px;
  color: #dbe3ff;
}

.btn {
  background-color: #ffffff;
  color: #0b1e3b;
  padding: 12px 25px;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  transition: all 0.3s ease;
}

.btn:hover {
  background-color: #dbe3ff;
  transform: translateY(-3px);
}

/* === Photo Credit === */
.photo-credit {
  position: absolute;
  bottom: 10px;
  right: 20px;
  font-size: 0.9rem;
  color: #ccc;
  z-index: 3;
}

.photo-credit a {
  color: #ccc;
  text-decoration: none;
}

.photo-credit a:hover {
  text-decoration: underline;
}

/* === About Section === */
.about {
  background-color: #ffffff;
  color: #0b1e3b;
  text-align: center;
  padding: 100px 20px;
}

.about h2 {
  color: #0b1e3b;
  font-size: 2em;
  margin-bottom: 15px;
}

.about p {
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.1em;
}

/* === Contact Section === */
.contact {
  background-color: #0c1e3b;
  color: #ffffff;
  text-align: center;
  padding: 80px 20px;
}

.contact h2 {
  font-size: 2rem;
  margin-bottom: 40px;
}

.contact-box {
  background: #2a3a52;
  padding: 40px 50px;
  max-width: 550px;
  margin: 0 auto;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: left;
}

.contact-form label {
  font-weight: 600;
  margin-bottom: 6px;
  display: block;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: none;
  border-radius: 8px;
  background-color: #f4f4f4;
  font-size: 1rem;
  box-sizing: border-box;
}

.contact-form textarea {
  resize: none;
  height: 140px;
}

.contact-form .btn {
  background-color: #ffffff;
  color: #0c1e3b;
  font-weight: 700;
  border: none;
  padding: 12px 0;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
  text-align: center;
}

.contact-form .btn:hover {
  background-color: #e6e6e6;
  transform: translateY(-2px);
}

/* Mobile responsiveness */
@media (max-width: 600px) {
  .contact-box {
    padding: 30px 25px;
  }
}


/* === Footer === */
footer {
  background-color: #08162e;
  text-align: center;
  padding: 20px;
  font-size: 0.9em;
  color: #d0d8f0;
}

/* === Animations === */
.fade-in-delay {
  opacity: 0;
  animation: fadeIn 2s ease 0.5s forwards;
}

.fade-in-late {
  opacity: 0;
  animation: fadeIn 2.5s ease 1s forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* === Responsive Design === */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.3em;
  }

  .hero-content h2 {
    font-size: 1.2em;
  }

  .main-header nav {
    flex-direction: column;
    gap: 10px;
  }
}
