/* Zoom Out Financial - Local Site Styles
   Matches the design system from the main site */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');

/* CSS Variables - Dark Theme from Main Site */
:root {
  --background: hsl(220, 15%, 10%);
  --foreground: hsl(210, 40%, 98%);
  --card: hsl(220, 15%, 15%);
  --card-foreground: hsl(210, 40%, 98%);
  --primary: hsl(217, 91%, 60%);
  --primary-foreground: hsl(210, 40%, 98%);
  --secondary: hsl(217, 33%, 25%);
  --secondary-foreground: hsl(210, 40%, 98%);
  --muted: hsl(217, 33%, 20%);
  --muted-foreground: hsl(215, 20%, 85%);
  --accent: hsl(30, 95%, 55%);
  --accent-foreground: hsl(220, 15%, 10%);
  --border: hsl(217, 33%, 25%);
  --input: hsl(217, 33%, 25%);
  --radius: 0.5rem;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  background-image: url('https://slllwyfksdfhigqlepsn.supabase.co/storage/v1/object/public/assets/images/upscaled-2x-ZoomOut-Site-BG-no-Moon-2.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  line-height: 1.6;
  color: var(--foreground);
  background-color: transparent;
  min-height: 100vh;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 2rem;
  color: var(--foreground);
  margin-top: 2rem;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.5rem;
  color: var(--foreground);
  margin-top: 1.5rem;
}

p {
  margin-bottom: 1rem;
  line-height: 1.8;
  color: var(--muted-foreground);
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--accent);
  text-decoration: underline;
}

/* Header Styles */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.header-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.logo img {
  height: 2.5rem;
  width: auto;
}

.logo-text {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--foreground);
}

.nav {
  display: none;
  align-items: center;
  gap: 2rem;
  margin-left: 2.5rem;
}

.nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.2s ease;
  text-decoration: none;
}

.nav a:hover {
  color: var(--foreground);
  text-decoration: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.cta-button {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--accent-foreground);
  padding: 0.5rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 500;
  font-size: 0.875rem;
  text-decoration: none;
  transition: all 0.2s ease;
  display: inline-block;
  border: none;
  cursor: pointer;
}

.cta-button:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
  text-decoration: none;
  color: var(--accent-foreground);
}

.mobile-menu-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--foreground);
  cursor: pointer;
  transition: background 0.2s ease;
}

.mobile-menu-button:hover {
  background: var(--muted);
}

/* Mobile Menu */
.mobile-menu {
  display: block;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--border);
  padding: 1rem 0;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 40;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 0 1.5rem;
}

.mobile-nav a {
  padding: 0.75rem;
  color: var(--foreground);
  text-decoration: none;
  border-radius: var(--radius);
  transition: background 0.2s ease;
}

.mobile-nav a:hover {
  background: var(--muted);
  text-decoration: none;
}

.mobile-nav .cta-button {
  margin-top: 0.5rem;
  text-align: center;
}

/* Main Content */
.main {
  min-height: calc(100vh - 4rem);
  padding: 3rem 1.5rem;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
}

.content-wrapper {
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 3rem;
  margin-bottom: 2rem;
}

/* Service Cards */
.services {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  margin: 2rem 0;
}

.service-item {
  margin: 1.5rem 0;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.3s ease;
}

.service-item:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--primary);
  transform: translateY(-2px);
}

.service-item h3 {
  margin-top: 0;
}

.service-item h3 a {
  color: var(--primary);
  font-size: 1.25rem;
}

/* Cities Grid */
.cities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.city-section, .city-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.city-section:hover, .city-card:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
}

.city-section h3, .city-card h3 {
  margin-top: 0;
  margin-bottom: 1rem;
}

.city-section h3 a, .city-card h3 a {
  color: var(--primary);
}

.city-section p, .city-card p {
  margin-bottom: 1rem;
  color: var(--muted-foreground);
  font-size: 0.9rem;
}

.city-section ul, .city-card ul {
  list-style: none;
  padding: 0;
}

.city-section ul li, .city-card ul li {
  margin: 0.5rem 0;
}

.city-section ul li a, .city-card ul li a {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  transition: color 0.2s ease;
}

.city-section ul li a:hover, .city-card ul li a:hover {
  color: var(--accent);
}

/* Lists */
ul, ol {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
  color: var(--muted-foreground);
}

ul li, ol li {
  margin-bottom: 0.5rem;
}

ul li strong, ol li strong {
  color: var(--foreground);
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  background: var(--card);
  padding: 3rem 0 1.5rem;
}

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

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-brand p {
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius);
  background: var(--muted);
  color: var(--muted-foreground);
  transition: all 0.2s ease;
}

.social-links a:hover {
  background: var(--primary);
  color: var(--foreground);
  transform: translateY(-2px);
}

.footer-section h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--foreground);
}

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

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li a {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  transition: color 0.2s ease;
}

.footer-section ul li a:hover {
  color: var(--foreground);
  text-decoration: none;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  text-align: center;
}

.footer-bottom p {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  margin: 0;
}

/* Responsive Design */
@media (min-width: 768px) {
  .nav {
    display: flex;
  }
  
  .mobile-menu-button {
    display: none;
  }
  
  h1 {
    font-size: 3rem;
  }
  
  h2 {
    font-size: 2.5rem;
  }
}

@media (max-width: 767px) {
  .header-container {
    padding: 0 1rem;
  }
  
  .logo-text {
    display: none;
  }
  
  .content-wrapper {
    padding: 2rem 1.5rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .cities-grid {
    grid-template-columns: 1fr;
  }
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.mt-2 {
  margin-top: 2rem;
}

.mb-2 {
  margin-bottom: 2rem;
}

.hidden {
  display: none;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.5s ease forwards;
}