/* Astra Main Theme Styles - Simplified for Domain Investor Focus */

/* Reset and Normalize */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  margin: 0 0 1rem 0;
  font-weight: 600;
  line-height: 1.3;
  color: #1a202c;
}

p {
  margin: 0 0 1rem 0;
}

a {
  color: #2563eb;
  text-decoration: none;
  transition: color 0.15s ease-in-out;
}

a:hover {
  color: #1d4ed8;
}

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

.ast-row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -0.75rem;
}

.ast-col {
  flex: 1;
  padding: 0 0.75rem;
}

/* Header */
.site-header {
  background: #fff;
  border-bottom: 1px solid #e2e8f0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.ast-primary-header-bar {
  padding: 1rem 0;
}

.ast-builder-grid-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-branding {
  display: flex;
  align-items: center;
}

.custom-logo {
  max-height: 40px;
  width: auto;
}

/* Navigation */
.main-navigation {
  display: flex;
  align-items: center;
}

.main-header-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 2rem;
}

.menu-item {
  position: relative;
}

.menu-link {
  display: block;
  padding: 0.5rem 0;
  color: #4a5568;
  font-weight: 500;
  transition: color 0.15s ease-in-out;
}

.menu-link:hover {
  color: #2563eb;
}

/* Buttons */
.ast-custom-button {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.5rem;
  background: #2563eb;
  color: #fff;
  border: none;
  border-radius: 0.5rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.15s ease-in-out;
  cursor: pointer;
}

.ast-custom-button:hover {
  background: #1d4ed8;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

/* Content */
.site-content {
  padding: 2rem 0;
}

.entry-content {
  max-width: 100%;
}

/* Footer */
.site-footer {
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  padding: 2rem 0;
  margin-top: 4rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  align-items: center;
}

.footer-nav {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-nav a {
  color: #64748b;
  font-size: 0.875rem;
}

.footer-nav a:hover {
  color: #2563eb;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  color: #64748b;
  font-size: 0.875rem;
}

.footer-copyright {
  color: #64748b;
  font-size: 0.875rem;
  text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
  .ast-builder-grid-row {
    flex-direction: column;
    gap: 1rem;
  }
  
  .main-header-menu {
    flex-direction: column;
    gap: 1rem;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-nav {
    justify-content: center;
  }
}

/* WordPress Specific */
.wp-block-group {
  margin-bottom: 2rem;
}

.wp-block-columns {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
}

.wp-block-column {
  flex: 1;
}

@media (max-width: 768px) {
  .wp-block-columns {
    flex-direction: column;
  }
}

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

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.p-0 { padding: 0; }
.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }

.d-none { display: none; }
.d-block { display: block; }
.d-flex { display: flex; }
.d-grid { display: grid; }

.flex-column { flex-direction: column; }
.align-items-center { align-items: center; }
.justify-content-center { justify-content: center; }
.justify-content-between { justify-content: space-between; }

.w-100 { width: 100%; }
.h-100 { height: 100%; }

.bg-white { background-color: #fff; }
.bg-gray-50 { background-color: #f8fafc; }
.bg-gray-100 { background-color: #f1f5f9; }

.text-primary { color: #2563eb; }
.text-secondary { color: #64748b; }
.text-muted { color: #94a3b8; }

.border { border: 1px solid #e2e8f0; }
.border-top { border-top: 1px solid #e2e8f0; }
.border-bottom { border-bottom: 1px solid #e2e8f0; }

.rounded { border-radius: 0.5rem; }
.rounded-lg { border-radius: 0.75rem; }

.shadow-sm { box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); }
.shadow { box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06); }
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); }