/**
 * Main Stylesheet
 *
 * @package Aomo_Web
 * @since 1.0.0
 */

/* ==========================================================================
   Import Section Styles (must be at the top)
   ========================================================================== */

@import url('sections/hero.css');
@import url('sections/features.css');
@import url('sections/benefits.css');
@import url('sections/case-studies.css');
@import url('sections/testimonials.css');
@import url('sections/cta.css');
@import url('sections/features-page.css');
@import url('sections/pricing.css');
@import url('sections/contact.css');
@import url('sections/faq.css');
@import url('sections/blog.css');
@import url('sections/comments.css');
@import url('sections/lp.css');
@import url('accessibility.css');

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */

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

html {
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
}

body {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	font-size: 16px;
	line-height: 1.6;
	color: #333;
	background-color: #fff;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

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

h1, h2, h3, h4, h5, h6 {
	font-weight: 600;
	line-height: 1.2;
	margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
	margin-bottom: 1rem;
}

a {
	color: #0073aa;
	text-decoration: none;
	transition: color 0.3s ease;
}

a:hover,
a:focus {
	color: #005177;
	text-decoration: underline;
}

a:focus-visible {
	outline: 2px solid #0073aa;
	outline-offset: 2px;
	border-radius: 2px;
}

a:focus-visible {
	outline: 2px solid #0073aa;
	outline-offset: 2px;
	border-radius: 2px;
}

/* ==========================================================================
   Layout
   ========================================================================== */

.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

.site {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

.site-main {
	flex: 1;
	padding: 2rem 0;
}

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
	background-color: #fff;
	border-bottom: 1px solid #e0e0e0;
	padding: 1rem 0;
	position: sticky;
	top: 0;
	z-index: 100;
}

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

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

.site-title {
	font-size: 1.5rem;
	margin: 0;
}

.site-title a {
	color: #333;
	text-decoration: none;
}

.site-title a:hover {
	text-decoration: none;
}

.custom-logo-link {
	display: block;
}

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

/* ==========================================================================
   Navigation
   ========================================================================== */

.main-navigation {
	display: flex;
	align-items: center;
	position: relative;
}

.menu-toggle {
	display: none;
	background: none;
	border: none;
	cursor: pointer;
	padding: 0.5rem;
	flex-direction: column;
	gap: 4px;
	position: relative;
	z-index: 101;
}

.menu-toggle:focus {
	outline: 2px solid #0073aa;
	outline-offset: 2px;
}

.menu-toggle-icon {
	display: flex;
	flex-direction: column;
	gap: 4px;
	width: 24px;
	height: 18px;
	justify-content: space-between;
}

.menu-toggle-icon span {
	display: block;
	height: 2px;
	width: 100%;
	background-color: #333;
	transition: all 0.3s ease;
	border-radius: 2px;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-icon span:nth-child(1) {
	transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-icon span:nth-child(2) {
	opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-icon span:nth-child(3) {
	transform: rotate(-45deg) translate(7px, -6px);
}

.menu-toggle-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
}

#primary-menu {
	display: flex;
	list-style: none;
	gap: 2rem;
	margin: 0;
	padding: 0;
}

#primary-menu li {
	margin: 0;
	position: relative;
}

#primary-menu a {
	color: #333;
	text-decoration: none;
	font-weight: 500;
	padding: 0.5rem 0;
	display: block;
	transition: color 0.3s ease;
}

#primary-menu a:hover,
#primary-menu a:focus {
	color: #0073aa;
	text-decoration: none;
}

#primary-menu .current-menu-item > a,
#primary-menu .current_page_item > a {
	color: #0073aa;
}

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

.site-footer {
	background-color: #f5f5f5;
	border-top: 1px solid #e0e0e0;
	padding: 2rem 0;
	margin-top: auto;
}

.footer-widgets {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2rem;
	margin-bottom: 2rem;
}

.footer-widget-area {
	min-height: 1px;
}

.widget {
	margin-bottom: 1.5rem;
}

.widget-title {
	font-size: 1.25rem;
	margin-bottom: 1rem;
	font-weight: 600;
}

.site-info {
	text-align: center;
	padding-top: 1rem;
	border-top: 1px solid #e0e0e0;
	font-size: 0.875rem;
	color: #666;
}

.site-info p {
	margin-bottom: 0.5rem;
}

#footer-menu {
	display: flex;
	justify-content: center;
	list-style: none;
	gap: 1.5rem;
	margin-top: 1rem;
	padding: 0;
}

#footer-menu li {
	margin: 0;
}

#footer-menu a {
	color: #666;
	text-decoration: none;
}

#footer-menu a:hover {
	color: #0073aa;
	text-decoration: underline;
}

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

.entry-header {
	margin-bottom: 1.5rem;
}

.entry-title {
	margin-bottom: 0.5rem;
}

.entry-meta {
	font-size: 0.875rem;
	color: #666;
	display: flex;
	gap: 1rem;
}

.post-thumbnail {
	margin-bottom: 1.5rem;
}

.post-thumbnail img {
	width: 100%;
	height: auto;
	display: block;
}

.entry-content {
	margin-bottom: 1.5rem;
}

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

.read-more {
	display: inline-block;
	margin-top: 1rem;
	padding: 0.5rem 1.5rem;
	background-color: #0073aa;
	color: #fff;
	border-radius: 4px;
	text-decoration: none;
	transition: background-color 0.3s ease;
}

.read-more:hover {
	background-color: #005177;
	text-decoration: none;
	color: #fff;
}

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

@media (max-width: 768px) {
	.site-header-inner {
		flex-wrap: wrap;
	}

	.menu-toggle {
		display: flex;
	}

	#primary-menu {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background-color: #fff;
		flex-direction: column;
		padding: 1rem;
		border-top: 1px solid #e0e0e0;
		box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
		gap: 0;
		width: 100%;
		z-index: 100;
	}

	#primary-menu.active {
		display: flex;
	}

	#primary-menu li {
		width: 100%;
		border-bottom: 1px solid #f0f0f0;
	}

	#primary-menu li:last-child {
		border-bottom: none;
	}

	#primary-menu a {
		padding: 1rem 0;
	}

	.footer-widgets {
		grid-template-columns: 1fr;
	}

	#footer-menu {
		flex-direction: column;
		gap: 0.5rem;
	}

	h1 { font-size: 2rem; }
	h2 { font-size: 1.75rem; }
	h3 { font-size: 1.5rem; }

	.container {
		padding: 0 15px;
	}
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
}

.skip-link {
	position: absolute;
	top: -40px;
	left: 0;
	background-color: #000;
	color: #fff;
	padding: 0.5rem 1rem;
	text-decoration: none;
	z-index: 999;
}

.skip-link:focus {
	top: 0;
}
