/**
 * Custom Typography & Styling
 * Professional sans-serif fonts with black background
 */

/* ==========================================
   Global Styles - Black Background
   ========================================== */

body {
	background-color: #000000 !important;
	color: #ffffff !important;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, sans-serif !important;
	font-size: 16px;
	line-height: 1.6;
	font-weight: 400;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

/* Container backgrounds */
.site,
.site-content,
.ast-container,
.entry-content,
article,
.site-main {
	background-color: transparent !important;
}

/* ==========================================
   Typography - Headings
   ========================================== */

h1, h2, h3, h4, h5, h6,
.entry-title,
.site-title {
	font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
	color: #ffffff !important;
	font-weight: 700;
	line-height: 1.2;
	margin-bottom: 0.75em;
	letter-spacing: -0.02em;
}

h1, .entry-title {
	font-size: 2.5rem;
	font-weight: 800;
	letter-spacing: -0.03em;
}

h2 {
	font-size: 2rem;
	font-weight: 700;
}

h3 {
	font-size: 1.5rem;
	font-weight: 700;
}

h4 {
	font-size: 1.25rem;
	font-weight: 600;
}

h5 {
	font-size: 1.125rem;
	font-weight: 600;
}

h6 {
	font-size: 1rem;
	font-weight: 600;
}

/* ==========================================
   Typography - Body Text
   ========================================== */

p {
	font-family: 'Inter', sans-serif !important;
	color: #e0e0e0 !important;
	font-size: 16px;
	line-height: 1.7;
	margin-bottom: 1.5em;
}

/* Links */
a {
	color: #60a5fa !important;
	text-decoration: none;
	transition: color 0.2s ease;
}

a:hover {
	color: #93c5fd !important;
	text-decoration: underline;
}

/* Strong/Bold text */
strong, b {
	font-weight: 600;
	color: #ffffff !important;
}

/* Emphasis */
em, i {
	font-style: italic;
}

/* ==========================================
   Lists
   ========================================== */

ul, ol {
	color: #e0e0e0 !important;
	font-family: 'Inter', sans-serif !important;
	line-height: 1.7;
	margin-bottom: 1.5em;
}

li {
	margin-bottom: 0.5em;
	color: #e0e0e0 !important;
}

/* ==========================================
   Header & Navigation
   ========================================== */

.site-header,
.main-header-bar {
	background-color: #000000 !important;
	border-bottom: 1px solid #333333;
}

.site-title a,
.site-description {
	color: #ffffff !important;
}

/* Navigation menu */
.main-header-menu,
.main-navigation {
	background-color: transparent !important;
}

.main-header-menu a,
.main-navigation a {
	color: #e0e0e0 !important;
	font-family: 'Inter', sans-serif !important;
	font-weight: 500;
}

.main-header-menu a:hover,
.main-navigation a:hover {
	color: #ffffff !important;
}

/* ==========================================
   Content Areas
   ========================================== */

.entry-content,
.page-content {
	color: #e0e0e0 !important;
}

/* Blockquotes */
blockquote {
	border-left: 4px solid #60a5fa;
	padding-left: 1.5em;
	margin: 1.5em 0;
	color: #ffffff !important;
	font-style: italic;
	background-color: rgba(96, 165, 250, 0.1);
	padding: 1em 1.5em;
}

/* Code blocks */
code, pre {
	font-family: 'Courier New', Courier, monospace !important;
	background-color: #1a1a1a !important;
	color: #60a5fa !important;
	border: 1px solid #333333;
	border-radius: 4px;
}

code {
	padding: 0.2em 0.4em;
	font-size: 0.9em;
}

pre {
	padding: 1em;
	overflow-x: auto;
	line-height: 1.5;
}

/* ==========================================
   Buttons & Forms
   ========================================== */

button,
.button,
.ast-button,
input[type="submit"],
input[type="button"] {
	background-color: #60a5fa !important;
	color: #000000 !important;
	font-family: 'Inter', sans-serif !important;
	font-weight: 600;
	border: none;
	padding: 0.75em 1.5em;
	border-radius: 4px;
	cursor: pointer;
	transition: background-color 0.2s ease;
}

button:hover,
.button:hover,
.ast-button:hover,
input[type="submit"]:hover,
input[type="button"]:hover {
	background-color: #3b82f6 !important;
}

/* Form inputs */
input[type="text"],
input[type="email"],
input[type="url"],
input[type="tel"],
input[type="number"],
input[type="date"],
textarea,
select {
	background-color: #1a1a1a !important;
	color: #ffffff !important;
	border: 1px solid #333333 !important;
	padding: 0.75em;
	font-family: 'Inter', sans-serif !important;
	border-radius: 4px;
}

input::placeholder,
textarea::placeholder {
	color: #666666 !important;
}

/* ==========================================
   Footer
   ========================================== */

.site-footer {
	background-color: #000000 !important;
	color: #e0e0e0 !important;
	border-top: 1px solid #333333;
	padding: 2em 0;
}

.site-footer a {
	color: #60a5fa !important;
}

.footer-widget-area h2,
.footer-widget-area h3 {
	color: #ffffff !important;
}

/* ==========================================
   Widgets & Sidebar
   ========================================== */

.widget {
	background-color: transparent !important;
	color: #e0e0e0 !important;
}

.widget-title {
	color: #ffffff !important;
	font-family: 'Poppins', sans-serif !important;
	font-weight: 600;
}

.widget a {
	color: #60a5fa !important;
}

.widget ul li {
	color: #e0e0e0 !important;
}

/* ==========================================
   Tables
   ========================================== */

table {
	border-collapse: collapse;
	width: 100%;
	margin-bottom: 1.5em;
	background-color: transparent !important;
}

th {
	background-color: #1a1a1a !important;
	color: #ffffff !important;
	font-weight: 600;
	padding: 0.75em;
	border: 1px solid #333333;
	text-align: left;
}

td {
	color: #e0e0e0 !important;
	padding: 0.75em;
	border: 1px solid #333333;
}

tr:nth-child(even) {
	background-color: rgba(255, 255, 255, 0.02) !important;
}

/* ==========================================
   Responsive Typography
   ========================================== */

@media (max-width: 768px) {
	body {
		font-size: 15px;
	}

	h1, .entry-title {
		font-size: 2rem;
	}

	h2 {
		font-size: 1.75rem;
	}

	h3 {
		font-size: 1.375rem;
	}

	h4 {
		font-size: 1.125rem;
	}
}

/* ==========================================
   Accessibility & Contrast
   ========================================== */

/* Ensure focus states are visible */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
	outline: 2px solid #60a5fa;
	outline-offset: 2px;
}

/* High contrast for important elements */
.entry-title a,
.post-title a {
	color: #ffffff !important;
}

.entry-title a:hover,
.post-title a:hover {
	color: #60a5fa !important;
}
