/*
Theme Name: TripVeli
Author: Giorgi Kobadze
Version: 1.0
Description: Minimal custom theme for TripVeli
*/

* {
	box-sizing: border-box;
}

body {
	margin: 0;
	font-family: 'Manrope', sans-serif;
	background: #f5f7fa;
	color: #111;
}

.container {
	width: 100%;
	max-width: 1240px;
	margin: 0 auto;
	padding: 0 20px;
}

header {
	background: #fff;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
	position: relative;
	z-index: 50;
}

header .container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 20px 0;
}

.logo {
	max-width: 150px;
}

nav {
	display: flex;
	align-items: center;
	gap: 12px;
}

nav a {
	text-decoration: none;
	color: #111;
	font-weight: 700;
	margin: 0 10px;
	font-size: 16px;
	border-radius: 8px;
	padding: 7px 14px;
	transition: background .18s, color .18s;
}

nav a:hover,
nav a.active {
	background: #1E73BE;
	color: #fff;
}

.burger {
	display: none;
	width: 38px;
	height: 38px;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	cursor: pointer;
	z-index: 102;
}

.burger span {
	display: block;
	width: 28px;
	height: 4px;
	background: #1E73BE;
	margin: 4px 0;
	border-radius: 4px;
	transition: 0.3s;
}

.mobile-nav-bg {
	display: none;
	position: fixed;
	inset: 0;
	background: rgba(30, 115, 190, 0.12);
	z-index: 99;
	transition: 0.25s;
}

.mobile-nav-bg.active {
	display: block;
}

.mobile-nav {
	display: none;
	flex-direction: column;
	position: fixed;
	left: 0;
	right: 0;
	top: 0;
	background: #fff;
	z-index: 100;
	padding: 32px 0 18px 0;
	box-shadow: 0 6px 24px rgba(30, 115, 190, 0.10);
	animation: menudown .27s;
}

@keyframes menudown {
	from {
		transform: translateY(-80px);
		opacity: 0;
	}

	to {
		transform: none;
		opacity: 1;
	}
}

.mobile-nav a {
	padding: 18px 40px;
	font-size: 1.18rem;
	color: #1E73BE;
	border-radius: 0;
	text-align: left;
	border-bottom: 1px solid #f3f4f8;
	font-weight: 700;
	text-decoration: none;
	transition: background .2s, color .2s;
	display: block;
}

.mobile-nav a:last-child {
	border-bottom: none;
}

.mobile-nav a:hover {
	background: #F5F7FA;
	color: #FFB400;
}

/* Hero */
.hero {
	position: relative;
	background: linear-gradient(to top, rgba(30, 115, 190, 0.6), rgba(0, 0, 0, 0.3)), url('https://tripveli.com/img/hero-bg.jpg') center/cover no-repeat;
	color: white;
	padding: 80px 0 60px 0;
	text-align: center;
	overflow: hidden;
	height: 600px;
}

.hero .container {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.hero h1 {
	font-size: 32px;
	margin-bottom: 20px;
	font-weight: 800;
	letter-spacing: 1px;
	opacity: 0;
	transform: translateY(40px);
	animation: heroFadeIn 1.1s 0.2s forwards;
}

@keyframes heroFadeIn {
	to {
		opacity: 1;
		transform: none;
	}
}

.hero .widget,
.hero iframe,
.hero script {
	width: 100%;
	margin: 0 auto;
	margin-top: 20px;
}

section:not(.hero) {
	padding: 60px 0 0 0;
}

section>.container>h2,
section>h2 {
	font-size: 26px;
	margin-bottom: 30px;
	color: #111;
	font-weight: 800;
	text-align: left;
}

.cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 24px;
}

.card {
	background: #fff;
	border-radius: 14px;
	overflow: hidden;
	box-shadow: 0 2px 10px rgba(30, 115, 190, 0.06);
	display: flex;
	flex-direction: column;
	transition: box-shadow .18s;
}

.card:hover {
	box-shadow: 0 6px 22px rgba(30, 115, 190, 0.15);
}

.card img {
	width: 100%;
	height: 160px;
	object-fit: cover;
}

.card-content {
	padding: 18px;
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.card-content h3 {
	font-size: 17px;
	margin: 0 0 8px;
	font-weight: 700;
	color: #1E73BE;
}

.card-content p {
	font-size: 14px;
	color: #666;
	margin: 0;
}

.card-content .price {
	margin-top: 10px;
	font-weight: bold;
	color: #111;
}

.card-content .btn {
	display: inline-block;
	margin-top: 16px;
	background: #FFB400;
	color: #111;
	padding: 11px 18px;
	border-radius: 9px;
	text-decoration: none;
	font-weight: bold;
	font-size: 15px;
	box-shadow: 0 2px 8px rgba(255, 180, 0, 0.07);
	transition: background .17s;
}

.card-content .btn:hover {
	background: #ffd369;
}

.subscribe {
	background: #1E73BE;
	color: white;
	text-align: center;
	padding: 40px 20px;
	border-radius: 14px;
	margin: 60px auto 0 auto;
	max-width: 700px;
	box-shadow: 0 2px 8px rgba(30, 115, 190, 0.05);
}

.subscribe input[type="email"] {
	padding: 13px;
	width: 300px;
	max-width: 90%;
	border: none;
	border-radius: 8px;
	margin: 12px 8px 0 0;
	font-size: 15px;
}

.subscribe button {
	background: #FFB400;
	color: #000;
	padding: 13px 25px;
	border: none;
	border-radius: 8px;
	font-weight: bold;
	cursor: pointer;
	font-size: 15px;
	margin-top: 14px;
	transition: background .18s;
}

.subscribe button:hover {
	background: #ffd369;
}

footer {
	background: #f1f1f1;
	padding: 30px 0;
	text-align: center;
	color: #555;
	margin-top: 60px;
}

@media (max-width: 900px) {
	.container {
		max-width: 98vw;
	}

	.hero .container,
	.hero iframe {
		max-width: 98vw;
	}

	nav {
		display: none;
	}

	.burger {
		display: flex;
	}
}

@media (max-width: 768px) {
	.hero {
		padding: 40px 0;
	}

	.hero h1 {
		font-size: 22px;
		padding: 0 10px;
	}

	header .container,
	header {
		padding: 10px;
	}

	section:not(.hero) {
		padding: 36px 0 0 0;
	}

	.subscribe input[type="email"] {
		width: 99%;
		margin: 10px 0;
	}
}

@media (max-width: 480px) {
	.cards {
		grid-template-columns: 1fr;
	}

	section>.container>h2,
	section>h2 {
		font-size: 19px;
	}

	.card img {
		height: 140px;
	}

	.hero {
		padding: 22vw 0 13vw 0;
	}
}