/* Custom Properties & Reset */
:root {
  --primary: #0a4275;
  --primary-light: #1565c0;
  --secondary: #e3f2fd;
  --accent: #d32f2f;
  --accent-hover: #b71c1c;
  --text-main: #333333;
  --text-muted: #555555;
  --bg-main: #ffffff;
  --bg-gray: #f5f5f5;
  --border: #e0e0e0;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text-main);
  background-color: var(--bg-main);
  line-height: 1.6;
  font-size: 16px;
}

/* Typography */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--primary);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
p { margin-bottom: 1rem; color: var(--text-muted); }
a { color: var(--primary-light); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Buttons & CTAs */
.btn-primary {
  display: inline-block;
  background-color: var(--accent);
  color: #fff !important;
  padding: 12px 24px;
  border-radius: 4px;
  font-weight: 700;
  text-align: center;
  text-decoration: none !important;
  transition: background-color 0.3s ease;
  min-width: 44px;
  min-height: 44px;
}

.btn-primary:hover {
  background-color: var(--accent-hover);
}

.cta-box {
  background-color: var(--secondary);
  border-left: 4px solid var(--primary);
  padding: 2rem;
  margin: 2rem 0;
  border-radius: 4px;
  text-align: center;
}

/* Layout */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: 4rem 0;
}

.section-bg {
  background-color: var(--bg-gray);
}

/* Header & Navigation */
header {
  background-color: var(--bg-main);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary) !important;
}

nav {
  display: flex;
  align-items: center;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin-right: 2rem;
}

.nav-links li {
  position: relative;
}

.nav-links a {
  color: var(--text-main);
  font-weight: 600;
  padding: 10px 0;
}

/* Dropdown */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--bg-main);
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  border: 1px solid var(--border);
  min-width: 250px;
  list-style: none;
  z-index: 100;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu li a {
  display: block;
  padding: 10px 15px;
  border-bottom: 1px solid var(--border);
}

.dropdown-menu li:last-child a {
  border-bottom: none;
}

.dropdown-menu li a:hover {
  background-color: var(--secondary);
  text-decoration: none;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--primary);
  padding: 10px;
}

/* Hero Section */
.hero {
  background: linear-gradient(rgba(10, 66, 117, 0.8), rgba(10, 66, 117, 0.8)), url('/images/hoboken-hero-bg.webp') center/cover;
  color: #fff;
  padding: 6rem 0;
  text-align: center;
}

.hero h1, .hero p {
  color: #fff;
}

.hero p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto 2rem;
}

/* Grids & Cards */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.card {
  background: var(--bg-main);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 15px rgba(0,0,0,0.05);
  border: 1px solid var(--border);
}

.card h3 {
  margin-top: 1rem;
}

/* Images */
img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
}

/* Footer */
footer {
  background-color: var(--primary);
  color: #fff;
  padding: 3rem 0;
  text-align: center;
}

footer p, footer a {
  color: #e0e0e0;
}

footer a:hover {
  color: #fff;
}

.footer-links {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1.5rem 0;
}

/* Mobile Sticky Call Bar */
.mobile-call-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--accent);
  text-align: center;
  padding: 15px;
  z-index: 1000;
}

.mobile-call-bar a {
  color: #fff;
  font-weight: bold;
  font-size: 1.1rem;
  text-decoration: none;
  display: block;
}

/* Responsive */
@media (max-width: 992px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background: var(--bg-main);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    padding: 1rem 0;
    margin: 0;
  }
  
  .nav-links.active {
    display: flex;
  }
  
  .nav-links li {
    padding: 0 20px;
  }
  
  .dropdown:hover .dropdown-menu {
    display: none;
  }
  
  .dropdown.active .dropdown-menu {
    display: block;
    position: static;
    box-shadow: none;
    border: none;
    padding-left: 20px;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .header-btn {
    display: none;
  }
  
  .mobile-call-bar {
    display: block;
  }
  
  body {
    padding-bottom: 60px; /* Space for sticky bar */
  }
}
