
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


body {
  font-family: 'Inter', Arial, sans-serif;
  background-color: #f9fbfd;
  color: #222;
  line-height: 1.6;
  scroll-behavior: smooth;
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
}


header {
  background: #ffffff;
  border-bottom: 1px solid #e5e9f0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  color: #0077cc;
  font-weight: 700;
  font-size: 1.5rem;
}

nav {
  display: flex;
  gap: 1.5rem;
}

nav a {
  color: #333;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

nav a:hover {
  color: #0077cc;
}


.menu-toggle {
  display: none;
  font-size: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
}


.hero {
  background: 
    linear-gradient(to bottom right, rgba(0, 119, 204, 0.7), rgba(0, 170, 255, 0.7)),
    url("../images/janz.jpeg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  color: white;
  text-align: center;
  padding: 120px 20px;
}

.hero h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.hero p {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 25px;
}

.btn {
  background: white;
  color: #0077cc;
  padding: 12px 25px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.2s;
}

.btn:hover {
  background: #eaf6ff;
}


.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  padding: 80px 0;
  text-align: center;
}

.feature h3 {
  color: #0077cc;
  font-size: 1.3rem;
  margin-bottom: 10px;
}


footer {
  background: #f0f4f8;
  color: #555;
  text-align: center;
  padding: 20px 0;
  font-size: 0.9rem;
}


@media (max-width: 768px) {
  nav {
    display: none;
    flex-direction: column;
    background: white;
    position: absolute;
    top: 70px;
    right: 0;
    width: 200px;
    border-left: 1px solid #e5e9f0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  }

  nav.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
    color: #0077cc;
  }
}

.page {
  padding: 80px 0;
  max-width: 800px;
  margin: auto;
}

.page h2 {
  text-align: center;
  color: #0077cc;
  margin-bottom: 1rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.service {
  background: #f0f4f8;
  padding: 1.5rem;
  border-radius: 10px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.contact-form input,
.contact-form textarea {
  padding: 0.8rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
}

.contact-form button {
  align-self: flex-start;
}

.controls {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.mode-toggle {
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
}


body.dark {
  background: #121212;
  color: #eee;
}

body.dark header {
  background: #1c1c1c;
  border-color: #333;
}

body.dark nav a {
  color: #eee;
}

body.dark nav a:hover {
  color: #55baff;
}

body.dark .hero {
  background: 
    linear-gradient(to bottom right, rgba(0, 68, 102, 0.8), rgba(0, 26, 51, 0.8)),
    url("../images/janz.jpeg");
  background-size: cover;
  background-position: center;
}
body.dark .feature h3,
body.dark .page h2 {
  color: #55baff;
}

body.dark .service {
  background: #1c1c1c;
  border: 1px solid #333;
}

body.dark footer {
  background: #1a1a1a;
  color: #888;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

footer {
  margin-top: auto;
}

.about-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.about-text {
  flex: 1 1 400px;
}

.about-image {
  flex: 1 1 400px;
  display: flex;
  justify-content: center;
}

.about-image img {
  width: 100%;
  max-width: 500px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  object-fit: cover;
}

/* Hours modal */
.modal {
  display: none; /* Hidden by default */
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.5);
}

.modal-content {
  background-color: #fff;
  margin: 15% auto;
  padding: 20px 30px;
  border-radius: 12px;
  max-width: 400px;
  text-align: center;
  position: relative;
}

.modal h3 {
  margin-bottom: 15px;
  color: #0077cc;
}

.modal ul {
  list-style: none;
  padding: 0;
}

.modal li {
  margin: 5px 0;
}

/* Close button */
.modal-close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 1.2rem;
  cursor: pointer;
  color: #333;
}

body.dark .modal-content {
  background-color: #1c1c1c;
  color: #eee;
}

.feature-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 15px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}
