@font-face {
	font-family: 'texasfont';
	src: url('/assets/fonts/global/texas.otf') format('opentype');
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: "palletsfont";
	src: url("https://db.onlinewebfonts.com/t/72803572ce1c934c740e042bee4adbce.eot");
	src: url("https://db.onlinewebfonts.com/t/72803572ce1c934c740e042bee4adbce.eot?#iefix")format("embedded-opentype"),
		url("https://db.onlinewebfonts.com/t/72803572ce1c934c740e042bee4adbce.woff2")format("woff2"),
		url("https://db.onlinewebfonts.com/t/72803572ce1c934c740e042bee4adbce.woff")format("woff"),
		url("https://db.onlinewebfonts.com/t/72803572ce1c934c740e042bee4adbce.ttf")format("truetype"),
		url("https://db.onlinewebfonts.com/t/72803572ce1c934c740e042bee4adbce.svg#Kresson W90 Black Italic")format("svg");
}

:root {
	--primary-color: #003366;
	--secondary-color: #1E5A99;
	--accent-color: #F39C12;
	--dark-red: #9e1b1e;
	--text-dark: #2c3e50;
	--text-light: #5d6d7e;
	--bg-light: #f8f9fa;
	--bg-white: #ffffff;
	--border-color: #dee2e6;
	--box-shadow: 0 4px 15px rgba(0, 0, 0, 0.07);
	--transition-speed: 0.3s;
	--border-radius: 8px;
	--font-family: 'Roboto', sans-serif;
	--heading-font: 'texasfont', serif;
	--pallets-font: 'palletsfont', sans-serif;
}

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

html {
	scroll-behavior: smooth;
	font-size: 16px;
}

body {
	font-family: var(--font-family);
	line-height: 1.7;
	color: var(--text-dark);
	background-color: var(--bg-white);
	-webkit-font-smoothing: antialiased;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: var(--secondary-color);
	text-decoration: none;
	transition: color var(--transition-speed) ease;
}

a:hover {
	color: var(--primary-color);
}

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

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

.text-center {
	text-align: center;
}

.bg-light {
	background-color: var(--bg-light);
}

.header {
	user-select: none;
	background-color: rgba(255, 255, 255, 0.9);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	padding: 0.75rem 0;
	position: fixed;
	width: 100%;
	top: 0;
	z-index: 1000;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

main {
	padding-top: 95px;
}

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

.logo-container {
	display: flex;
	align-items: center;
	gap: 15px;
	text-decoration: none;
}

.logo-container img {
	max-height: 60px;
}

.business-name {
	font-size: 2.5rem;
	line-height: 1;
	margin: 0;
	color: var(--primary-color);
}

.business-name .texas {
	font-family: var(--heading-font);
}

.business-name .pallets {
	font-family: var(--pallets-font);
	font-size: 2.2rem;
	color: var(--dark-red);
}

.tagline {
	font-size: 0.8rem;
	color: var(--text-light);
	margin-top: 2px;
}

.header-logo-right img {
	max-height: 60px;
}

.nav-list {
	list-style: none;
	display: flex;
	gap: 10px;
}

.nav-link {
	position: relative;
	color: var(--text-dark);
	font-weight: 700;
	padding: 10px 15px;
	border-radius: var(--border-radius);
	transition: color var(--transition-speed) ease;
}

.nav-link::after {
	content: '';
	position: absolute;
	width: 0;
	height: 3px;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	background-color: var(--accent-color);
	transition: width var(--transition-speed) ease;
}

.nav-link:hover,
.nav-link.active {
	color: var(--primary-color);
}

.nav-link:hover::after,
.nav-link.active::after {
	width: 100%;
}

.hamburger {
	display: none;
	cursor: pointer;
	background: none;
	border: none;
	z-index: 1001;
	padding: 10px;
}

.hamburger span {
	display: block;
	width: 25px;
	height: 3px;
	margin: 5px 0;
	background-color: var(--primary-color);
	transition: all 0.3s ease-in-out;
}

.hamburger.active span:nth-child(1) {
	transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
	opacity: 0;
}

.hamburger.active span:nth-child(3) {
	transform: rotate(-45deg) translate(7px, -6px);
}

.page-hero {
	padding: 0;
	position: relative;
}

.page-hero-short {
	padding: 80px 20px;
	text-align: center;
	color: var(--bg-white);
	background-size: cover;
	background-position: center;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 350px;
}

.page-hero-short::before,
.carousel-item::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6));
}

.page-hero-content {
	position: relative;
	z-index: 2;
	max-width: 800px;
	text-align: center;
}

.page-hero-content h1 {
	font-size: 3rem;
	text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.page-hero-content p {
	font-size: 1.3rem;
	color: rgba(255, 255, 255, 0.9);
}

.carousel {
	width: 100%;
	height: 550px;
	overflow: hidden;
	position: relative;
}

.carousel-inner {
	display: flex;
	height: 100%;
	transition: transform 0.7s ease-in-out;
}

.carousel-item {
	min-width: 100%;
	height: 100%;
	position: relative;
	background-size: cover;
	background-position: center;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
}

.carousel-caption {
	position: relative;
	z-index: 2;
	color: var(--bg-white);
	max-width: 800px;
	padding: 20px;
}

.carousel-caption h2 {
	font-size: 2.5rem;
	text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
	margin-bottom: 1rem;
}

.carousel-caption p {
	font-size: 1.3rem;
	color: rgba(255, 255, 255, 0.9);
}

.carousel-control {
	position: absolute;
	top: 50%;
	background: transparent;
	transform: translateY(-50%);
	color: white;
	border: none;
	cursor: pointer;
	z-index: 10;
	font-size: 2rem;
	width: 50px;
	height: 50px;
	transition: background-color var(--transition-speed);
}


.prev {
	left: 20px;
}

.next {
	right: 20px;
}

.content-section {
	padding: 80px 0;
}

.content-section h2 {
	font-size: 2.8rem;
	color: var(--primary-color);
	margin-bottom: 25px;
	position: relative;
	display: inline-block;
	padding-bottom: 10px;
}

.content-section .text-center h2::after {
	content: '';
	position: absolute;
	width: 60%;
	height: 4px;
	bottom: 0;
	left: 20%;
	background-color: var(--accent-color);
}

.content-section p {
	font-size: 1.1rem;
	color: var(--text-light);
	max-width: 800px;
	margin: 0 auto 1.5rem auto;
	text-align: justify;
}

.content-image-full-width {
	border-radius: var(--border-radius);
	box-shadow: var(--box-shadow);
	margin-top: 2rem;
	width: 100%;
}

.content-image-small {
	max-width: 300px;
	margin: 1rem auto;
	border-radius: var(--border-radius);
}

.vision-mission-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 60px;
}

.customer-logo-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
	gap: 30px;
	align-items: center;
	margin-top: 2rem;
}

.customer-logo-grid img {
	opacity: 0.8;
}

.customer-logo-grid img:hover {
	opacity: 1;
}

.image-gallery {
	display: flex;
	flex-wrap: nowrap;
	gap: 1rem;
	margin-top: 2rem;
	justify-content: center;
	align-items: flex-start;
}

.image-gallery img {
	flex: 1;
	max-width: 400px;
	height: auto;
	border-radius: var(--border-radius);
	box-shadow: var(--box-shadow);
}

.table-container {
	overflow-x: auto;
	margin-top: 2rem;
	box-shadow: var(--box-shadow);
	border-radius: var(--border-radius);
}

.products-table {
	width: 100%;
	border-collapse: collapse;
}

.products-table thead {
	background-color: var(--primary-color);
	color: var(--bg-white);
}

.products-table th,
.products-table td {
	padding: 15px 20px;
	text-align: left;
	border-bottom: 1px solid var(--border-color);
}

.products-table tbody tr:nth-child(even) {
	background-color: var(--bg-light);
}

.products-table tbody tr:last-child td {
	border-bottom: none;
}

.products-table tbody tr:hover {
	background-color: #e9ecef;
}

.highlight-heading {
	background-color: var(--accent-color);
	color: var(--bg-white);
	padding: 10px 20px;
	border-radius: var(--border-radius);
}

.product-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 2rem;
}

.product-card {
	background-color: var(--bg-light);
	border-radius: var(--border-radius);
	overflow: hidden;
	box-shadow: var(--box-shadow);
	transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

.product-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.product-card img {
	width: 100%;
	height: 250px;
	object-fit: scale-down;
}

.product-card-content {
	padding: 1.5rem;
}

.product-card-content h3 {
	color: var(--primary-color);
	margin-bottom: 1rem;
}

.product-card-content p {
	font-size: 1rem;
	margin-bottom: 0;
}

.contact-grid {
	display: grid;
	grid-template-columns: 2fr 1fr;
	gap: 60px;
	margin-top: 40px;
}

.contact-form-container h3,
.contact-info-container h3 {
	font-size: 1.8rem;
	text-align: left;
}

.form-group {
	margin-bottom: 20px;
}

.form-group label {
	display: block;
	margin-bottom: 8px;
	font-weight: 700;
	color: var(--text-dark);
}

.form-group input,
.form-group textarea {
	width: 100%;
	padding: 15px;
	border: 1px solid var(--border-color);
	border-radius: var(--border-radius);
	font-family: var(--font-family);
	font-size: 1rem;
	background-color: var(--bg-white);
	transition: all var(--transition-speed) ease;
}

.form-group input:focus,
.form-group textarea:focus {
	outline: none;
	border-color: var(--accent-color);
	box-shadow: 0 0 0 3px rgba(243, 156, 18, 0.2);
}

.btn-submit,
.cta-button {
	display: inline-block;
	font-weight: 700;
	color: var(--bg-white);
	background: linear-gradient(45deg, var(--secondary-color), var(--primary-color));
	border: none;
	border-radius: var(--border-radius);
	cursor: pointer;
	text-decoration: none;
	padding: 15px 30px;
	font-size: 1.1rem;
	box-shadow: 0 4px 10px rgba(0, 51, 102, 0.2);
	transition: all var(--transition-speed) ease;
}

.btn-submit {
	width: 100%;
}

.btn-submit:hover,
.cta-button:hover {
	transform: translateY(-3px);
	box-shadow: 0 7px 15px rgba(0, 51, 102, 0.3);
	color: var(--bg-white);
}

.cta-button {
	margin-top: 2rem;
}

.contact-details {
	list-style: none;
	padding: 0;
	margin: 0 0 2rem 0;
}

.contact-details li {
	padding: 15px 0;
	border-bottom: 1px solid var(--border-color);
}

.contact-details li:last-child {
	border-bottom: none;
}

.contact-details strong {
	color: var(--primary-color);
	margin-bottom: 5px;
	font-size: 1.1rem;
	display: block;
}

.contact-details span {
	color: var(--text-light);
}

.contact-details a:hover {
	text-decoration: underline;
}

.map {
	width: 100%;
	height: 300px;
	border-radius: var(--border-radius);
	box-shadow: var(--box-shadow);
	z-index: 5;
}

.footer {
	background-color: var(--text-dark);
	color: #bdc3c7;
	text-align: center;
	padding: 40px 20px;
	margin-top: 60px;
}

.footer a {
	color: var(--bg-white);
	font-weight: bold;
}

.footer a:hover {
	color: var(--accent-color);
}

@media (max-width: 992px) {
	main {
		padding-top: 85px;
	}

	.business-name {
		font-size: 2rem;
	}

	.business-name .pallets {
		font-size: 1.8rem;
	}

	.header-logo-right {
		display: none;
	}

	.vision-mission-grid,
	.contact-grid,
	.product-grid {
		grid-template-columns: 1fr;
	}

	.contact-info-container {
		margin-top: 40px;
	}

	.carousel {
		height: 450px;
	}

	.carousel-caption h2 {
		font-size: 2.5rem;
	}

	.page-hero-content h1 {
		font-size: 2.5rem;
	}
}

@media (max-width: 768px) {
	.header-top {
		flex-wrap: wrap;
		justify-content: space-between;
	}

	.logo-container {
		order: 1;
	}

	.hamburger {
		display: block;
		order: 2;
	}

	.nav {
		display: none;
		order: 3;
		width: 100%;
		max-height: 0;
		overflow: hidden;
		background-color: var(--bg-white);
		box-shadow: 0 3px 5px rgba(0, 0, 0, 0.1);
		transition: max-height 0.5s ease-in-out;
	}

	.nav.active {
		display: block;
		max-height: 400px;
	}

	.nav-list {
		flex-direction: column;
		padding: 20px 0;
		align-items: center;
	}

	.nav-item {
		margin: 10px 0;
	}

	.header-logo-right {
		display: none;
	}

	.content-section h2 {
		font-size: 2.2rem;
	}

	.carousel {
		height: 400px;
	}

	.carousel-caption h2 {
		font-size: 2rem;
	}

	.carousel-caption p {
		font-size: 1.1rem;
		display: none;
	}

	.carousel-control {
		display: none;
	}

	.page-hero-short {
		min-height: 250px;
	}

	.page-hero-content h1 {
		font-size: 2rem;
	}

	.customer-logo-grid {
		grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
		gap: 20px;
	}

	.image-gallery {
		flex-direction: column;
		align-items: center;
	}

	.image-gallery img {
		max-width: 80%;
	}

	.products-table thead {
		display: none;
	}

	.products-table tr {
		display: block;
		margin-bottom: 1rem;
		border: 1px solid var(--border-color);
		border-radius: var(--border-radius);
	}

	.products-table td {
		display: flex;
		justify-content: space-between;
		text-align: right;
		padding: 10px 15px;
		border-bottom: 1px solid var(--border-color);
	}

	.products-table td::before {
		content: attr(data-label);
		font-weight: bold;
		color: var(--primary-color);
		margin-right: 1rem;
	}

	.products-table tr td:last-child {
		border-bottom: none;
	}
}