:root {
	--bg-color: #1b1c1a;
	--primary-color: #1a3e3f;
	--accent-color: #2c6e70;
	--text-color: #a6a6a6;
	--text-muted: #a0a0a0;
	/* --card-bg: rgba(255, 255, 255, 0.05); */
	--card-bg: var(--bg-color);
	/* --header-bg: rgba(27, 28, 26, 0.9); */
	--header-bg: var(--primary-color);
	--transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	--container-width: 1200px;
	--border-radius: 12px;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: 120px;
}

body {
	background-color: var(--bg-color);
	color: var(--text-color);
	font-family: 'Inter', sans-serif;
	line-height: 1.6;
	overflow-x: hidden;
}

a {
	text-decoration: none;
	color: inherit;
	transition: var(--transition);
}

ul {
	list-style: none;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

.container {
	/* Let Bootstrap handle container widths, but we can set our max-width if we want to stay within 1200px */
	max-width: var(--container-width) !important;
}

.section {
	padding: 5rem 0;
}

.section:nth-of-type(odd) {
	background-color: var(--bg-color);
}

.section:nth-of-type(even) {
	background-color: var(--primary-color);
}

/* Specific background overrides for cards based on section background */
.section:nth-of-type(even) .team-card,
.section:nth-of-type(even) .course-card {
	background-color: var(--bg-color);
}


.section-title {
	font-size: 3.5rem;
	font-weight: 800;
	line-height: 1.0em;
	margin-bottom: 3.5rem;
	text-align: center;
	color: var(--accent-color);
}

.section-title--dark {
	background: none;
	-webkit-text-fill-color: var(--bg-color);
	color: var(--bg-color);
}

.section-desc {
	font-size: 1.25rem;
	color: var(--text-color);
	text-align: center;
	max-width: 800px;
	margin: 0 auto 4rem;
}

/* Header */
.header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 1000;
	background-color: var(--header-bg);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	transition: var(--transition);
}

.header__content {
	display: flex;
	justify-content: space-between;
	align-items: center;
	height: 80px;
}

.logo img {
	height: 60px;
	width: auto;
}

.nav {
	display: flex;
	gap: 2.5rem;
}

.nav__link {
	font-weight: 500;
	color: var(--text-muted);
	position: relative;
}

.nav__link:hover,
.nav__link.active {
	color: var(--text-color);
}

.nav__link::after {
	content: '';
	position: absolute;
	bottom: -5px;
	left: 0;
	width: 0;
	height: 2px;
	background-color: var(--accent-color);
	transition: var(--transition);
}

.nav__link:hover::after {
	width: 100%;
}

.lang-switcher {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.9rem;
}

.lang-link {
	color: var(--text-muted);
}

.lang-link.active {
	color: var(--accent-color);
	font-weight: 800;
}

/* Button */
.btn {
	display: inline-block;
	padding: 1rem 2.5rem;
	border-radius: 50px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 1px;
	border: none;
	cursor: pointer;
	transition: var(--transition);
}

.btn--primary {
	background-color: var(--primary-color);
	color: #fff;
	box-shadow: 0 10px 20px rgba(26, 62, 63, 0.3);
}

.btn--primary:hover {
	transform: translateY(-3px);
	box-shadow: 0 15px 30px rgba(26, 62, 63, 0.4);
	background-color: var(--accent-color);
}

.btn--secondary {
	background-color: #1b1c1a;
	border: 2px solid var(--accent-color);
	color: var(--accent-color);
}

.btn--secondary:hover {
	background-color: var(--accent-color);
	color: #1b1c1a;
}

/* Hero */
.hero {
	min-height: 100vh;
	padding-top: 120px;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	background: radial-gradient(circle at center, #1a3e3f9e 0%, transparent 70%);
	position: relative;
}

.hero__title {
	font-size: 4.5rem;
	font-weight: 800;
	line-height: 1.1;
	margin-bottom: 2rem;
}

.hero__desc {
	font-size: 1.5rem;
	color: var(--text-color);
	/* max-width: 700px; */
	margin: 0 auto 3rem;
}

/* Team */
.about__group-photo {
	margin-bottom: 4rem;
}

.team-card {
	background: var(--card-bg);
	border-radius: var(--border-radius);
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.1);
	transition: var(--transition);
}

.team-card:hover {
	transform: translateY(-10px);
	border-color: var(--accent-color);
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.team-card__image img {
	width: 100%;
	height: 350px;
	object-fit: cover;
	filter: grayscale(100%);
	transition: var(--transition);
}

.team-card:hover .team-card__image img {
	filter: grayscale(0%);
	transform: scale(1.05);
}

.team-card__content {
	padding: 2rem;
}

.team-card__name {
	font-size: 1.5rem;
	line-height: 1.2rem;
	/* margin-bottom: 0.5rem; */
}

.team-card__nickname {
	font-size: 1.5rem;
	margin-bottom: 0.5rem;
	color: var(--accent-color);
}

.team-card__title {
	color: var(--accent-color);
	font-weight: 600;
	margin-bottom: 1rem;
	font-size: 0.9rem;
}

.team-card__bio {
	color: var(--text-muted);
	font-size: 0.95rem;
	margin-bottom: 1.5rem;
}

.team-card__details {
	font-size: 0.85rem;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	padding-top: 1rem;
	color: var(--text-muted);
}

/* Courses section cleanup */

.course-card {
	padding: 3rem 2rem;
	background: var(--card-bg);
	border-radius: var(--border-radius);
	text-align: center;
	border: 1px solid rgba(255, 255, 255, 0.05);
	transition: var(--transition);
}

.course-card:hover {
	background: var(--primary-color);
	border-color: var(--accent-color);
}

.course-card__icon {
	width: 60px;
	height: 60px;
	margin: 0 auto 1.5rem;
	background-image: url('../assets/img/saunaskillers-icon_big.png');
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	transition: var(--transition);
}

.course-card:hover .course-card__icon {
	background-image: url('../assets/img/saunaskillers-icon_big-white.png');
}

.course-card__title {
	margin-bottom: 1rem;
}

.course-card__desc {
	color: var(--text-muted);
	font-size: 0.95rem;
}

.course-card:hover .course-card__desc {
	color: rgba(255, 255, 255, 0.8);
}

/* Towel Section */
.towel__content {
	display: flex;
	align-items: center;
	gap: 4rem;
}

.towel__info {
	flex: 1;
}

.towel__image {
	flex: 1;
}

.towel__image img {
	border-radius: var(--border-radius);
	box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.towel__specs {
	margin: 2rem 0;
	padding: 1.5rem;
	background: var(--bg-color);
	border-left: 4px solid var(--accent-color);
}

/* Contact section cleanup */

.contact-info h3,
.contact-socials h3 {
	margin-bottom: 1.5rem;
	font-size: 1.5rem;
}

.social-links {
	display: flex;
	gap: 1.5rem;
	margin-bottom: 1.5rem;
}

.social-links a {
	font-size: 1.5rem;
	color: var(--text-muted);
}

.social-links a:hover {
	color: var(--accent-color);
}

/* Footer */
.footer {
	padding: 4rem 0;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	text-align: center;
	color: var(--text-muted);
}

/* Mobile Toggle */
.mobile-nav-toggle {
	display: none;
	flex-direction: column;
	gap: 6px;
	background: none;
	border: none;
	cursor: pointer;
}

.mobile-nav-toggle span {
	width: 30px;
	height: 2px;
	background-color: #fff;
	transition: var(--transition);
}

@media (max-width: 992px) {
	.hero__title {
		font-size: 2.5rem;
	}

	.hero__desc {
		font-size: 1.2rem;
	}

	.towel__content {
		flex-direction: column;
		text-align: center;
	}

	.contact-grid {
		grid-template-columns: 1fr;
		gap: 2rem;
	}
}

@media (max-width: 768px) {
	.nav {
		position: fixed;
		top: 80px;
		left: -100%;
		width: 100%;
		height: calc(100vh - 80px);
		background-color: var(--bg-color);
		flex-direction: column;
		align-items: center;
		justify-content: center;
		transition: var(--transition);
	}

	.nav.active {
		left: 0;
	}

	.mobile-nav-toggle {
		display: flex;
	}



	h1.hero__title {
		font-size: 2.0rem !important;
	}

	h2.section-title {
		font-size: 2.0rem !important;
	}

	p.section-desc {
		font-size: 1.1rem !important;
		margin-bottom: 1rem !important;
	}

	p.hero__desc {
		font-size: 1.1rem !important;
	}

	.towel__content {
		flex-direction: column;
		text-align: center;
	}

	.contact-grid {
		grid-template-columns: 1fr;
		gap: 2rem;
	}

	.mt-5 {
		margin-top: 1rem !important;
	}

	.mb-5 {
		margin-bottom: 1rem !important;
	}

	.modal__container {
		padding: 1.5rem !important;
	}

	.modal__title {
		font-size: 2.0rem !important;
	}

	.modal__text {
		font-size: 1.0rem !important;
	}
}

/* Modal */
.modal {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 2000;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 2rem;
}

.modal.active {
	display: flex;
}

.modal__backdrop {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.85);
	backdrop-filter: blur(8px);
}

.modal__container {
	position: relative;
	background: var(--primary-color);
	width: 100%;
	max-width: 600px;
	border-radius: var(--border-radius);
	padding: 3rem;
	box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
	border: 1px solid rgba(255, 255, 255, 0.1);
	transform: translateY(20px);
	opacity: 0;
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal.active .modal__container {
	transform: translateY(0);
	opacity: 1;
}

.modal__close {
	position: absolute;
	top: 1.5rem;
	right: 1.5rem;
	background: none;
	border: none;
	color: #fff;
	font-size: 2rem;
	cursor: pointer;
	line-height: 1;
	opacity: 0.6;
	transition: var(--transition);
}

.modal__close:hover {
	opacity: 1;
	transform: rotate(90deg);
}

.modal__icon {
	width: 80px;
	height: 80px;
	margin: 0 auto 2rem;
	background-image: url('../assets/img/saunaskillers-icon_big-white.png');
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
}

.modal__title {
	font-size: 2.5rem;
	margin-bottom: 1.5rem;
	text-align: center;
	color: var(--text-color);
}

.modal__text {
	color: var(--text-muted);
	font-size: 1.1rem;
	line-height: 1.8;
	margin-bottom: 3rem;
	text-align: center;
}

.modal__actions {
	text-align: center;
}

/* Button variants */
.btn--small {
	padding: 0.6rem 1.5rem;
	font-size: 0.85rem;
}

.btn--outline {
	background: transparent;
	border: 1px solid var(--accent-color);
	color: var(--accent-color);
}

.btn--outline:hover {
	background: var(--accent-color);
	color: #fff;
}

.course-card .btn {
	margin-top: 2rem;
	width: 100%;
}


.modal__content>a {
	margin-top: 2rem;
}

.container,
.container-fluid,
.container-lg,
.container-md,
.container-sm,
.container-xl,
.container-xxl {
	--bs-gutter-x: 1.5rem;
	--bs-gutter-y: 0;
	width: 100%;
	padding-right: calc(var(--bs-gutter-x) * 1.5);
	padding-left: calc(var(--bs-gutter-x) * 1.5);
	margin-right: auto;
	margin-left: auto;
}