/* Global styles for Lighthouse of Hope website */

body {
  margin: 0;
  padding: 0;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f9f9f9;
}

header {
  background-color: #004080;
  color: #fff;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

header .logo {
  display: flex;
  align-items: center;
}

nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

nav a {
  color: #fff;
  text-decoration: none;
  margin: 0 10px;
  padding: 8px 12px;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

nav a:hover {
  background-color: #0060bf;
}

.hero {
  background: linear-gradient(90deg, #003060, #0054a6);
  color: #fff;
  text-align: center;
  padding: 80px 20px;
}

.hero h1 {
  margin: 0 0 10px;
  font-size: 2.5em;
}

.hero p {
  margin: 0;
  font-size: 1.2em;
}

main {
  max-width: 1100px;
  margin: 20px auto;
  padding: 0 20px;
}

section {
  margin-bottom: 40px;
}

h2 {
  color: #004080;
  margin-bottom: 10px;
}

ul {
  list-style-type: disc;
  padding-left: 20px;
}

footer {
  background-color: #00234d;
  color: #fff;
  text-align: center;
  padding: 20px;
  margin-top: 40px;
}

/* Form styles */
form {
  background-color: #fff;
  padding: 20px;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

form label {
  display: block;
  margin-top: 10px;
}

form input[type="text"],
form input[type="email"],
form input[type="number"],
form textarea,
form select {
  width: 100%;
  padding: 8px;
  margin-top: 4px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

form input[type="submit"] {
  background-color: #004080;
  color: #fff;
  border: none;
  padding: 10px 20px;
  margin-top: 20px;
  border-radius: 4px;
  cursor: pointer;
}

form input[type="submit"]:hover {
  background-color: #0060bf;
}

.resource-list li {
  margin-bottom: 6px;
}

.county-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.county-card {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 15px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.county-card h3 {
  margin-top: 0;
  color: #004080;
}
.logo img {
  max-height: 60px;
  width: auto;
}

.home-page .logo img {
  max-height: 90px;
}


.hero-logo {
  max-height: 150px;
  width: auto;
  float: left;
  margin-left: 30px;
  margin-right: 25px;
}














.hero-nav-right {
  display: flex;
  justify-content: flex-end;
  width: 100%;
}


.white-hero-logo-container {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.white-hero-centered {
  max-height: 250px;
  width: auto;
  display: block;
}


.who-logo-container {
  width: 100%;
  display: flex;
  justify-content: center;
  margin: 25px 0;
}

.who-logo {
  max-height: 500px; /* doubled size */
  width: auto;
  display: block;
}


.nav-right {
    display: flex;
    justify-content: flex-end;
    width: 100%;
}


/* Language selector dropdown in header */
.lang-selector {
  margin-left: 15px;
  display: inline-flex;
  align-items: center;
}

.lang-select {
  padding: 4px 8px;
  border-radius: 4px;
  border: 1px solid #ffffff;
  background-color: #ffffff;
  color: #004080;
  cursor: pointer;
  font-size: 0.9rem;
}

.lang-select:focus {
  outline: none;
}


/* Translator dropdown - red styling to match lighthouse logo */
.lang-selector select#lang-select,
#lang-select {
  background-color: #b30000 !important;   /* deep red */
  border: 1px solid #b30000 !important;
  color: #ffffff !important;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 4px;
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
}

/* Options within translator dropdown */
#lang-select option {
  background-color: #ffffff !important;
  color: #000000 !important;
}


/* Light blue button style for service and APD links */
.service-button {
  display: inline-block;
  background-color: #cfe8ff;
  color: #003f7f;
  padding: 10px 18px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.2s ease;
  margin-top: 8px;
}

.service-button:hover {
  background-color: #b5dbff;
}
