/* Reset some default styles */
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  background-color: #cfe8fc;  /* pastel blue background */
  color: #333333;             /* dark grey text for readability */
  font-family: Arial, sans-serif;
  display: flex;
  flex-direction: column;      /* Stack header, main, footer vertically */
}

/* Header */
header {
  background-color: inherit;
  text-align: center;
  padding: 10px 0;  /* Reduced height for header */
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

header .logo {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
}

header h1 {
  font-size: 2em;
}

/* Navigation bar */
nav {
  background-color: #a7c7e7;  /* soft powder blue nav */
  padding: 0;
  text-align: center;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

/* Nav items */
nav a, nav .dropbtn {
  color: #333333;  /* dark grey text in nav */
  background-color: #a7c7e7;
  padding: 14px 20px;
  text-decoration: none;
  display: inline-block;
  font-weight: bold;
  border: none;
  outline: none;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
}

/* Hover effect */
nav a:hover, nav .dropbtn:hover {
  background-color: #fddde6;  /* pastel pink highlight */
  color: #333333;
}

/* Dropdown menu */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #a7c7e7;
  min-width: 160px;
  z-index: 1;
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

.dropdown-content a {
  color: #333333;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
  background-color: #a7c7e7;
}

.dropdown-content a:hover {
  background-color: #fddde6;
}

/* Show dropdown on hover */
.dropdown:hover .dropdown-content {
  display: block;
}

/* Main content */
main {
  flex: 1;  /* This allows the main content to take up remaining space */
  padding: 20px;
}

/* Form box */
.form-container {
  background-color: #ffffff;
  color: #333333;
  padding: 30px;
  max-width: 500px;
  margin: 0 auto;
  border-radius: 10px;
  box-shadow: inset 4px 4px 10px rgba(255,255,255,0.4),
              inset -4px -4px 10px rgba(0,0,0,0.1),
              0 4px 15px rgba(0,0,0,0.2);
}

/* Form inputs */
.form-container input[type="text"],
.form-container input[type="email"],
.form-container input[type="tel"],
.form-container select,
.form-container textarea {
  width: 100%;
  padding: 10px;
  margin-top: 4px;
  margin-bottom: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
}

/* Submit button */
.form-container input[type="submit"] {
  background-color: #ffd966;  /* warm pastel yellow button */
  color: #333333;
  border: none;
  padding: 12px 20px;
  font-weight: bold;
  cursor: pointer;
  border-radius: 6px;
  width: 100%;
  transition: background-color 0.3s;
}

.form-container input[type="submit"]:hover {
  background-color: #f4c542;
}

/* Footer */
footer {
  background-color: #a7c7e7;
  color: #333333;
  text-align: center;
  padding: 10px 0;  /* Restored footer height */
  margin-top: auto;  /* Pushes the footer to the bottom */
}

/* Style for logo in header */
header .logo img {
  width: 100px;
  height: auto;
  display: inline-block;
}
.logo{
  width: 100px;
  height: auto;
  display: inline-block;
}

/* Make sure header and content are responsive */
@media (max-width: 768px) {
  header h1 {
    font-size: 1.5em;
  }
  
  nav a, nav .dropbtn {
    padding: 12px 15px;
  }
  
  .form-container {
    padding: 20px;
  }
}

.message-section {
  padding: 20px;
}

.message-container {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
}

.message-container.reverse {
  flex-direction: row-reverse;
}

.message-photo {
  width: 200px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
}

.message-text {
  max-width: 600px;
}

@media (max-width: 768px) {
  .message-container,
  .message-container.reverse {
      flex-direction: column;
      text-align: center;
  }
}

