/* Global Variables */
:root {
	--primary-bg: #1d1e2c;
	--accent-color: #e94f37;
	--secondary-color: #393e41;
	--text-color: #fafafa;
	--transition-speed: 0.3s;
	--section-padding: 4rem 0;
}

/* Reset & Base Styles */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
	background-color: var(--primary-bg);
	color: var(--text-color);
	line-height: 1.6;
	overflow-x: hidden;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: var(--text-color);
	text-decoration: none;
	transition: color var(--transition-speed);
}

a:hover {
	color: var(--accent-color);
}

.container {
	width: 90%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 15px;
}

section {
	padding: var(--section-padding);
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin-bottom: 1.5rem;
	font-weight: 700;
	line-height: 1.2;
}

h1 {
	font-size: 2.5rem;
}

h2 {
	font-size: 2rem;
	text-align: center;
	margin-bottom: 3rem;
	position: relative;
}

h2::after {
	content: "";
	position: absolute;
	bottom: -10px;
	left: 50%;
	transform: translateX(-50%);
	width: 60px;
	height: 3px;
	background-color: var(--accent-color);
}

p {
	margin-bottom: 1rem;
}

/* Buttons */
.btn {
	display: inline-block;
	padding: 0.8rem 1.5rem;
	border-radius: 30px;
	font-weight: 600;
	text-align: center;
	cursor: pointer;
	transition: all var(--transition-speed);
	border: none;
}

.btn.primary {
	background: linear-gradient(to right, #e94f37, #ff6f61);
	color: var(--text-color);
	box-shadow: 0 4px 15px rgba(233, 79, 55, 0.3);
}

.btn.secondary {
	background-color: transparent;
	border: 2px solid var(--accent-color);
	color: var(--text-color);
}

.btn:hover {
	transform: translateY(-3px);
	box-shadow: 0 6px 20px rgba(233, 79, 55, 0.4);
}

/* Header & Navigation */
header {
	padding: 1rem 0;
	position: fixed;
	width: 100%;
	top: 0;
	z-index: 1000;
	background-color: rgba(29, 30, 44, 0.9);
	backdrop-filter: blur(10px);
	transition: all var(--transition-speed);
}

header .container {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.logo {
	max-width: 150px;
}

.logo img {
	max-height: 50px;
}

nav ul {
	display: flex;
	list-style-type: none;
}

nav ul li {
	margin-left: 1.5rem;
}

nav ul li a {
	position: relative;
	font-weight: 500;
}

nav ul li a::after {
	content: "";
	position: absolute;
	bottom: -5px;
	left: 0;
	width: 0;
	height: 2px;
	background-color: var(--accent-color);
	transition: width var(--transition-speed);
}

nav ul li a:hover::after {
	width: 100%;
}

/* Hero Section */
#hero {
	height: 100vh;
	min-height: 600px;
	display: flex;
	align-items: center;
	background:
		linear-gradient(rgba(29, 30, 44, 0.7), rgba(29, 30, 44, 0.9)),
		url("../img/KrQhRs.jpg") no-repeat center center/cover;
	text-align: center;
	margin-top: 0;
	padding-top: 80px;
}

.hero-content {
	max-width: 800px;
	margin: 0 auto;
}

.hero-content h1 {
	font-size: 3rem;
	margin-bottom: 1.5rem;
	animation: fadeInUp 1s ease-out;
}

.hero-content p {
	font-size: 1.25rem;
	margin-bottom: 2rem;
	animation: fadeInUp 1s ease-out 0.2s;
	animation-fill-mode: both;
}

.hero-content .btn {
	animation: fadeInUp 1s ease-out 0.4s;
	animation-fill-mode: both;
}

/* About Section */
.about-content {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2rem;
	align-items: center;
}

.about-text {
	padding-right: 1rem;
}

.about-image {
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.about-image img {
	transition: transform 0.5s ease;
}

.about-image:hover img {
	transform: scale(1.05);
}

/* Tours Section */
.tours-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 2rem;
}

.tour-card {
	background-color: var(--secondary-color);
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
	transition: transform var(--transition-speed);
}

.tour-card:hover {
	transform: translateY(-10px);
}

.tour-card img {
	height: 200px;
	object-fit: cover;
	width: 100%;
}

.tour-card h3 {
	padding: 1.5rem 1.5rem 0.5rem;
}

.tour-card p {
	padding: 0 1.5rem;
}

.tour-details {
	display: flex;
	justify-content: space-between;
	padding: 0.5rem 1.5rem 1rem;
	font-weight: 600;
}

.price {
	color: var(--accent-color);
	font-size: 1.2rem;
}

.tour-card .btn {
	margin: 0 1.5rem 1.5rem;
}

/* Benefits Section */
.benefits-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 2rem;
}

.benefit-item {
	text-align: center;
	padding: 1.5rem;
	background-color: var(--secondary-color);
	border-radius: 10px;
	transition: transform var(--transition-speed);
}

.benefit-item:hover {
	transform: translateY(-5px);
}

.benefit-icon {
	margin: 0 auto 1rem;
	width: 70px;
	height: 70px;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* Testimonials Section */
.testimonials-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 2rem;
}

.testimonial-card {
	background-color: var(--secondary-color);
	padding: 2rem;
	border-radius: 10px;
	position: relative;
}

.testimonial-card::before {
	content: '"';
	position: absolute;
	top: 20px;
	left: 20px;
	font-size: 4rem;
	font-family: Georgia, serif;
	color: rgba(233, 79, 55, 0.3);
	line-height: 0;
}

.testimonial-text {
	margin-bottom: 1rem;
	font-style: italic;
}

.testimonial-author {
	text-align: right;
}

/* Contact Form Section */
.contact-content {
	display: grid;
	grid-template-columns: 1fr 2fr;
	gap: 3rem;
}

.contact-info ul {
	list-style-type: none;
	margin: 1.5rem 0;
}

.contact-info ul li {
	margin-bottom: 0.8rem;
}

.contact-form form {
	background-color: var(--secondary-color);
	padding: 2rem;
	border-radius: 10px;
}

.form-group {
	margin-bottom: 1.5rem;
}

.form-group label {
	display: block;
	margin-bottom: 0.5rem;
	font-weight: 500;
}

.form-group input,
.form-group select {
	width: 100%;
	padding: 0.8rem;
	border: 1px solid rgba(255, 255, 255, 0.1);
	background-color: rgba(255, 255, 255, 0.05);
	border-radius: 5px;
	color: var(--text-color);
	transition: border-color var(--transition-speed);
}

.form-group input:focus,
.form-group select:focus {
	outline: none;
	border-color: var(--accent-color);
}

.form-group.checkbox {
	display: flex;
	align-items: flex-start;
}

.form-group.checkbox input {
	width: auto;
	margin-right: 10px;
	margin-top: 4px;
}

.form-group.checkbox label {
	margin-bottom: 0;
}

/* Radio buttons styles */
.radio-group {
	margin-top: 0.5rem;
}

.radio-item {
	display: flex;
	align-items: center;
	margin-bottom: 0.8rem;
	padding: 0.5rem;
	border-radius: 5px;
	transition: background-color var(--transition-speed);
}

.radio-item:hover {
	background-color: rgba(255, 255, 255, 0.05);
}

.radio-item input[type="radio"] {
	width: auto;
	margin-right: 10px;
	cursor: pointer;
}

.radio-item label {
	margin-bottom: 0;
	cursor: pointer;
	font-weight: normal;
	flex: 1;
}

.radio-item input[type="radio"]:checked + label {
	color: var(--accent-color);
	font-weight: 500;
}

/* FAQ Section */
.faq-items {
	max-width: 800px;
	margin: 0 auto;
}

.faq-item {
	margin-bottom: 2rem;
	background-color: var(--secondary-color);
	padding: 1.5rem;
	border-radius: 10px;
	transition: transform var(--transition-speed);
}

.faq-item:hover {
	transform: translateY(-5px);
}

.faq-item h3 {
	margin-bottom: 0.8rem;
	color: var(--accent-color);
}

/* Contact Info Section */
.contact-map {
	margin-bottom: 2rem;
	border-radius: 10px;
	overflow: hidden;
}

.contact-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 2rem;
}

.contact-item h3 {
	color: var(--accent-color);
}

/* Footer */
footer {
	background-color: rgba(29, 30, 44, 0.8);
	padding: 3rem 0;
	margin-top: 4rem;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr;
	gap: 3rem;
}

.footer-info p {
	opacity: 0.8;
}

.footer-links ul {
	list-style-type: none;
}

.footer-links ul li {
	margin-bottom: 0.5rem;
}

.footer-contact p {
	margin-bottom: 0.5rem;
}

/* Cookie Popup */
.cookie-popup {
	position: fixed;
	bottom: 2rem;
	left: 50%;
	transform: translateX(-50%);
	background-color: var(--secondary-color);
	padding: 1rem 2rem;
	border-radius: 10px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
	display: flex;
	align-items: center;
	z-index: 1001;
	max-width: 90%;
	width: 500px;
}

.cookie-popup form {
	margin-left: 1rem;
}

.cookie-popup button {
	background-color: var(--accent-color);
	color: var(--text-color);
	border: none;
	padding: 0.5rem 1rem;
	border-radius: 5px;
	cursor: pointer;
	transition: background-color var(--transition-speed);
}

.cookie-popup button:hover {
	background-color: #d03c28;
}

/* Animations */
@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Target-based animations for section scrolling */
section:target {
	animation: fadeIn 1s ease;
}

@keyframes fadeIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

/* Responsive Design */
@media (max-width: 992px) {
	h1 {
		font-size: 2.2rem;
	}

	h2 {
		font-size: 1.8rem;
	}

	.contact-content {
		grid-template-columns: 1fr;
	}

	.footer-content {
		grid-template-columns: 1fr 1fr;
	}

	.footer-info {
		grid-column: 1 / -1;
	}
}

@media (max-width: 768px) {
	.about-content {
		grid-template-columns: 1fr;
	}

	.about-text {
		order: 2;
		padding-right: 0;
	}

	.about-image {
		order: 1;
		margin-bottom: 2rem;
	}

	.footer-content {
		grid-template-columns: 1fr;
		gap: 2rem;
	}
}

@media (max-width: 576px) {
	nav ul {
		flex-direction: column;
		position: absolute;
		top: 100%;
		right: 0;
		background-color: var(--primary-bg);
		width: 100%;
		padding: 1rem 0;
		text-align: center;
		transform: translateY(-100%);
		opacity: 0;
		visibility: hidden;
		transition: all var(--transition-speed);
	}

	nav ul li {
		margin: 0.8rem 0;
	}

	.nav-toggle {
		display: block;
	}

	.hero-content h1 {
		font-size: 2rem;
	}

	.hero-content p {
		font-size: 1rem;
	}
}
