/**
 * Custom Styles for Hello Elementor Child Theme
 * 
 * Table of Contents:
 * 1. Variables & Global Styles
 * 2. Typography
 * 3. Header & Navigation
 * 4. Content Areas
 * 5. Footer
 * 6. Components
 * 7. Responsive Design
 */

/* ========================================
   1. Variables & Global Styles
   ======================================== */
:root {
	--primary-color: #0073aa;
	--secondary-color: #23282d;
	--accent-color: #f0f0f1;
	--text-color: #1e1e1e;
	--border-color: #dcdcde;
	--spacing-small: 10px;
	--spacing-medium: 20px;
	--spacing-large: 40px;
	--font-primary: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

* {
	box-sizing: border-box;
}

body {
	font-family: var(--font-primary);
	color: var(--text-color);
	line-height: 1.6;
}

.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 var(--spacing-medium);
}

/* ========================================
   2. Typography
   ======================================== */
h1, h2, h3, h4, h5, h6 {
	margin-top: 0;
	margin-bottom: var(--spacing-medium);
	line-height: 1.2;
	font-weight: 600;
}

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: var(--spacing-small);
}

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

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

/* ========================================
   3. Header & Navigation
   ======================================== */
.site-header {
	background: #fff;
	border-bottom: 1px solid var(--border-color);
	padding: var(--spacing-medium) 0;
}

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

.site-logo img {
	max-height: 50px;
	width: auto;
}

.main-navigation ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: var(--spacing-medium);
}

.main-navigation a {
	color: var(--text-color);
	font-weight: 500;
	padding: var(--spacing-small);
}

.main-navigation a:hover {
	color: var(--primary-color);
	text-decoration: none;
}

/* ========================================
   4. Content Areas
   ======================================== */
.content-area {
	padding: var(--spacing-large) 0;
}

.entry-content {
	max-width: 800px;
}

.entry-header {
	margin-bottom: var(--spacing-large);
}

.entry-title {
	margin-bottom: var(--spacing-small);
}

.entry-meta {
	color: #666;
	font-size: 0.9rem;
	margin-bottom: var(--spacing-medium);
}

/* ========================================
   5. Footer
   ======================================== */
.site-footer {
	background: var(--secondary-color);
	color: #fff;
	padding: var(--spacing-large) 0 var(--spacing-medium);
	margin-top: var(--spacing-large);
}

.footer-widgets {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: var(--spacing-large);
	margin-bottom: var(--spacing-large);
}

.footer-widget h4 {
	color: #fff;
	margin-bottom: var(--spacing-medium);
}

.footer-bottom {
	text-align: center;
	padding-top: var(--spacing-medium);
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ========================================
   6. Components
   ======================================== */
.button,
.wp-block-button__link {
	display: inline-block;
	padding: 12px 24px;
	background: var(--primary-color);
	color: #fff;
	border-radius: 4px;
	font-weight: 500;
	transition: background 0.3s ease;
}

.button:hover,
.wp-block-button__link:hover {
	background: var(--secondary-color);
	color: #fff;
	text-decoration: none;
}

.social-links {
	display: flex;
	gap: var(--spacing-small);
}

.social-link {
	display: inline-block;
	padding: 8px 12px;
	background: rgba(255, 255, 255, 0.1);
	color: #fff;
	border-radius: 4px;
	transition: background 0.3s ease;
}

.social-link:hover {
	background: var(--primary-color);
	color: #fff;
	text-decoration: none;
}

/* Widget Styles */
.widget {
	margin-bottom: var(--spacing-large);
}

.widget-title {
	margin-bottom: var(--spacing-medium);
	padding-bottom: var(--spacing-small);
	border-bottom: 2px solid var(--primary-color);
}

/* Forms */
input[type="text"],
input[type="email"],
input[type="url"],
input[type="tel"],
input[type="search"],
textarea,
select {
	width: 100%;
	padding: 10px;
	border: 1px solid var(--border-color);
	border-radius: 4px;
	font-family: var(--font-primary);
	font-size: 1rem;
}

input[type="submit"] {
	cursor: pointer;
}

/* ========================================
   7. Responsive Design
   ======================================== */
@media (max-width: 768px) {
	h1 { font-size: 2rem; }
	h2 { font-size: 1.75rem; }
	h3 { font-size: 1.5rem; }
	
	.header-inner {
		flex-direction: column;
		gap: var(--spacing-medium);
	}
	
	.main-navigation ul {
		flex-direction: column;
		text-align: center;
	}
	
	.footer-widgets {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 480px) {
	:root {
		--spacing-large: 30px;
		--spacing-medium: 15px;
	}
	
	.container {
		padding: 0 var(--spacing-small);
	}
}