:root {
  --main: #111;
  --accent: #444;
  --bg: #fff;
  --text: #111;
}

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: 'Segoe UI', Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
}

header {
  background: var(--main);
  color: #fff;
  padding: 1.2rem 0;
  text-align: center;
  letter-spacing: 2px;
  font-size: 2rem;
  font-weight: bold;
}

nav {
  display: flex;
  justify-content: center;
  background: var(--accent);
  flex-wrap: wrap;
}

nav a {
  color: #fff;
  text-decoration: none;
  padding: 1rem 2rem;
  font-weight: 500;
  transition: background 0.2s, color 0.2s;
  border-radius: 5px;
  margin: 2px 0;
}

nav a:hover, nav a.active {
  background: #fff1e6;
  color: var(--accent);
}

.container {
  max-width: 900px;
  margin: 2rem auto;
  padding: 1.5rem;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px #0001;
  width: 95%;
}

form {
  display: grid;
  gap: 1rem;
}

input, textarea, button {
  font-size: 1rem;
  padding: 0.8rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  background: #fff;
  color: #111;
  box-sizing: border-box;
  width: 100%;
}

button {
  background: var(--main);
  color: #fff;
  border: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border 0.2s;
  width: 100%;
}

button:hover {
  background: var(--accent);
  color: #fff;
  border: 1px solid var(--main);
}

.hero {
  position: relative;
  background: url('/assets/hero.jpg') center/cover no-repeat;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  border-radius: 0 0 18px 18px;
  box-shadow: 0 6px 24px #1112;
  margin-bottom: 2rem;
  text-align: center;
}

.hero-overlay {
  background: rgba(0, 48, 73, 0.7);
  padding: 2.5rem 1rem;
  border-radius: 0 0 18px 18px;
  width: 100%;
}

.hero h1 {
  font-size: 2.3rem;
  margin-bottom: 1rem;
  font-weight: bold;
  letter-spacing: 1px;
}

.hero p {
  font-size: 1.2rem;
  font-weight: 500;
}

.cards {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin-top: -2rem;
  flex-wrap: wrap;
  width: 95%;
  margin-left: auto;
  margin-right: auto;
}

.card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px #0001;
  padding: 2rem 1.5rem;
  flex: 1 1 260px;
  min-width: 220px;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.15s, box-shadow 0.15s;
  margin: 0.5rem 0;
  border: 1px solid #eee;
}

.card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 6px 18px #1112;
  border: 1.5px solid #111;
}

.card-title {
  font-size: 1.25rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
  color: #111;
}

.card-text {
  text-align: center;
  font-size: 1rem;
  color: #222;
}

.card-img {
  width: 64px;
  height: 64px;
  margin-bottom: 1rem;
  filter: grayscale(100%);
  object-fit: contain;
}

.section-image img,
.gallery img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  filter: grayscale(100%);
  margin: 0 auto 1rem auto;
}

footer {
  background: var(--main);
  color: #fff;
  padding: 2rem 0 1rem 0;
  text-align: center;
  font-size: 1rem;
  border-radius: 18px 18px 0 0;
  margin-top: 3rem;
  box-shadow: 0 -4px 16px #1112;
  width: 100%;
  flex-shrink: 0;
}

.footer-links {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: var(--accent);
  margin: 0 0.8rem;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.15s;
}

.footer-links a:hover {
  color: #fff1e6;
  text-decoration: underline;
}

.footer-small {
  font-size: 0.92rem;
  color: #e0e0e0;
}

.footer-small a {
  color: #f77f00;
  text-decoration: none;
}

.footer-small a:hover {
  text-decoration: underline;
}

/* MOBILE STYLES */
@media (max-width: 700px) {
  header { font-size: 1.25rem; padding: 0.7rem 0; }
  .container { padding: 1rem; margin: 1rem auto; width: 99%; }
  nav { flex-direction: column; align-items: stretch; }
  nav a { padding: 1rem; font-size: 1rem; border-radius: 0; margin: 0; border-bottom: 1px solid #3332;}
  .cards { flex-direction: column; gap: 1rem; width: 99%; }
  .card { max-width: 100%; }
  .hero { min-height: 180px; }
  .hero h1 { font-size: 1.2rem; }
  .hero-overlay { padding: 1.2rem 0.3rem; }
  footer { font-size: 0.92rem; padding: 1.3rem 0 0.6rem 0; margin-top: 1rem; border-radius: 14px 14px 0 0; }
  .footer-links { margin-bottom: 0.3rem; font-size: 1rem;}
  .footer-small { font-size: 0.8rem; }
  input, textarea, button { font-size: 1rem; padding: 0.65rem; }
}

.main-content {
  flex: 1 0 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
}
