/* ==== Root Theme Variables ==== */
:root {
  --bg-color: #f7f9fc;
  --text-color: #1a1a1a;
  --card-bg: #ffffff;
  --nav-bg: #ffffff;
  --footer-bg: #0a0a0a;
  --footer-text: #ddd;
  --btn-bg: #0077b6;
  --btn-hover-bg: #005f8e;
  --btn-text: #ffffff;
  --btn-outline-border: #0077b6;
  --btn-outline-hover: #e0f7ff;
}

[data-theme="dark"] {
  --bg-color: #1e1e1e;
  --text-color: #f0f0f0;
  --card-bg: #2a2a2a;
  --nav-bg: #181818;
  --footer-bg: #000000;
  --footer-text: #aaaaaa;
  --btn-bg: #3399cc;
  --btn-hover-bg: #2277aa;
  --btn-text: #ffffff;
  --btn-outline-border: #66c2ff;
  --btn-outline-hover: #114455;
}

/* ==== Base Styles ==== */
* {
  box-sizing: border-box;
  transition: background-color 0.3s ease, color 0.3s ease;
}

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  overflow-x: hidden;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ==== Navigation Bar ==== */
.navbar {
  background: var(--nav-bg);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  padding: 0rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.nav-logo {
  flex: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-left: auto; /* ← Pushes nav to the right */
}

.nav-links a {
  text-decoration: none;
  font-weight: 500;
  color: var(--text-color);
}

.nav-links a:hover {
  color: var(--btn-bg);
}

.theme-toggle {
  margin-left: 1rem;
  cursor: pointer;
  font-size: 1.25rem;
}

/* Mobile nav */
@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    background-color: var(--card-bg);
    position: absolute;
    top: 70px;
    right: 1rem;
    padding: 1rem;
    border-radius: 6px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }

  .nav-links.active {
    display: flex;
  }
}

/* ==== Buttons ==== */
.btn {
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.btn-outline {
  border: 1px solid var(--btn-outline-border);
  color: var(--btn-outline-border);
  background: transparent;
}

.btn-outline:hover {
  background: var(--btn-outline-hover);
}

.btn-solid {
  background: var(--btn-bg);
  color: var(--btn-text);
}

.btn-solid:hover {
  background: var(--btn-hover-bg);
}

.btn-cta {
  background-color: var(--btn-text);
  color: var(--btn-bg);
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-cta:hover {
  background-color: var(--btn-outline-hover);
  transform: translateY(-2px);
}

/* ==== Hero Section ==== */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

#map {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: 0;
  filter: brightness(0.85);
}

/* .brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.brand-icon {
  width: 100px;
  height: 100px;
  fill: var(--btn-bg);
}

.brand-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--btn-bg);
} */

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  gap: 0.75rem;
}

.brand-icon {
  height: 100px;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.1;
}

.brand-name {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--btn-bg);
}

.brand-subtitle {
  font-size: 0.75rem;
  color: gray;
  letter-spacing: 0.5px;
  font-weight: 500;
}

.nav-logo a:visited,
.brand-name:visited,
.brand-subtitle:visited {
  color: inherit;
}


.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
  padding: 2rem;
  box-sizing: border-box;
}

.hero-content {
  text-align: center;
  color: white;
  max-width: 700px;
  z-index: 2;
}

.hero-content h1 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

/* ==== Features Section ==== */
.features {
  background: var(--bg-color);
  padding: 5rem 1rem;
}

.features h2 {
  text-align: center;
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 3rem;
}

.features-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.feature {
  background-color: var(--card-bg);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: left;
}

.feature:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.feature h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: var(--btn-bg);
}

.feature p {
  font-size: 1rem;
  color: var(--text-color);
  line-height: 1.6;
}

/* ==== Signup Section ==== */
.signup {
  background: var(--card-bg);
  padding: 4rem 1rem;
  text-align: center;
}

.signup h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.signup input[type="email"] {
  padding: 0.75rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  width: 300px;
  max-width: 90%;
  margin-right: 0.5rem;
}

.signup button {
  padding: 0.75rem 1.25rem;
  font-size: 1rem;
  background-color: var(--btn-bg);
  color: var(--btn-text);
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.signup button:hover {
  background-color: var(--btn-hover-bg);
}

/* ==== Footer ==== */
.footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: 2rem 1.5rem;
  text-align: center;
  font-size: 0.95rem;
}
