/* styles.css */

/* ========== BASE STYLES ========== */
html {
  scroll-behavior: smooth;
}
body {
  background-color: #e0f2fe; /* Light blue background */
  font-family: 'Inter', sans-serif;
  color: #1e293b; /* slate-800 */
  line-height: 1.6;
  margin: 0;
}

/* ========== CONTAINERS ========== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* ========== SECTION LAYOUT ========== */
section {
  transition: all 0.3s ease-in-out;
  scroll-margin-top: 80px; /* offset for sticky header */
  padding: 2.5rem 0;
}

/* ========== HEADINGS ========== */
h1, h2 {
  color: #0f172a; /* slate-900 */
  font-weight: 700;
  margin-top: 0;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

/* ========== NAVIGATION ========== */
header {
  position: sticky;
  top: 0;
  background-color: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  z-index: 50;
}
nav a {
  font-weight: 500;
  position: relative;
  transition: color 0.3s;
  padding: 0.25rem;
}
nav a::after {
  content: '';
  display: block;
  height: 2px;
  width: 0;
  background-color: #3b82f6;
  transition: width 0.3s;
  position: absolute;
  bottom: -2px;
  left: 0;
}
nav a:hover::after {
  width: 100%;
}

/* ========== BUTTONS ========== */
.button,
button,
a.inline-block {
  display: inline-block;
  background-color: #3b82f6; /* blue-500 */
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 0.375rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: background-color 0.3s, transform 0.2s ease;
}
.button:hover,
button:hover,
a.inline-block:hover {
  background-color: #1e40af; /* blue-800 */
  transform: translateY(-2px);
}

/* ========== FORM ELEMENTS ========== */
input,
textarea,
select {
  background-color: #f8fafc; /* slate-50 */
  border: 1px solid #cbd5e1; /* slate-300 */
  padding: 0.75rem;
  border-radius: 0.375rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  width: 100%;
}
input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59,130,246,0.3);
}

/* ========== CARDS & GRID ========== */
.bg-gray-100 {
  background-color: #f1f5f9;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.bg-gray-100:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.07);
}

/* ========== LANGUAGE SELECT ========== */
#languageSwitcher {
  background-color: #fff;
  border: 1px solid #94a3b8;
  padding: 0.5rem 0.75rem;
  border-radius: 0.375rem;
  transition: box-shadow 0.2s ease;
  max-width: 12rem;
  width: auto;
  appearance: none;
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 0.65em;
}
#languageSwitcher:hover {
  box-shadow: 0 0 0 2px rgba(59,130,246,0.5);
}
#languageSwitcher:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(59,130,246,0.8);
  border-color: #3b82f6;
}
#languageSwitcher::-ms-expand {
  display: none;
}

/* ========== SCROLL ANIMATIONS ========== */
[data-animate] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-animate].in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ========== MAP INTERACTIVITY ========== */
iframe {
  pointer-events: auto;
  border: 0;
  border-radius: 0.5rem;
  width: 100%;
  height: 300px;
}

/* ========== FOOTER ========== */
footer {
  text-align: center;
  padding: 1.5rem 0;
  font-size: 0.875rem;
  background-color: #fff;
  border-top: 1px solid #e5e7eb;
}

/* ========== MOBILE OPTIMIZATIONS ========== */
@media (max-width: 768px) {
  header .container {
    flex-direction: column;
    align-items: flex-start;
  }
  nav {
    width: 100%;
    margin-top: 1rem;
  }
  nav a {
    display: block;
    padding: 0.5rem 0;
  }
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.5rem;
  }
  section {
    padding: 1.5rem 0;
  }
  .button,
  button,
  a.inline-block {
    width: 100%;
    text-align: center;
    padding: 0.75rem 0;
  }
  #languageSwitcher {
    width: 100%;
    margin-top: 0.5rem;
  }
  form input,
  form textarea,
  form select {
    padding: 0.5rem;
  }
}