/**
 * Hook Footer Styles
 * 
 * @package Hook
 * @since 1.0.0
 */

/*-----------------------------------------------------------------------------------*/
/* Footer Base
/*-----------------------------------------------------------------------------------*/

.hook-footer {
	background-color: #002366;
	color: #ffffff;
	padding: 0;
	width: 100%;
	overflow-x: hidden; /* Prevent horizontal scroll */
}

.hook-footer .footer-inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 60px 20px 30px;
	width: 100%;
	box-sizing: border-box;
}

/*-----------------------------------------------------------------------------------*/
/* Footer Widgets - 5 Column Layout
/*-----------------------------------------------------------------------------------*/

.hook-footer .footer-widgets {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 40px;
	margin-bottom: 40px;
	width: 100%;
	box-sizing: border-box;
}

.hook-footer .footer-column {
	min-width: 0; /* Prevents grid blowout */
	width: 100%;
	box-sizing: border-box;
}

/* Column Titles */
.hook-footer .footer-column-title {
	color: #ffffff;
	font-size: 16px;
	font-weight: 600;
	margin: 0 0 20px 0;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

/* Footer Menus */
.hook-footer .footer-menu-wrapper {
	margin: 0;
}

.hook-footer .footer-menu {
	list-style: none;
	margin: 0;
	padding: 0;
}

.hook-footer .footer-menu li {
	margin: 0 0 12px 0;
}

.hook-footer .footer-menu li:last-child {
	margin-bottom: 0;
}

.hook-footer .footer-menu a {
	color: #cccccc;
	text-decoration: none;
	font-size: 14px;
	line-height: 1.6;
	transition: color 0.3s ease;
	display: inline-block;
}

.hook-footer .footer-menu a:hover {
	color: #ffffff;
}

/*-----------------------------------------------------------------------------------*/
/* Footer Logo & Contact Column (Column 3 - No Title)
/*-----------------------------------------------------------------------------------*/

.hook-footer .footer-logo-contact {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.hook-footer .footer-logo {
	margin-bottom: 10px;
}

.hook-footer .footer-logo img {
	max-height: 60px;
	width: auto;
	height: auto;
}

.hook-footer .footer-logo .custom-logo-link {
	display: inline-block;
	line-height: 0;
}

.hook-footer .footer-logo .custom-logo {
	filter: brightness(0) invert(1); /* Makes logo white */
	max-height: 60px;
	width: auto;
}

.hook-footer .footer-contact-info {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.hook-footer .footer-phone,
.hook-footer .footer-email {
	font-size: 14px;
	line-height: 1.6;
}

.hook-footer .footer-phone a,
.hook-footer .footer-email a {
	color: #cccccc;
	text-decoration: none;
	transition: color 0.3s ease;
}

.hook-footer .footer-phone a:hover,
.hook-footer .footer-email a:hover {
	color: #ffffff;
}

/*-----------------------------------------------------------------------------------*/
/* Footer Copyright
/*-----------------------------------------------------------------------------------*/

.hook-footer .footer-copyright {
	border-top: 1px solid #333333;
	padding-top: 30px;
    margin: 0 auto;
}

.hook-footer .footer-copyright-inner {
	max-width: 1200px;
	margin: 0 auto;
	text-align: center;
}

.hook-footer .copyright-text {
	color: #999999;
	font-size: 14px;
	margin: 0;
	line-height: 1.6;
}

.hook-footer .copyright-text a {
	color: #cccccc;
	text-decoration: none;
	transition: color 0.3s ease;
}

.hook-footer .copyright-text a:hover {
	color: #ffffff;
	text-decoration: underline;
}

/*-----------------------------------------------------------------------------------*/
/* Footer Widgets (if any added to sidebar)
/*-----------------------------------------------------------------------------------*/

.hook-footer .footer-widget {
	margin-bottom: 20px;
}

.hook-footer .footer-widget:last-child {
	margin-bottom: 0;
}

.hook-footer .footer-widget-title {
	color: #ffffff;
	font-size: 16px;
	font-weight: 600;
	margin: 0 0 20px 0;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.hook-footer .footer-widget ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.hook-footer .footer-widget li {
	margin: 0 0 12px 0;
}

.hook-footer .footer-widget a {
	color: #cccccc;
	text-decoration: none;
	font-size: 14px;
	transition: color 0.3s ease;
}

.hook-footer .footer-widget a:hover {
	color: #ffffff;
}

/*-----------------------------------------------------------------------------------*/
/* Responsive Design
/*-----------------------------------------------------------------------------------*/

/* Large Desktop - 1200px+ (5 columns) */
@media (min-width: 1200px) {
	.hook-footer .footer-widgets {
		grid-template-columns: repeat(5, 1fr);
	}
}

/* Desktop - 992px to 1199px (4 columns + centered logo) */
@media (min-width: 992px) and (max-width: 1199px) {
	.hook-footer .footer-widgets {
		grid-template-columns: repeat(4, 1fr);
		gap: 30px;
	}
	
	.hook-footer .footer-logo-contact {
		grid-column: 1 / -1;
		text-align: center;
		align-items: center;
		margin-bottom: 20px;
	}
}

/* Tablet - 768px to 991px (3 columns) */
@media (min-width: 768px) and (max-width: 991px) {
	.hook-footer .footer-widgets {
		grid-template-columns: repeat(3, 1fr);
		gap: 30px;
	}
	
	.hook-footer .footer-logo-contact {
		grid-column: 1 / -1;
		text-align: center;
		align-items: center;
		margin-bottom: 20px;
	}
	
	.hook-footer .footer-inner {
		padding: 50px 20px 30px;
	}
}

/* Small Tablet - 576px to 767px (2 columns) */
@media (min-width: 576px) and (max-width: 767px) {
	.hook-footer .footer-widgets {
		grid-template-columns: repeat(2, 1fr);
		gap: 30px;
	}
	
	.hook-footer .footer-logo-contact {
		grid-column: 1 / -1;
		text-align: center;
		align-items: center;
		margin-bottom: 20px;
	}
	
	.hook-footer .footer-inner {
		padding: 40px 20px 30px;
	}
	
	.hook-footer .footer-column-title {
		font-size: 15px;
		margin-bottom: 15px;
	}
}

/* Mobile - max 575px (1 column, stacked) */
@media (max-width: 575px) {
	.hook-footer .footer-widgets {
		grid-template-columns: 1fr;
		gap: 40px;
		width: 100%;
	}
	
	.hook-footer .footer-inner {
		padding: 40px 15px 20px;
		width: 100%;
	}
	
	.hook-footer .footer-column {
		text-align: center;
		width: 100%;
		max-width: 100%;
	}
	
	.hook-footer .footer-logo-contact {
		align-items: center;
		text-align: center;
		width: 100%;
	}
	
	.hook-footer .footer-column-title {
		font-size: 15px;
		margin-bottom: 15px;
		width: 100%;
	}
	
	.hook-footer .footer-menu {
		display: flex;
		flex-direction: column;
		align-items: center;
		width: 100%;
	}
	
	.hook-footer .footer-menu li {
		width: 100%;
	}
	
	.hook-footer .footer-contact-info {
		width: 100%;
		align-items: center;
	}
	
	.hook-footer .footer-copyright {
		padding-top: 20px;
	}
	
	.hook-footer .copyright-text {
		font-size: 13px;
	}
}

/*-----------------------------------------------------------------------------------*/
/* Accessibility
/*-----------------------------------------------------------------------------------*/

.hook-footer a:focus {
	outline: 2px solid #ffffff;
	outline-offset: 2px;
}

/* Skip to Content Link */
.skip-link {
	background-color: #f1f1f1;
	box-shadow: 0 0 1px 1px rgba(0, 0, 0, 0.2);
	color: #21759b;
	display: block;
	font-family: "Montserrat", "Helvetica Neue", sans-serif;
	font-size: 14px;
	font-weight: 700;
	left: -9999em;
	outline: none;
	padding: 15px 23px 14px;
	text-decoration: none;
	text-transform: none;
	top: -9999em;
}

.skip-link:focus {
	clip: auto;
	height: auto;
	left: 6px;
	top: 7px;
	width: auto;
	z-index: 100000;
}

/*-----------------------------------------------------------------------------------*/
/* Print Styles
/*-----------------------------------------------------------------------------------*/

@media print {
	.hook-footer {
		background: #ffffff;
		color: #000000;
		border-top: 1px solid #000000;
	}
	
	.hook-footer .footer-menu a,
	.hook-footer .footer-contact-info a {
		color: #000000;
	}
	
	.hook-footer .footer-logo .custom-logo {
		filter: none;
	}
}