/**
 * Layout Stylesheet
 * 
 * Layout-specific styles for header, footer, and main content areas.
 *
 * @package TabcomGroup
 */

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

.site-header {
	background-color: transparent;
	border-bottom: none;
	padding: 0;
}

.site-header__container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	max-width: var(--wp--custom--containerWidth, 1200px);
	margin: 0 auto;
	padding: 0 var(--wp--preset--spacing--md, 1rem);
}

.site-header__branding {
	flex-shrink: 0;
}

.site-title {
	margin: 0;
	font-size: var(--wp--preset--font-size--xl);
}

.site-title a {
	color: var(--wp--preset--color--primary);
	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;
}

.menu-toggle {
	display: none;
	background: none;
	border: none;
	padding: 0.5rem;
	cursor: pointer;
}

.menu-toggle__icon {
	display: block;
	width: 24px;
	height: 2px;
	background-color: var(--wp--preset--color--primary);
	position: relative;
}

.menu-toggle__icon::before,
.menu-toggle__icon::after {
	content: '';
	display: block;
	width: 24px;
	height: 2px;
	background-color: var(--wp--preset--color--primary);
	position: absolute;
	left: 0;
	transition: transform 0.3s ease;
}

.menu-toggle__icon::before {
	top: -8px;
}

.menu-toggle__icon::after {
	bottom: -8px;
}

.primary-menu {
	display: flex;
	list-style: none;
	margin: 0;
	padding: 0;
	gap: var(--wp--preset--spacing--lg, 1.5rem);
}

.primary-menu a {
	color: var(--wp--preset--color--primary);
	text-decoration: none;
	font-weight: 500;
}

.primary-menu a:hover {
	text-decoration: underline;
}

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

.site-main {
	padding: var(--wp--preset--spacing--xl, 2rem) 0;
}

.entry-header {
	margin-bottom: var(--wp--preset--spacing--xl, 2rem);
}

.entry-title {
	margin-bottom: var(--wp--preset--spacing--md, 1rem);
}

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

.entry-content > * {
	margin-bottom: var(--wp--preset--spacing--md, 1rem);
}

.entry-content > *:last-child {
	margin-bottom: 0;
}

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

/* Footer styles are now in footer.css */
/* These styles are kept for backward compatibility but footer.css takes precedence */

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

@media (max-width: 768px) {
	.menu-toggle {
		display: block;
	}

	.primary-menu {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background-color: var(--wp--preset--color--white);
		flex-direction: column;
		padding: var(--wp--preset--spacing--md, 1rem);
		box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
	}

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

	.site-header__container {
		position: relative;
	}
}



