/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Flexbox layout on body ensures footer stays at the bottom */
body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background-image: linear-gradient(rgba(244, 246, 248, 0.8), rgba(244, 246, 248, 0.8)), url('pasja1000-mountains-3771960_1920pixabay.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  display: flex;
  flex-direction: column;
  min-height: 100vh; /* Forces body to take full screen height */
}

/* Header - Light Palette */
header {
  background-color: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid #e2e8f0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo-container img {
  height: 45px;
  width: auto;
}

.logo-container h1 {
  font-size: 1.5rem;
  color: #0369a1; /* Darker blue for visibility on light bg */
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

nav a {
  color: #475569; /* Slate grey for text legibility */
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

nav a:hover,
nav a.active {
  color: #0284c7; /* Vibrant blue accent */
}

/* Main Content Layout */
main {
  flex: 1; /* Pushes the footer down when page content is short */
  width: 100%;
  max-width: 1000px;
  margin: 2rem auto;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

h2 {
  font-size: 2rem;
  color: #0f172a;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1rem;
}

/* Forms & Cards */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.service-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  padding: 1.5rem;
  border-radius: 6px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 500px;
  margin-top: 1rem;
}

.contact-form label {
  font-weight: bold;
}

.contact-form input,
.contact-form textarea {
  padding: 0.75rem;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  font-size: 1rem;
}

.contact-form button {
  background-color: #0284c7;
  color: white;
  font-weight: bold;
  padding: 0.75rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.contact-form button:hover {
  background-color: #0369a1;
}

/* Footer - Light Palette */
footer {
  text-align: center;
  padding: 1.5rem;
  background-color: rgba(255, 255, 255, 0.95);
  border-top: 1px solid #e2e8f0;
  color: #64748b;
  font-size: 0.9rem;
  width: 100%;
}
