/* ===========================
   Reset & Base
=========================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #333;

  /* Parallax background */
  background: url('/images/background.jpg') no-repeat center top fixed;
  background-size: cover;
}

/* ===========================
   Layout Helpers
=========================== */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1rem;
  position: relative;
}

.text-center { text-align: center; }
.text-left   { text-align: left; }
.text-right  { text-align: right; }

.mt-2 { margin-top: 1rem; }
.mt-4 { margin-top: 2rem; }
.mt-6 { margin-top: 3rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-6 { margin-bottom: 3rem; }

/* ===========================
   Header / Navigation
=========================== */
header {
  background: rgba(17, 17, 17, 0.9);
  color: white;
  padding: 1rem;
  border-radius: 10px;

}

header img {
  height: 60px;
  vertical-align: middle;
}

nav ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0 0;
  display: flex;
  justify-content: center;
  gap: 20px;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

nav a:hover {
  text-decoration: underline;
}

/* ===========================
   Hero Section
=========================== */
.hero {
  background: url('/images/hero-bg.jpg') no-repeat center center/cover;
  color: white;
  text-align: center;
  padding: 140px 20px;
  position: relative;
  border-radius: 10px;
  margin-top: 2rem;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
  border-radius: 10px;
}

.hero .overlay {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: auto;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
}

/* ===========================
   Buttons
=========================== */
button, .btn {
  display: inline-block;
  padding: 0.7rem 1.4rem;
  border-radius: 8px;
  border: none;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.1s ease;
  text-decoration: none;
}

.btn-primary {
  background: #dc2626;
  color: #fff;
}

.btn-primary:hover {
  background: #b91c1c;
  transform: translateY(-2px);
}

.btn-secondary {
  background: #e5e5e5;
  color: #333;
}

.btn-secondary:hover {
  background: #ccc;
}

/* ===========================
   Cards / Features
=========================== */
.card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
  margin: 1rem 0;
  text-align: center;
  transition: transform 0.2s ease;

}

.card:hover {
  transform: translateY(-4px);
}

.grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* ===========================
   Images
=========================== */
img.responsive {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

figure {
  margin: 1rem 0;
  text-align: center;
}

figcaption {
  font-size: 0.9rem;
  color: #666;
  margin-top: 0.5rem;
}

/* ===========================
   Sections
=========================== */
section {
  background: rgba(255,255,255,0.9);
  border-radius: 12px;
  padding: 3rem 2rem;
  margin-top: 2rem;

}

section h2 {
  font-size: 2rem;
  margin-bottom: 1.2rem;
}

/* ===========================
   Contact & Footer
=========================== */
.contact {
  background: rgba(17, 24, 39, 0.9);
  color: white;
  border-radius: 12px;
}

footer {
  background: rgba(17, 17, 17, 0.9);
  color: white;
  text-align: center;
  padding: 1rem;
  margin-top: 2rem;
  border-radius: 10px;

}

footer a {
  color: #ddd;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* ===========================
   Dark Mode
=========================== */
@media (prefers-color-scheme: dark) {
  body {
    background: url('/images/background.jpg') no-repeat center top fixed;
    background-size: cover;
    color: #eee;
  }

  .container, .card, header, footer, section {
    background-color: rgba(0,0,0,0.7);
    color: #eee;
  }

  .btn-secondary { background: #333; color: #eee; }
}


/* Contact Section */
.contact-section {
  max-width: 600px;
  margin: 2rem auto;
  text-align: center;
  color: #7e7d7d;
}

.contact-section h2 {
  color: #000000;
  margin-bottom: 0.5rem;
}

.contact-section p {
  margin-bottom: 1.5rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form input,
.contact-form textarea {
  background: #f0f0f0;
  border: 2px  solid#000000;
  padding: 0.75rem;
  border-radius: 8px;
  color: #000000;
  font-size: 1rem;
  width: 100%;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #000000;
}

.contact-form button {
  background: #13a300;
  color: #fff;
  border: none;
  padding: 0.9rem;
  font-size: 1.1rem;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.contact-form button:hover {
  background: #cc0000;
}

/* Social Icons */
.contact-social {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.contact-social img {
  width: 32px;
  height: 32px;
  filter: brightness(0) invert(1); /* makes icons white-ish */
  transition: transform 0.2s ease;
}

.contact-social img:hover {
  transform: scale(1.1);
}
