/* Highway2 Tractors - Custom Styles (Rood-Zwart Theme) */

:root {
	--primary-color: #650004;
	--secondary-color: #000000;
	--accent-color: #f5a623;
	--light-color: #f8f9fa;
	--dark-color: #212529;
	--text-color: #333333;
	--text-light: #6c757d;
	--border-color: #dee2e6;
	--shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
	--shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.15);
}

body {
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	background-color: var(--light-color);
	color: var(--text-color);
	line-height: 1.6;
}

/* Navbar - WIT met zwarte tekst */
.navbar {
	background-color: white;
	box-shadow: var(--shadow);
	padding: 1rem 0;
	transition: all 0.3s ease;
}

.navbar.scrolled {
	padding: 0.5rem 0;
	box-shadow: var(--shadow-lg);
}

.navbar-brand img {
	max-height: 60px;
	width: auto;
}

.navbar-nav .nav-link {
	font-weight: 500;
	color: var(--dark-color);
	margin: 0 0.5rem;
	position: relative;
	padding: 0.5rem 0;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
	color: var(--primary-color);
}

.navbar-nav .nav-link.active::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 3px;
	background-color: var(--accent-color);
}

/* Hero Section - DONKERROOD */
.hero {
	background: linear-gradient(rgba(101, 0, 4, 0.85), rgba(101, 0, 4, 0.85)),
	url('../images/truck.jpg') no-repeat center center;
	background-size: cover;
	background-position: center;
	color: white;
	padding: 150px 0 100px;
	text-align: center;
}

.hero h1 {
	font-size: 3.5rem;
	font-weight: 700;
	margin-bottom: 1rem;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
	font-size: 1.5rem;
	margin-bottom: 2rem;
	text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Buttons - ORANJE */
.btn-primary {
	background-color: var(--accent-color);
	border-color: var(--accent-color);
	color: white;
	font-weight: 600;
	padding: 0.75rem 2rem;
	border-radius: 5px;
	transition: all 0.3s ease;
	box-shadow: var(--shadow);
}

.btn-primary:hover {
	background-color: #d98c1d;
	border-color: #d98c1d;
	transform: translateY(-2px);
	box-shadow: var(--shadow-lg);
}

.btn-outline-primary {
	color: var(--primary-color);
	border-color: var(--primary-color);
}

.btn-outline-primary:hover {
	background-color: var(--primary-color);
	color: white;
}

/* Sections */
.section {
	padding: 60px 0;
}

.section-title {
	text-align: center;
	margin-bottom: 3rem;
	position: relative;
}

.section-title h2 {
	font-size: 2.5rem;
	font-weight: 700;
	color: var(--primary-color);
}

.section-title::after {
	content: '';
	display: block;
	width: 80px;
	height: 4px;
	background-color: var(--accent-color);
	margin: 1rem auto 0;
}

/* Cards - WIT met zwarte border */
.card {
	border: 1px solid var(--border-color);
	border-radius: 10px;
	overflow: hidden;
	box-shadow: var(--shadow);
	transition: all 0.3s ease;
	margin-bottom: 1.5rem;
	background-color: white;
}

.card:hover {
	transform: translateY(-5px);
	box-shadow: var(--shadow-lg);
	border-color: var(--primary-color);
}

.card-img-top {
	height: 200px;
	object-fit: cover;
	background-color: #eee;
}

.card-body {
	padding: 1.5rem;
}

.card-title {
	font-size: 1.25rem;
	font-weight: 600;
	color: var(--primary-color);
	margin-bottom: 0.5rem;
}

.card-text {
	color: var(--text-light);
	margin-bottom: 1rem;
}

.card-price {
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--accent-color);
}

.card-hr {
	border-top: 1px solid var(--border-color);
	margin: 1rem 0;
}

/* Filters - WIT */
.filters {
	background-color: white;
	padding: 1.5rem;
	border: 1px solid var(--border-color);
	border-radius: 10px;
	box-shadow: var(--shadow);
	margin-bottom: 2rem;
}

.filter-group {
	margin-bottom: 1rem;
}

.filter-group label {
	font-weight: 600;
	color: var(--primary-color);
	margin-bottom: 0.5rem;
	display: block;
}

.filter-group select,
.filter-group input {
	width: 100%;
	padding: 0.5rem;
	border: 1px solid var(--border-color);
	border-radius: 5px;
	font-size: 1rem;
}

.filter-group select:focus,
.filter-group input:focus {
	border-color: var(--primary-color);
	outline: none;
	box-shadow: 0 0 0 0.2rem rgba(101, 0, 4, 0.25);
}

.inventory-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 1.5rem;
}

/* Facebook Posts */
.facebook-post {
	background-color: white;
	border: 1px solid var(--border-color);
	border-radius: 10px;
	padding: 1.5rem;
	box-shadow: var(--shadow);
	margin-bottom: 1.5rem;
}

.facebook-post-header {
	display: flex;
	align-items: center;
	margin-bottom: 1rem;
}

.facebook-post-avatar {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	margin-right: 1rem;
	background-color: var(--primary-color);
}

.facebook-post-name {
	font-weight: 600;
	color: var(--primary-color);
}

.facebook-post-date {
	color: var(--text-light);
	font-size: 0.875rem;
}

.facebook-post-text {
	margin-bottom: 1rem;
}

.facebook-post-image {
	width: 100%;
	border-radius: 8px;
	margin-bottom: 1rem;
}

/* Contact Info */
.contact-info {
	background-color: white;
	padding: 2rem;
	border: 1px solid var(--border-color);
	border-radius: 10px;
	box-shadow: var(--shadow);
}

.contact-person {
	margin-bottom: 2rem;
	padding-bottom: 2rem;
	border-bottom: 1px solid var(--border-color);
}

.contact-person:last-child {
	margin-bottom: 0;
	padding-bottom: 0;
	border-bottom: none;
}

.contact-person h3 {
	color: var(--primary-color);
	margin-bottom: 1rem;
}

.contact-person p {
	margin-bottom: 0.5rem;
}

.contact-person strong {
	color: var(--dark-color);
}

/* Footer - DONKERROOD */
.footer {
	background-color: var(--primary-color);
	color: white;
	padding: 3rem 0 1.5rem;
}

.footer-logo {
	max-height: 50px;
	margin-bottom: 1rem;
	filter: brightness(0) invert(1);
}

.footer h4 {
	color: var(--accent-color);
	margin-bottom: 1rem;
}

.footer ul {
	list-style: none;
	padding: 0;
}

.footer ul li {
	margin-bottom: 0.5rem;
}

.footer ul li a {
	color: rgba(255, 255, 255, 0.7);
	text-decoration: none;
	transition: color 0.3s ease;
}

.footer ul li a:hover {
	color: white;
}

.footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	padding-top: 1.5rem;
	margin-top: 2rem;
	text-align: center;
	color: rgba(255, 255, 255, 0.7);
	font-size: 0.875rem;
}

/* Coming Soon */
.coming-soon-item {
	background-color: white;
	padding: 1.5rem;
	border: 1px solid var(--border-color);
	border-radius: 10px;
	box-shadow: var(--shadow);
	margin-bottom: 1.5rem;
}

.coming-soon-image {
	width: 100%;
	height: 200px;
	object-fit: cover;
	border-radius: 8px;
	background-color: #eee;
	margin-bottom: 1rem;
}

.coming-soon-details {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 0.75rem;
}

.coming-soon-label {
	font-weight: 600;
	color: var(--text-light);
}

.coming-soon-value {
	color: var(--dark-color);
}

/* AGDealer Iframe */
.agdealer-iframe {
	width: 100%;
	height: 800px;
	border: none;
	border-radius: 10px;
	box-shadow: var(--shadow);
}

/* Utility Classes */
.text-primary { color: var(--primary-color); }
.text-accent { color: var(--accent-color); }
.bg-primary { background-color: var(--primary-color); }
.bg-accent { background-color: var(--accent-color); }

/* CTA Section - DONKERROOD */
.cta-section {
	background: linear-gradient(rgba(101, 0, 4, 0.9), rgba(101, 0, 4, 0.9)),
	url('../images/truck.jpg') no-repeat center center;
	background-size: cover;
	color: white;
	padding: 80px 0;
	text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
	.hero h1 { font-size: 2.5rem; }
	.hero p { font-size: 1.25rem; }
	.section-title h2 { font-size: 2rem; }
	.inventory-grid { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
	.navbar-nav { text-align: center; }
}

@media (max-width: 576px) {
	.hero h1 { font-size: 2rem; }
	.hero p { font-size: 1rem; }
	.inventory-grid { grid-template-columns: 1fr; }
}


.back-to-top {
	position: fixed;
	bottom: 20px;
	right: 20px;
	width: 50px;
	height: 50px;
	border-radius: 50% !important;
	background-color: var(--accent-color) !important;
	border: none;
	color: white !important;
	display: none;
	z-index: 1000;
	transition: all 0.3s ease;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
	align-items: center;
	justify-content: center;
}

.back-to-top.show {
	display: flex !important;
}