/* AAg Atlas Search Interface Styles */
.search-section {
	background: linear-gradient(135deg, #d32f2f 0%, #b71c1c 100%);
	padding: 60px 0;
	min-height: 300px;
	position: relative;
}

.search-section::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M0,50 Q25,0 50,50 T100,50 L100,100 L0,100 Z" fill="rgba(255,255,255,0.05)"/></svg>') repeat-x;
	background-size: 200px 100px;
	pointer-events: none;
}

.search-panel {
	background: rgba(255, 255, 255, 0.95);
	border-radius: 12px;
	box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
	overflow: hidden;
	backdrop-filter: blur(10px);
	max-width: 900px;
	margin: 0 auto;
}

.search-panel .panel-header {
	background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
	padding: 25px 30px;
	border-bottom: 1px solid #e9ecef;
}

.search-panel .panel-header h2 {
	margin: 0;
	color: #d32f2f;
	font-size: 28px;
	font-weight: 600;
	text-align: center;
	letter-spacing: -0.5px;
}

.search-panel .panel-body {
	padding: 35px 30px;
}

.search-form .form-row {
	display: grid;
	grid-template-columns: 1fr 1fr auto;
	gap: 25px;
	align-items: end;
}

.form-group label {
	display: block;
	margin-bottom: 8px;
	font-weight: 600;
	color: #333;
	font-size: 14px;
}

.form-group .required {
	color: #d32f2f;
	margin-left: 2px;
}

.form-control {
	width: 100%;
	padding: 12px 16px;
	border: 2px solid #e9ecef;
	border-radius: 8px;
	font-size: 15px;
	transition: all 0.3s ease;
	background: #fff;
	box-sizing: border-box;
}

.form-control:focus {
	outline: none;
	border-color: #d32f2f;
	box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.1);
	transform: translateY(-1px);
}

.help-text {
	margin-top: 6px;
	font-size: 12px;
	color: #666;
}

.example-link {
	color: #d32f2f;
	font-weight: 500;
	cursor: pointer;
	text-decoration: none;
	border-bottom: 1px dotted #d32f2f;
}

.example-link:hover {
	color: #b71c1c;
	border-bottom-style: solid;
}

.button-group {
	display: flex;
	gap: 12px;
}

.btn {
	padding: 12px 24px;
	border: none;
	border-radius: 8px;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	min-width: 100px;
}

.btn-search {
	background: linear-gradient(135deg, #d32f2f 0%, #b71c1c 100%);
	color: white;
	box-shadow: 0 4px 15px rgba(211, 47, 47, 0.3);
}

.btn-search:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 25px rgba(211, 47, 47, 0.4);
}

.btn-reset {
	background: #f8f9fa;
	color: #666;
	border: 2px solid #e9ecef;
}

.btn-reset:hover {
	background: #e9ecef;
	color: #333;
	transform: translateY(-1px);
}

/* Introduction Section */
.introduction-section {
	padding: 80px 0;
	background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
}

.intro-panel {
	background: white;
	border-radius: 12px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
	overflow: hidden;
}

.intro-panel .panel-header {
	background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
	padding: 25px 30px;
	color: white;
}

.intro-panel .panel-header h2 {
	margin: 0;
	font-size: 28px;
	font-weight: 600;
	text-align: center;
}

.intro-panel .panel-body {
	padding: 40px 30px;
}

.intro-content p {
	font-size: 16px;
	line-height: 1.8;
	color: #444;
	margin-bottom: 30px;
	text-align: justify;
}

.intro-content a {
	color: #d32f2f;
	text-decoration: none;
	font-weight: 500;
}

.intro-content a:hover {
	color: #b71c1c;
	text-decoration: underline;
}

/* Swiper Carousel Styles */
.intro-carousel {
	margin-top: 30px;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.intro-carousel .swiper-slide {
	height: 400px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.intro-carousel .swiper-slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.intro-carousel .swiper-slide:hover img {
	transform: scale(1.05);
}

.intro-carousel .swiper-pagination {
	bottom: 20px !important;
}

.intro-carousel .swiper-pagination-bullet {
	width: 12px;
	height: 12px;
	background: rgba(255, 255, 255, 0.7);
	opacity: 1;
	transition: all 0.3s ease;
}

.intro-carousel .swiper-pagination-bullet-active {
	background: #d32f2f;
	transform: scale(1.3);
}

.intro-carousel .swiper-button-next,
.intro-carousel .swiper-button-prev {
	color: rgba(255, 255, 255, 0.8);
	width: 50px;
	height: 50px;
	margin-top: -25px;
	background: rgba(0, 0, 0, 0.3);
	border-radius: 50%;
	transition: all 0.3s ease;
}

.intro-carousel .swiper-button-next:hover,
.intro-carousel .swiper-button-prev:hover {
	background: rgba(211, 47, 47, 0.8);
	color: white;
}

/* Statistics Section */
.statistics-section {
	padding: 80px 0;
	background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
	color: white;
}

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

.stats-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 40px;
	max-width: 1000px;
	margin: 0 auto;
}

.stat-item {
	background: rgba(255, 255, 255, 0.1);
	padding: 40px 30px;
	border-radius: 16px;
	text-align: center;
	transition: all 0.3s ease;
	backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item:hover {
	transform: translateY(-10px);
	background: rgba(255, 255, 255, 0.15);
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.stat-icon {
	width: 80px;
	height: 80px;
	margin: 0 auto 20px;
	background: linear-gradient(135deg, #d32f2f 0%, #b71c1c 100%);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 10px 25px rgba(211, 47, 47, 0.3);
}

.stat-icon img {
	width: 40px;
	height: 40px;
	filter: brightness(0) invert(1);
}

.stat-number {
	font-size: 48px;
	font-weight: 700;
	margin-bottom: 10px;
	background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
	background-clip: text;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.stat-label {
	font-size: 16px;
	font-weight: 500;
	color: rgba(255, 255, 255, 0.9);
	line-height: 1.4;
}

/* Responsive Design for AAg Atlas Interface */
@media screen and (max-width: 1024px) {
	.search-form .form-row {
		grid-template-columns: 1fr;
		gap: 20px;
	}
	
	.search-panel .panel-header h2 {
		font-size: 24px;
	}
	
	.intro-carousel .swiper-slide {
		height: 350px;
	}
	
	.stats-grid {
		grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
		gap: 30px;
	}
}

@media screen and (max-width: 768px) {
	.search-section {
		padding: 40px 0;
	}
	
	.search-panel .panel-header,
	.search-panel .panel-body {
		padding: 20px;
	}
	
	.search-panel .panel-header h2 {
		font-size: 22px;
	}
	
	.introduction-section,
	.statistics-section {
		padding: 60px 0;
	}
	
	.intro-panel .panel-header,
	.intro-panel .panel-body {
		padding: 25px 20px;
	}
	
	.intro-carousel .swiper-slide {
		height: 300px;
	}
	
	.stat-number {
		font-size: 36px;
	}
	
	.stat-icon {
		width: 60px;
		height: 60px;
	}
	
	.stat-icon img {
		width: 30px;
		height: 30px;
	}
}

@media screen and (max-width: 480px) {
	.search-section {
		padding: 30px 0;
	}
	
	.search-panel .panel-header h2 {
		font-size: 20px;
	}
	
	.button-group {
		flex-direction: column;
	}
	
	.btn {
		width: 100%;
	}
	
	.intro-carousel .swiper-slide {
		height: 250px;
	}
	
	.stats-grid {
		grid-template-columns: 1fr;
		gap: 25px;
	}
	
	.stat-item {
		padding: 30px 20px;
	}
	
	.stat-number {
		font-size: 28px;
	}
} 