/* === RESET & BASE === */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: 'Segoe UI', sans-serif;
  line-height: 1.6;
  transition: background 0.3s, color 0.3s;
  padding-top: 80px;
  background: var(--bg);
  color: var(--text);
}

/* === THEME VARIABLES === */
:root {
  --bg: #f9fafa;
  --text: #333;
  --primary: #0077cc;
  --accent: #00bfff;
  --card-bg: #ffffff;
  --footer-bg: #222;
  --footer-text: #bbb;
}
.dark {
  --bg: #1e1e28;
  --text: #ddd;
  --primary: #4da6ff;
  --accent: #66b3ff;
  --card-bg: #2b2b39;
  --footer-bg: #111;
  --footer-text: #888;
}

/* === HEADER & NAVIGATION === */
.navbar {
  position: fixed; top: 0; width: 100%;
  background: var(--card-bg);
  border-bottom: 1px solid rgba(0,0,0,0.1);
  padding: 1rem 2rem; display: flex;
  align-items: center; justify-content: space-between;
  z-index: 999; flex-wrap: wrap;
}
.logo img { height: 48px; object-fit: contain; }

/* === NAV LINKS & HAMBURGER === */
.nav-links {
  display: flex; list-style: none; gap: 1.2rem; flex-wrap: wrap;
  transition: max-height 0.3s ease;
}
.nav-links a {
  color: var(--text); text-decoration: none; font-weight: 500;
}
.nav-links .cta-button {
  background: var(--primary); color: #fff;
  padding: 0.5rem 1rem; border-radius: 6px; font-weight: bold;
}
.nav-links .cta-button:hover { background: #005fa3; }
.hamburger { display: none; font-size: 28px; cursor: pointer; }

/* === MOBILE NAV === */
@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; width: 100%;
    background: var(--card-bg); position: absolute;
    top: 70px; left: 0; padding: 1rem 0;
  }
  .nav-links.active { display: flex; }
  .nav-links li { text-align: center; margin: 8px 0; }
  .hamburger { display: block; }
}

/* === HERO SECTION === */
.hero {
  background: linear-gradient(to right, var(--primary), var(--accent));
  color: #fff; text-align: center;
  padding: 100px 20px 80px;
  animation: slideIn 1s ease-out;
}
.hero h1 { font-size: 2.5rem; margin-bottom: 1rem; }
.hero p { font-size: 1.1rem; margin-bottom: 2rem; }
.hero-buttons { display: flex; gap: 1rem; justify-content: center; }
.hero-cta {
  background: #fff; color: var(--primary);
  padding: 0.75rem 1.5rem; border-radius: 25px;
  font-weight: bold; text-decoration: none;
  transition: background 0.3s;
}
.hero-cta.secondary {
  background: rgba(255,255,255,0.2); color: #fff;
  border: 1px solid #fff;
}
.hero-cta:hover { background: #f0f0f0; }

/* === SECTIONS === */
.services, .highlight, .cta-strip, .form-section {
  padding: 60px 20px; text-align: center;
  animation: slideIn 0.8s ease-out;
}
.service-grid {
  display: grid; gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(260px,1fr));
  max-width: 1100px; margin: 0 auto;
}
.service-card {
  background: var(--card-bg); border-radius: 12px;
  padding: 1.5rem; box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: transform 0.3s; text-align: left;
}
.service-card:hover { transform: translateY(-5px); }
.service-card ul { list-style: disc; margin-left: 1rem; padding-top: .5rem; }
.cta-link .cta-button, .highlight .cta-button, .cta-strip .cta-button {
  margin-top: 1rem;
}
.highlight { background: #fff5e6; }
.cta-strip { background: #e6f4ff; }

/* === FORMS === */
.form-section {
  max-width: 600px; margin: 0 auto;
  background: var(--card-bg);
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
form { display: flex; flex-direction: column; gap: 1rem; }
form label { font-weight: 600; }
form input, form textarea, form select {
  padding: 0.75rem; border-radius: 6px;
  border: 1px solid #ccc; font-size: 1rem;
  background: var(--bg); color: var(--text);
}
form button {
  background: var(--primary); color: #fff;
  padding: 0.75rem; border: none; border-radius: 6px;
  font-weight: bold; cursor: pointer;
  transition: background 0.3s;
}
form button:hover { background: #005fa3; }

/* === CONTACT LAYOUT === */
.contact-container {
  margin-top: 2rem; display: flex; flex-wrap: wrap;
  gap: 2rem;
}
.contact-container form, .map-info {
  flex: 1; min-width: 300px;
}
.map-info iframe {
  width: 100%; height: 250px;
  border-radius: 8px; border: 0;
}

/* === FOOTER === */
footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  font-size: 0.8rem;
  padding: 0;
}

footer .footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 10px 15px 5px;
}

.footer-block h3 {
  margin: 0 0 4px;
  font-size: 0.95rem;
  color: #fff;
}

.footer-block p,
.footer-block a {
  color: var(--footer-text);
  text-decoration: none;
  line-height: 1.4;
  margin: 0;
}

.footer-block ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-block li {
  margin-bottom: 4px;
}

.footer-copy {
  text-align: center;
  padding: 8px 0;
  background: #111;
  color: #aaa;
  font-size: 0.75rem;
}

/* === ANIMATIONS === */
@keyframes slideIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* === THEME SWITCH BUTTON === */
.theme-toggle {
  position: fixed; bottom: 20px; right: 20px;
  background: var(--primary); color: #fff;
  padding: 10px 15px; border: none;
  border-radius: 6px; cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  z-index: 1000;
}

/* === RESPONSIVE TWEAKS === */
@media (max-width: 768px) {
  body { padding-top: 70px; }
  .hero h1 { font-size: 2rem; }
  .nav-links li { margin: 6px 0; }
}
