/* 
=================================================================
Modern Responsive Design Enhancements for Hob Chimney Service
=================================================================
This file contains modern design improvements for the website
*/

:root {
	/* Modern Color Palette */
	--primary-orange: #d4642d;
	--primary-orange-dark: #c5562a;
	--primary-orange-light: #e8854a;
	--primary-blue: #1a4d7a;
	--primary-blue-light: #2a6ba8;
	--secondary-text: #555555;
	--light-bg: #f8f9fa;
	--card-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
	--hover-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
}

/* ===== Modern Container Improvements ===== */

.container-modern {
	background: #ffffff;
	border-radius: 12px;
	box-shadow: var(--card-shadow);
	padding: 30px;
	margin: 20px 0;
	transition: all 0.3s ease;
}

.container-modern:hover {
	box-shadow: var(--hover-shadow);
	transform: translateY(-2px);
}

/* ===== Modern Button Styles ===== */

.btn-modern {
	display: inline-block;
	padding: 12px 35px;
	border-radius: 25px;
	font-weight: 700;
	letter-spacing: 0.5px;
	transition: all 0.3s ease;
	text-transform: capitalize;
	font-family: 'Poppins', sans-serif;
	cursor: pointer;
	border: none;
	outline: none;
}

.btn-modern-primary {
	background: linear-gradient(135deg, var(--primary-orange) 0%, var(--primary-orange-light) 100%);
	color: #ffffff;
	box-shadow: 0 4px 15px rgba(212, 100, 45, 0.3);
}

.btn-modern-primary:hover {
	background: linear-gradient(135deg, var(--primary-orange-light) 0%, var(--primary-orange) 100%);
	box-shadow: 0 6px 20px rgba(212, 100, 45, 0.4);
	transform: translateY(-2px);
}

.btn-modern-secondary {
	background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-light) 100%);
	color: #ffffff;
	box-shadow: 0 4px 15px rgba(26, 77, 122, 0.3);
}

.btn-modern-secondary:hover {
	background: linear-gradient(135deg, var(--primary-blue-light) 0%, var(--primary-blue) 100%);
	box-shadow: 0 6px 20px rgba(26, 77, 122, 0.4);
	transform: translateY(-2px);
}

.btn-modern-outline {
	background: transparent;
	color: var(--primary-orange);
	border: 2px solid var(--primary-orange);
}

.btn-modern-outline:hover {
	background: linear-gradient(135deg, var(--primary-orange) 0%, var(--primary-orange-light) 100%);
	color: #ffffff;
	border-color: transparent;
	box-shadow: 0 4px 15px rgba(212, 100, 45, 0.3);
}

/* ===== Service Card Improvements ===== */

.service-card {
	background: #ffffff;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: var(--card-shadow);
	transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
	height: 100%;
	display: flex;
	flex-direction: column;
}

.service-card:hover {
	box-shadow: var(--hover-shadow);
	transform: translateY(-8px) scale(1.02);
}

.service-card-image {
	position: relative;
	overflow: hidden;
	height: 250px;
}

.service-card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.service-card:hover .service-card-image img {
	transform: scale(1.1) rotate(2deg);
}

.service-card-body {
	padding: 25px;
	flex-grow: 1;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.service-card-title {
	font-size: 22px;
	font-weight: 700;
	color: var(--primary-blue);
	margin-bottom: 15px;
	font-family: 'Poppins', sans-serif;
}

.service-card-description {
	color: var(--secondary-text);
	line-height: 1.6;
	margin-bottom: 20px;
	font-size: 15px;
}

/* ===== Form Improvements ===== */

.form-modern input,
.form-modern textarea,
.form-modern select {
	width: 100%;
	padding: 12px 18px;
	margin-bottom: 15px;
	border: 2px solid #e0e0e0;
	border-radius: 8px;
	font-family: 'Poppins', sans-serif;
	font-size: 15px;
	transition: all 0.3s ease;
	background-color: #f8f9fa;
}

.form-modern input:focus,
.form-modern textarea:focus,
.form-modern select:focus {
	outline: none;
	border-color: var(--primary-orange);
	background-color: #ffffff;
	box-shadow: 0 0 0 3px rgba(212, 100, 45, 0.1);
}

.form-modern textarea {
	resize: vertical;
	min-height: 120px;
}

/* ===== Header Improvements ===== */

.header-modern {
	background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-light) 50%, var(--primary-orange) 100%);
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
	padding: 20px 0;
	transition: all 0.3s ease;
}

.header-modern.sticky {
	position: fixed;
	top: 0;
	width: 100%;
	z-index: 999;
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

/* ===== Navigation Improvements ===== */

.nav-modern {
	display: flex;
	gap: 30px;
	align-items: center;
}

.nav-modern a {
	color: #ffffff;
	font-weight: 600;
	position: relative;
	padding: 5px 0;
	transition: color 0.3s ease;
}

.nav-modern a:after {
	content: '';
	position: absolute;
	bottom: -5px;
	left: 0;
	width: 0;
	height: 2px;
	background: var(--primary-orange-light);
	transition: width 0.3s ease;
}

.nav-modern a:hover {
	color: var(--primary-orange-light);
}

.nav-modern a:hover:after {
	width: 100%;
}

/* ===== Section Improvements ===== */

.section-modern {
	padding: 60px 0;
	background: #ffffff;
}

.section-modern.alt-bg {
	background: var(--light-bg);
}

.section-title {
	font-size: 36px;
	font-weight: 700;
	color: var(--primary-blue);
	text-align: center;
	margin-bottom: 40px;
	font-family: 'Poppins', sans-serif;
	position: relative;
	padding-bottom: 20px;
}

.section-title:after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 60px;
	height: 4px;
	background: linear-gradient(90deg, var(--primary-orange) 0%, var(--primary-orange-light) 100%);
	border-radius: 2px;
}

/* ===== Feature List ===== */

.feature-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.feature-list li {
	padding: 12px 0;
	padding-left: 35px;
	position: relative;
	color: var(--secondary-text);
	font-size: 15px;
	line-height: 1.6;
}

.feature-list li:before {
	content: '';
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 20px;
	height: 20px;
	background: linear-gradient(135deg, var(--primary-orange) 0%, var(--primary-orange-light) 100%);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.feature-list li:after {
	content: '✓';
	position: absolute;
	left: 5px;
	top: 50%;
	transform: translateY(-50%);
	color: #ffffff;
	font-weight: 700;
	font-size: 12px;
}

/* ===== Mobile Responsive ===== */

@media (max-width: 768px) {
	.nav-modern {
		flex-direction: column;
		gap: 15px;
		text-align: center;
	}

	.section-title {
		font-size: 28px;
		margin-bottom: 30px;
	}

	.section-modern {
		padding: 40px 0;
	}

	.service-card-image {
		height: 200px;
	}

	.container-modern {
		padding: 20px;
	}

	.btn-modern {
		width: 100%;
		text-align: center;
	}
}

/* ===== Tablet Optimization ===== */

@media (max-width: 1024px) and (min-width: 769px) {
	.nav-modern {
		gap: 20px;
	}

	.section-modern {
		padding: 50px 0;
	}
}

/* ===== Large Screens ===== */

@media (min-width: 1200px) {
	.container-modern {
		max-width: 1200px;
		margin: 20px auto;
	}
}

/* ===== Print Styles ===== */

@media print {
	.nav-modern,
	.btn-modern,
	.header-modern {
		display: none;
	}

	.section-modern {
		page-break-inside: avoid;
	}
}

/* ===== Accessibility ===== */

@media (prefers-reduced-motion: reduce) {
	* {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}

/* ===== Dark Mode Support ===== */

@media (prefers-color-scheme: dark) {
	:root {
		--light-bg: #1a1a1a;
	}

	.container-modern {
		background: #2a2a2a;
		color: #f0f0f0;
	}

	.section-modern.alt-bg {
		background: #1a1a1a;
	}

	.form-modern input,
	.form-modern textarea,
	.form-modern select {
		background-color: #333333;
		border-color: #444444;
		color: #f0f0f0;
	}
}
