/**
 * Boxing Gym Theme - Main Styles
 * Dark theme with accent colors
 */

/* ===========================
   CSS Variables
=========================== */
:root {
	--color-primary: #c8a97e;
	--color-secondary: #d4af37;
	--color-accent: #e63946;
	--color-dark: #0a0a0a;
	--color-dark-alt: #1a1a1a;
	--color-dark-card: #151515;
	--color-gray: #333333;
	--color-gray-light: #555555;
	--color-text: #ffffff;
	--color-text-muted: #cccccc;
	--color-border: #2a2a2a;

	--font-primary: 'Oswald', sans-serif;
	--font-secondary: 'Roboto', sans-serif;

	--transition: all 0.3s ease;
	--shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
	--shadow-hover: 0 15px 60px rgba(0, 0, 0, 0.7);
}

/* ===========================
   Preloader
=========================== */
.preloader {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 99999;
	transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.fade-out {
	opacity: 0;
	visibility: hidden;
}

.preloader-content {
	text-align: center;
}

.boxing-gloves {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 60px;
	margin-bottom: 40px;
}

.glove {
	width: 120px;
	height: 120px;
	animation: punchAnimation 1.2s ease-in-out infinite;
}

.glove svg {
	width: 100%;
	height: 100%;
}

.glove-left {
	animation-delay: 0s;
	transform-origin: center;
}

.glove-left svg {
	filter: drop-shadow(0 8px 25px rgba(230, 57, 70, 0.6))
			drop-shadow(0 15px 40px rgba(157, 2, 8, 0.5))
			drop-shadow(0 0 30px rgba(255, 85, 85, 0.4));
}

.glove-right {
	animation-delay: 0.6s;
	transform-origin: center;
}

.glove-right svg {
	filter: drop-shadow(0 8px 25px rgba(58, 134, 255, 0.6))
			drop-shadow(0 15px 40px rgba(0, 119, 182, 0.5))
			drop-shadow(0 0 30px rgba(94, 179, 246, 0.4));
}

@keyframes punchAnimation {
	0%, 100% {
		transform: translateX(0) translateY(0) rotate(0deg) scale(1);
		opacity: 1;
	}
	15% {
		transform: translateX(-8px) translateY(-5px) rotate(-3deg) scale(0.95);
		opacity: 0.95;
	}
	40% {
		transform: translateX(25px) translateY(5px) rotate(5deg) scale(1.15);
		opacity: 1;
	}
	60% {
		transform: translateX(15px) translateY(3px) rotate(3deg) scale(1.05);
		opacity: 0.95;
	}
	75% {
		transform: translateX(0) translateY(0) rotate(0deg) scale(1);
		opacity: 1;
	}
}

.preloader-text h2 {
	font-family: var(--font-primary);
	font-size: 2rem;
	color: var(--color-primary);
	margin-bottom: 20px;
	text-transform: uppercase;
	letter-spacing: 3px;
	animation: fadeInOut 2s ease-in-out infinite;
}

@keyframes fadeInOut {
	0%, 100% {
		opacity: 0.6;
	}
	50% {
		opacity: 1;
	}
}

.loading-bar {
	width: 200px;
	height: 4px;
	background: var(--color-gray);
	border-radius: 2px;
	overflow: hidden;
	margin: 0 auto;
}

.loading-progress {
	height: 100%;
	background: linear-gradient(90deg, var(--color-primary), var(--color-accent), var(--color-secondary));
	background-size: 200% 100%;
	animation: loadingAnimation 5s linear forwards, gradientShift 2s linear infinite;
	border-radius: 2px;
}

@keyframes loadingAnimation {
	0% {
		width: 0%;
	}
	20% {
		width: 15%;
	}
	40% {
		width: 35%;
	}
	60% {
		width: 60%;
	}
	80% {
		width: 85%;
	}
	100% {
		width: 100%;
	}
}

@keyframes gradientShift {
	0% {
		background-position: 0% 50%;
	}
	50% {
		background-position: 100% 50%;
	}
	100% {
		background-position: 0% 50%;
	}
}

/* ===========================
   Reset & Base Styles
=========================== */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	font-size: 16px;
}

body {
	font-family: var(--font-secondary);
	font-size: 1rem;
	line-height: 1.6;
	color: var(--color-text);
	background-color: var(--color-dark);
	overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-primary);
	font-weight: 700;
	line-height: 1.2;
	margin-bottom: 1rem;
	text-transform: uppercase;
	letter-spacing: 2px;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
	margin-bottom: 1rem;
}

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

a:hover {
	color: var(--color-secondary);
}

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

ul {
	list-style: none;
}

/* ===========================
   Utility Classes
=========================== */
.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

.section-padding {
	padding: 100px 0;
}

.section-header {
	text-align: center;
	margin-bottom: 60px;
}

.section-title {
	color: var(--color-primary);
	position: relative;
	display: inline-block;
	padding-bottom: 20px;
}

.section-title::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 80px;
	height: 3px;
	background: linear-gradient(90deg, var(--color-accent), var(--color-primary));
}

.section-subtitle {
	color: var(--color-text-muted);
	font-size: 1.1rem;
	margin-top: 15px;
}

.btn {
	display: inline-block;
	padding: 15px 40px;
	font-family: var(--font-primary);
	font-size: 1rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 1px;
	border: 2px solid var(--color-primary);
	background: transparent;
	color: var(--color-primary);
	cursor: pointer;
	transition: var(--transition);
	position: relative;
	overflow: hidden;
	z-index: 1;
}

.btn::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: var(--color-primary);
	transition: var(--transition);
	z-index: -1;
}

.btn:hover::before {
	left: 0;
}

.btn:hover {
	color: var(--color-dark);
	border-color: var(--color-primary);
}

.btn-primary {
	background: var(--color-primary);
	color: var(--color-dark);
}

.btn-primary:hover {
	background: var(--color-secondary);
	border-color: var(--color-secondary);
}

/* ===========================
   Header
=========================== */
.site-header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	background: rgba(10, 10, 10, 0.95);
	backdrop-filter: blur(10px);
	z-index: 1000;
	transition: all 0.3s ease;
	border-bottom: 1px solid var(--color-border);
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.site-header.scrolled {
	background: rgba(10, 10, 10, 0.98);
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
	border-bottom-color: var(--color-primary);
}

.site-header.scrolled .header-container {
	padding: 15px 40px;
}

.header-container {
	max-width: 1400px;
	margin: 0 auto;
	padding: 20px 40px;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.site-branding .custom-logo {
	max-height: 60px;
	width: auto;
}

.site-title {
	font-size: 2rem;
	margin: 0;
}

.site-title a {
	color: var(--color-primary);
}

.main-navigation {
	display: flex;
	align-items: center;
	gap: 40px;
}

.menu-toggle {
	display: none;
	flex-direction: column;
	background: transparent;
	border: none;
	cursor: pointer;
	gap: 5px;
}

.menu-toggle-icon span {
	display: block;
	width: 30px;
	height: 3px;
	background: var(--color-primary);
	transition: var(--transition);
}

.nav-menu {
	display: flex;
	gap: 30px;
	margin: 0;
}

.nav-menu li a {
	font-family: var(--font-primary);
	font-size: 1rem;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: var(--color-text);
	padding: 10px 0;
	position: relative;
}

.nav-menu li a::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 0;
	height: 2px;
	background: var(--color-primary);
	transition: var(--transition);
}

.nav-menu li a:hover::after {
	width: 100%;
}

.nav-menu li a.active {
	color: var(--color-primary);
	transform: translateY(-2px);
}

.nav-menu li a.active::after {
	width: 100%;
	background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
}

.header-phone {
	font-family: var(--font-primary);
	font-size: 1.1rem;
	color: var(--color-primary);
	display: flex;
	align-items: center;
	gap: 10px;
}

/* ===========================
   Hero Section
=========================== */
.hero-section {
	position: relative;
	height: 100vh;
	min-height: 600px;
	overflow: hidden;
}

.hero-slider {
	position: relative;
	width: 100%;
	height: 100%;
}

.hero-slide {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	opacity: 0;
	transition: opacity 1s ease-in-out;
}

.hero-slide.active {
	opacity: 1;
}

.hero-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, rgba(10, 10, 10, 0.8) 0%, rgba(10, 10, 10, 0.4) 100%);
}

.hero-container {
	position: relative;
	height: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
	display: flex;
	align-items: center;
}

.hero-content {
	max-width: 700px;
	z-index: 2;
}

.hero-title {
	font-size: 4rem;
	color: var(--color-text);
	margin-bottom: 20px;
	text-shadow: 0px 0px 25px rgba(0, 0, 0, 0.65);
	animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
	font-size: 1.5rem;
	color: var(--color-text-muted);
	margin-bottom: 40px;
	animation: fadeInUp 1s ease-out 0.3s backwards;
}

.hero-buttons {
	display: flex;
	gap: 20px;
	animation: fadeInUp 1s ease-out 0.6s backwards;
}

.hero-controls {
	position: absolute;
	bottom: 50px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 10;
	display: flex;
	align-items: center;
	gap: 20px;
}

.hero-prev,
.hero-next {
	background: rgba(200, 169, 126, 0.2);
	border: 2px solid var(--color-primary);
	color: var(--color-primary);
	width: 50px;
	height: 50px;
	border-radius: 50%;
	font-size: 2rem;
	cursor: pointer;
	transition: var(--transition);
}

.hero-prev:hover,
.hero-next:hover {
	background: var(--color-primary);
	color: var(--color-dark);
}

.hero-indicators {
	display: flex;
	gap: 10px;
}

.hero-indicator {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.3);
	border: 2px solid var(--color-primary);
	cursor: pointer;
	transition: var(--transition);
}

.hero-indicator.active {
	background: var(--color-primary);
}

.scroll-indicator {
	position: absolute;
	bottom: 30px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 10;
}

.scroll-down {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 5px;
}

.scroll-down span {
	width: 2px;
	height: 15px;
	background: var(--color-primary);
	animation: scrollAnim 1.5s infinite;
}

.scroll-down span:nth-child(2) {
	animation-delay: 0.2s;
}

.scroll-down span:nth-child(3) {
	animation-delay: 0.4s;
}

/* ===========================
   About Section
=========================== */
.about-section {
	background: var(--color-dark);
}

.about-content-wrapper {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 60px;
	align-items: center;
}

.about-image {
	position: relative;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: var(--shadow);
}

.about-image img {
	width: 100%;
	height: auto;
	display: block;
}

.about-image-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, rgba(200, 169, 126, 0.2), transparent);
	pointer-events: none;
}

.about-description {
	font-size: 1.1rem;
	line-height: 1.8;
	color: var(--color-text-muted);
	margin-bottom: 30px;
}

.about-features {
	display: grid;
	gap: 15px;
}

.feature-item {
	display: flex;
	align-items: center;
	gap: 15px;
	padding: 15px;
	background: var(--color-dark-card);
	border-left: 3px solid var(--color-primary);
	transition: var(--transition);
}

.feature-item:hover {
	background: var(--color-gray);
	transform: translateX(10px);
}

.feature-icon {
	font-size: 1.5rem;
	color: var(--color-primary);
	font-weight: bold;
}

.feature-text {
	font-size: 1.1rem;
	color: var(--color-text);
}

/* ===========================
   Programs Section
=========================== */
.programs-section {
	background: var(--color-dark-alt);
}

.programs-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 30px;
}

.program-card {
	position: relative;
	background: var(--color-dark-card);
	padding: 40px 30px;
	border-radius: 10px;
	text-align: center;
	transition: var(--transition);
	overflow: hidden;
	border: 1px solid var(--color-border);
}

.program-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 3px;
	background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
	transform: scaleX(0);
	transition: var(--transition);
}

.program-card:hover::before {
	transform: scaleX(1);
}

.program-card:hover {
	transform: translateY(-10px);
	box-shadow: var(--shadow-hover);
	border-color: var(--color-primary);
}

.program-icon {
	width: 80px;
	height: 80px;
	margin: 0 auto 20px;
}

.program-icon img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	filter: brightness(0) saturate(100%) invert(77%) sepia(15%) saturate(772%) hue-rotate(354deg) brightness(92%) contrast(87%);
}

.program-title {
	color: var(--color-primary);
	margin-bottom: 15px;
}

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

.program-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 30px;
	opacity: 0;
	transition: var(--transition);
}

.program-card:hover .program-overlay {
	opacity: 0.95;
}

.program-overlay-content {
	color: var(--color-dark);
	text-align: center;
}

.program-overlay-content h4 {
	color: var(--color-dark);
	margin-bottom: 15px;
}

.program-overlay-content p {
	font-size: 0.95rem;
	line-height: 1.6;
}

/* ===========================
   Pricing Section
=========================== */
.pricing-section {
	background: var(--color-dark-alt);
}

.pricing-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 30px;
}

.pricing-card {
	position: relative;
	background: var(--color-dark-card);
	padding: 40px 30px;
	border-radius: 10px;
	text-align: center;
	border: 2px solid var(--color-border);
	transition: var(--transition);
}

.pricing-card:hover {
	transform: translateY(-10px);
	border-color: var(--color-primary);
	box-shadow: var(--shadow-hover);
}

.pricing-card.featured {
	border-color: var(--color-primary);
	transform: scale(1.05);
}

.pricing-badge {
	position: absolute;
	top: 20px;
	right: 20px;
	background: var(--color-accent);
	color: var(--color-text);
	padding: 5px 15px;
	border-radius: 20px;
	font-size: 0.85rem;
	font-weight: 600;
}

.pricing-name {
	color: var(--color-primary);
	margin-bottom: 20px;
}

.pricing-price {
	margin: 30px 0;
}

.price-amount {
	display: block;
	font-size: 3rem;
	font-family: var(--font-primary);
	color: var(--color-text);
	font-weight: 700;
}

.price-period {
	display: block;
	color: var(--color-text-muted);
	font-size: 1rem;
	margin-top: 10px;
}

.pricing-features {
	margin: 30px 0;
	text-align: left;
}

.pricing-features li {
	padding: 12px 0;
	color: var(--color-text-muted);
	border-bottom: 1px solid var(--color-border);
	position: relative;
	padding-left: 30px;
}

.pricing-features li::before {
	content: '✓';
	position: absolute;
	left: 0;
	color: var(--color-primary);
	font-weight: bold;
}

.btn-pricing {
	width: 100%;
	margin-top: 20px;
}

/* ===========================
   Gallery Section
=========================== */
.gallery-section {
	background: var(--color-dark);
}

.gallery-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 20px;
}

.gallery-item {
	position: relative;
	overflow: hidden;
	border-radius: 10px;
	aspect-ratio: 1/1;
	cursor: pointer;
}

.gallery-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: var(--transition);
}

.gallery-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(200, 169, 126, 0.9);
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
	opacity: 1;
}

.gallery-item:hover img {
	transform: scale(1.1);
}

.gallery-zoom {
	width: 60px;
	height: 60px;
	border-radius: 50%;
	background: var(--color-dark);
	color: var(--color-primary);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 2rem;
	font-weight: bold;
}

/* ===========================
   Trainers Section
=========================== */
.trainers-section {
	background: var(--color-dark-alt);
}

.trainers-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 40px;
}

.trainer-card {
	background: var(--color-dark-card);
	border-radius: 10px;
	overflow: hidden;
	transition: var(--transition);
	border: 1px solid var(--color-border);
}

.trainer-card:hover {
	transform: translateY(-10px);
	box-shadow: var(--shadow-hover);
	border-color: var(--color-primary);
}

.trainer-photo {
	position: relative;
	overflow: hidden;
	aspect-ratio: 1/1;
}

.trainer-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: var(--transition);
}

.trainer-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(200, 169, 126, 0.9);
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	transition: var(--transition);
}

.trainer-card:hover .trainer-overlay {
	opacity: 1;
}

.trainer-card:hover .trainer-photo img {
	transform: scale(1.1);
}

.trainer-social {
	display: flex;
	gap: 15px;
}

.trainer-social a {
	width: 45px;
	height: 45px;
	border-radius: 50%;
	background: var(--color-dark);
	color: var(--color-primary);
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 600;
	transition: var(--transition);
}

.trainer-social a:hover {
	background: var(--color-primary);
	color: var(--color-dark);
}

.trainer-info {
	padding: 25px;
	text-align: center;
}

.trainer-name {
	color: var(--color-primary);
	margin-bottom: 10px;
}

.trainer-specialization {
	color: var(--color-secondary);
	font-weight: 600;
	margin-bottom: 15px;
	text-transform: uppercase;
	font-size: 0.9rem;
}

.trainer-bio {
	color: var(--color-text-muted);
	font-size: 0.95rem;
	line-height: 1.6;
}

/* ===========================
   Schedule Section
=========================== */
.schedule-section {
	background: var(--color-dark);
}

.schedule-table-wrapper {
	overflow-x: auto;
}

.schedule-table {
	width: 100%;
	border-collapse: collapse;
	background: var(--color-dark-card);
	border-radius: 10px;
	overflow: hidden;
}

.schedule-table thead {
	background: var(--color-gray);
}

.schedule-table th {
	padding: 20px;
	text-align: left;
	color: var(--color-primary);
	font-family: var(--font-primary);
	text-transform: uppercase;
	border-bottom: 2px solid var(--color-primary);
}

.schedule-table td {
	padding: 20px;
	border-bottom: 1px solid var(--color-border);
	color: var(--color-text-muted);
}

.schedule-time {
	font-weight: 600;
	color: var(--color-primary);
	white-space: nowrap;
}

.class-item {
	padding: 10px;
	background: var(--color-gray);
	border-left: 3px solid var(--color-primary);
	margin-bottom: 10px;
}

.class-item:last-child {
	margin-bottom: 0;
}

.class-item strong {
	display: block;
	color: var(--color-text);
	margin-bottom: 5px;
}

.class-trainer {
	display: block;
	font-size: 0.9rem;
	color: var(--color-text-muted);
}

/* ===========================
   Testimonials Section
=========================== */
.testimonials-section {
	background: var(--color-dark-alt);
}

.testimonials-slider {
	position: relative;
	max-width: 800px;
	margin: 0 auto;
	min-height: 400px;
}

.testimonial-item {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	opacity: 0;
	transition: opacity 0.5s ease;
	pointer-events: none;
}

.testimonial-item.active {
	opacity: 1;
	pointer-events: auto;
}

.testimonial-content {
	background: var(--color-dark-card);
	padding: 50px;
	border-radius: 10px;
	text-align: center;
	border: 1px solid var(--color-border);
}

.testimonial-quote {
	font-size: 1.3rem;
	line-height: 1.8;
	color: var(--color-text-muted);
	font-style: italic;
	margin-bottom: 30px;
	position: relative;
}

.testimonial-quote::before {
	content: '"';
	font-size: 4rem;
	color: var(--color-primary);
	opacity: 0.3;
	position: absolute;
	top: -20px;
	left: -20px;
}

.testimonial-author {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 20px;
	margin-top: 30px;
}

.testimonial-photo {
	width: 70px;
	height: 70px;
	border-radius: 50%;
	object-fit: cover;
	border: 3px solid var(--color-primary);
}

.testimonial-meta {
	text-align: left;
}

.testimonial-name {
	color: var(--color-primary);
	font-size: 1.2rem;
	margin-bottom: 5px;
}

.testimonial-title {
	color: var(--color-text-muted);
	font-size: 0.9rem;
	margin: 0;
}

.testimonial-rating {
	margin-top: 20px;
}

.star {
	color: #555;
	font-size: 1.5rem;
}

.star.filled {
	color: var(--color-secondary);
}

.testimonials-controls {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 20px;
	margin-top: 40px;
}

.testimonial-prev,
.testimonial-next {
	background: transparent;
	border: 2px solid var(--color-primary);
	color: var(--color-primary);
	width: 45px;
	height: 45px;
	border-radius: 50%;
	font-size: 1.5rem;
	cursor: pointer;
	transition: var(--transition);
}

.testimonial-prev:hover,
.testimonial-next:hover {
	background: var(--color-primary);
	color: var(--color-dark);
}

.testimonial-indicators {
	display: flex;
	gap: 10px;
}

.testimonial-indicator {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--color-gray);
	border: none;
	cursor: pointer;
	transition: var(--transition);
}

.testimonial-indicator.active {
	background: var(--color-primary);
}

/* ===========================
   Contact Section
=========================== */
.contact-section {
	background: var(--color-dark);
}

.contact-wrapper {
	display: grid;
	grid-template-columns: 1fr 1.5fr;
	gap: 60px;
	margin-bottom: 60px;
}

.contact-info-items {
	display: flex;
	flex-direction: column;
	gap: 30px;
}

.contact-info-item {
	display: flex;
	gap: 20px;
	padding: 25px;
	background: var(--color-dark-card);
	border-radius: 10px;
	border: 1px solid var(--color-border);
	transition: var(--transition);
}

.contact-info-item:hover {
	border-color: var(--color-primary);
	transform: translateX(10px);
}

.contact-icon {
	font-size: 2rem;
	min-width: 50px;
}

.contact-details h3 {
	color: var(--color-primary);
	margin-bottom: 10px;
	font-size: 1.2rem;
}

.contact-details p {
	color: var(--color-text-muted);
	margin: 0;
}

.gym-contact-form {
	background: var(--color-dark-card);
	padding: 40px;
	border-radius: 10px;
	border: 1px solid var(--color-border);
}

.form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
}

.form-group {
	margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
	width: 100%;
	padding: 15px 20px;
	background: var(--color-gray);
	border: 1px solid var(--color-border);
	border-radius: 5px;
	color: var(--color-text);
	font-family: var(--font-secondary);
	font-size: 1rem;
	transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
	outline: none;
	border-color: var(--color-primary);
	background: var(--color-gray-light);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
	color: var(--color-text-muted);
}

.gym-contact-form button[type="submit"] {
	width: 100%;
	margin-top: 20px;
}

.form-message {
	margin-top: 20px;
	padding: 15px;
	border-radius: 5px;
	display: none;
}

.form-message.success {
	display: block;
	background: rgba(76, 175, 80, 0.2);
	color: #4caf50;
	border: 1px solid #4caf50;
}

.form-message.error {
	display: block;
	background: rgba(244, 67, 54, 0.2);
	color: #f44336;
	border: 1px solid #f44336;
}

/* Contact Form 7 Styles */
.wpcf7 {
	background: var(--color-dark-card);
	padding: 40px;
	border-radius: 10px;
	border: 1px solid var(--color-border);
}

.wpcf7 .form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
	margin-bottom: 20px;
}

.wpcf7 .form-group {
	margin-bottom: 0;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea {
	width: 100%;
	padding: 15px 20px;
	background: var(--color-gray);
	border: 1px solid var(--color-border);
	border-radius: 5px;
	color: var(--color-text);
	font-family: var(--font-secondary);
	font-size: 1rem;
	transition: var(--transition);
}

.wpcf7 input:focus,
.wpcf7 textarea:focus {
	outline: none;
	border-color: var(--color-primary);
	background: var(--color-gray-light);
}

.wpcf7 input::placeholder,
.wpcf7 textarea::placeholder {
	color: var(--color-text-muted);
}

.wpcf7 textarea {
	min-height: 150px;
	resize: vertical;
}

.wpcf7 input[type="submit"] {
	width: 100%;
	margin-top: 20px;
	padding: 20px 50px;
	background: linear-gradient(135deg, #c8a97e 0%, #d4af37 50%, #c8a97e 100%);
	background-size: 200% auto;
	color: #0a0a0a;
	border: none;
	border-radius: 50px;
	font-family: var(--font-primary);
	font-size: 1.15rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 3px;
	cursor: pointer;
	transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
	position: relative;
	overflow: hidden;
	box-shadow:
		0 4px 15px rgba(200, 169, 126, 0.4),
		0 1px 3px rgba(0, 0, 0, 0.2),
		inset 0 -2px 5px rgba(0, 0, 0, 0.1),
		inset 0 2px 5px rgba(255, 255, 255, 0.3);
	animation: pulseGlow 3s ease-in-out infinite;
}

/* Animated gradient background */
@keyframes gradientShift {
	0% { background-position: 0% center; }
	50% { background-position: 100% center; }
	100% { background-position: 0% center; }
}

/* Pulsing glow effect */
@keyframes pulseGlow {
	0%, 100% {
		box-shadow:
			0 4px 15px rgba(200, 169, 126, 0.4),
			0 1px 3px rgba(0, 0, 0, 0.2),
			inset 0 -2px 5px rgba(0, 0, 0, 0.1),
			inset 0 2px 5px rgba(255, 255, 255, 0.3);
	}
	50% {
		box-shadow:
			0 4px 25px rgba(200, 169, 126, 0.6),
			0 0 30px rgba(212, 175, 55, 0.4),
			0 1px 3px rgba(0, 0, 0, 0.2),
			inset 0 -2px 5px rgba(0, 0, 0, 0.1),
			inset 0 2px 5px rgba(255, 255, 255, 0.3);
	}
}

/* Shine effect that moves across the button */
.wpcf7 input[type="submit"]::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 50%;
	height: 100%;
	background: linear-gradient(
		90deg,
		transparent,
		rgba(255, 255, 255, 0.4),
		transparent
	);
	transform: skewX(-25deg);
	transition: left 0.7s ease;
}

/* Animated border glow */
.wpcf7 input[type="submit"]::after {
	content: '';
	position: absolute;
	top: -2px;
	left: -2px;
	right: -2px;
	bottom: -2px;
	background: linear-gradient(45deg, #c8a97e, #d4af37, #e6c84f, #d4af37, #c8a97e);
	background-size: 400%;
	border-radius: 50px;
	z-index: -1;
	opacity: 0;
	transition: opacity 0.4s ease;
	animation: borderRotate 3s linear infinite;
}

@keyframes borderRotate {
	0% { background-position: 0% 50%; }
	50% { background-position: 100% 50%; }
	100% { background-position: 0% 50%; }
}

/* Hover effects */
.wpcf7 input[type="submit"]:hover {
	transform: translateY(-4px) scale(1.02);
	box-shadow:
		0 12px 35px rgba(200, 169, 126, 0.6),
		0 0 40px rgba(212, 175, 55, 0.5),
		0 1px 3px rgba(0, 0, 0, 0.3),
		inset 0 -2px 8px rgba(0, 0, 0, 0.15),
		inset 0 2px 8px rgba(255, 255, 255, 0.4);
	animation: gradientShift 2s ease infinite, pulseGlow 1.5s ease-in-out infinite;
	letter-spacing: 4px;
}

.wpcf7 input[type="submit"]:hover::before {
	left: 150%;
	transition: left 0.7s ease;
}

.wpcf7 input[type="submit"]:hover::after {
	opacity: 0.8;
}

/* Active/Click effect */
.wpcf7 input[type="submit"]:active {
	transform: translateY(-1px) scale(0.98);
	box-shadow:
		0 2px 10px rgba(200, 169, 126, 0.4),
		0 1px 3px rgba(0, 0, 0, 0.2),
		inset 0 2px 8px rgba(0, 0, 0, 0.2);
	transition: all 0.1s ease;
}

/* Ripple effect on click */
.wpcf7 input[type="submit"]:active::before {
	animation: ripple 0.6s ease-out;
}

@keyframes ripple {
	0% {
		width: 0;
		height: 0;
		opacity: 0.8;
		left: 50%;
		top: 50%;
	}
	100% {
		width: 300px;
		height: 300px;
		opacity: 0;
		left: calc(50% - 150px);
		top: calc(50% - 150px);
		border-radius: 50%;
		background: radial-gradient(circle, rgba(255, 255, 255, 0.5), transparent);
	}
}

.wpcf7-response-output {
	margin-top: 20px !important;
	padding: 15px !important;
	border-radius: 5px !important;
	border: none !important;
	font-family: var(--font-secondary) !important;
}

.wpcf7-mail-sent-ok {
	background: linear-gradient(135deg, rgba(76, 175, 80, 0.2), rgba(102, 187, 106, 0.3)) !important;
	color: #4caf50 !important;
	border: 2px solid #4caf50 !important;
	animation: successPulse 0.6s ease-out, successShake 0.5s ease-in-out;
	position: relative;
	overflow: visible;
	padding-left: 45px !important;
	font-weight: 600;
}

@keyframes successPulse {
	0% {
		transform: scale(0.95);
		opacity: 0;
	}
	50% {
		transform: scale(1.05);
	}
	100% {
		transform: scale(1);
		opacity: 1;
	}
}

@keyframes successShake {
	0%, 100% { transform: translateX(0); }
	25% { transform: translateX(-10px); }
	75% { transform: translateX(10px); }
}

.wpcf7-mail-sent-ok::before {
	content: '✓';
	position: absolute;
	left: 15px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 1.5rem;
	font-weight: bold;
	animation: checkMark 0.8s ease-out;
}

@keyframes checkMark {
	0% {
		transform: translateY(-50%) scale(0) rotate(-180deg);
		opacity: 0;
	}
	50% {
		transform: translateY(-50%) scale(1.3) rotate(0deg);
	}
	100% {
		transform: translateY(-50%) scale(1) rotate(0deg);
		opacity: 1;
	}
}

.wpcf7-validation-errors,
.wpcf7-mail-sent-ng {
	background: rgba(244, 67, 54, 0.2) !important;
	color: #f44336 !important;
	border: 1px solid #f44336 !important;
}

.wpcf7-not-valid-tip {
	color: #f44336;
	font-size: 0.9rem;
	margin-top: 5px;
}

.wpcf7-spinner {
	margin-left: 10px;
	border: 3px solid rgba(200, 169, 126, 0.3);
	border-top-color: var(--color-primary);
	border-radius: 50%;
	width: 20px;
	height: 20px;
	animation: spin 0.8s linear infinite;
}

@keyframes spin {
	to { transform: rotate(360deg); }
}

/* Loading state for submit button */
.wpcf7 form.submitting input[type="submit"] {
	opacity: 0.7;
	cursor: not-allowed;
	pointer-events: none;
}

/* Paper plane icon that flies on hover */
.wpcf7-submit {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	gap: 12px;
}

.wpcf7-submit .submit-icon {
	font-size: 1.3rem;
	display: inline-block;
	transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
	filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.wpcf7-submit:hover .submit-icon {
	transform: translateX(-5px) rotate(-15deg) scale(1.15);
	filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.8)) drop-shadow(0 4px 8px rgba(0, 0, 0, 0.4));
	animation: iconBounce 0.6s ease-in-out;
}

@keyframes iconBounce {
	0%, 100% { transform: translateX(-5px) rotate(-15deg) scale(1.15); }
	50% { transform: translateX(-8px) rotate(-20deg) scale(1.2); }
}

.contact-map {
	width: 100%;
	height: 450px;
	border-radius: 10px;
	overflow: hidden;
	border: 2px solid var(--color-border);
	margin-top: 40px;
	box-shadow: var(--shadow);
	transition: var(--transition);
}

.contact-map:hover {
	border-color: var(--color-primary);
	box-shadow: var(--shadow-hover);
}

.contact-map iframe {
	width: 100%;
	height: 100%;
	border: none;
	display: block;
}

/* ===========================
   Footer
=========================== */
.site-footer {
	background: var(--color-dark-alt);
	border-top: 1px solid var(--color-border);
	padding: 60px 0 0;
}

.footer-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

.footer-content {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 40px;
	margin-bottom: 40px;
}

.footer-section h3 {
	color: var(--color-primary);
	margin-bottom: 20px;
	font-size: 1.3rem;
}

.footer-logo {
	margin-bottom: 20px;
}

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

.footer-description {
	color: var(--color-text-muted);
	line-height: 1.8;
}

.contact-list {
	display: flex;
	flex-direction: column;
	gap: 15px;
}

.contact-list li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	color: var(--color-text-muted);
}

.contact-list .icon {
	font-size: 1.2rem;
}

.opening-hours p {
	color: var(--color-text-muted);
	margin-bottom: 5px;
}

.social-links {
	display: flex;
	gap: 15px;
	flex-wrap: wrap;
}

.social-link {
	width: 45px;
	height: 45px;
	border-radius: 50%;
	background: var(--color-gray);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--color-primary);
	font-weight: 600;
	transition: var(--transition);
}

.social-link:hover {
	background: var(--color-primary);
	color: var(--color-dark);
	transform: translateY(-5px);
}

.social-link span {
	font-size: 0.8rem;
}

.footer-bottom {
	padding: 30px 0;
	border-top: 1px solid var(--color-border);
	text-align: center;
}

.copyright {
	color: var(--color-text-muted);
	font-size: 0.9rem;
}

/* ===========================
   Back to Top Button
=========================== */
.back-to-top {
	position: fixed;
	bottom: 30px;
	right: 30px;
	width: 50px;
	height: 50px;
	background: var(--color-primary);
	color: var(--color-dark);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.5rem;
	opacity: 0;
	visibility: hidden;
	transition: var(--transition);
	z-index: 999;
}

.back-to-top.show {
	opacity: 1;
	visibility: visible;
}

.back-to-top:hover {
	background: var(--color-secondary);
	transform: translateY(-5px);
}

/* ===========================
   Animations
=========================== */
@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes scrollAnim {
	0%, 100% {
		opacity: 0;
		transform: translateY(0);
	}
	50% {
		opacity: 1;
		transform: translateY(10px);
	}
}

/* ===========================
   Responsive Design
=========================== */
@media (max-width: 1024px) {
	h1 { font-size: 3rem; }
	h2 { font-size: 2.2rem; }

	.hero-title {
		font-size: 3rem;
	}

	.about-content-wrapper,
	.contact-wrapper {
		grid-template-columns: 1fr;
	}

	.trainers-grid {
		grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	}
}

@media (max-width: 768px) {
	.header-container {
		padding: 15px 20px;
	}

	.menu-toggle {
		display: flex;
	}

	.nav-menu {
		position: fixed;
		top: 80px;
		left: -100%;
		width: 100%;
		height: calc(100vh - 80px);
		background: rgba(10, 10, 10, 0.98);
		flex-direction: column;
		padding: 40px;
		gap: 20px;
		transition: var(--transition);
	}

	.nav-menu.active {
		left: 0;
	}

	.header-contact {
		display: none;
	}

	h1 { font-size: 2.5rem; }
	h2 { font-size: 2rem; }

	.section-padding {
		padding: 60px 0;
	}

	.hero-title {
		font-size: 2.5rem;
	}

	.hero-subtitle {
		font-size: 1.2rem;
	}

	.hero-buttons {
		flex-direction: column;
		align-items: flex-start;
	}

	.programs-grid,
	.pricing-grid,
	.gallery-grid {
		grid-template-columns: 1fr;
	}

	.form-row {
		grid-template-columns: 1fr;
	}

	.footer-content {
		grid-template-columns: 1fr;
	}

	.testimonial-content {
		padding: 30px 20px;
	}

	.schedule-table {
		font-size: 0.9rem;
	}

	.schedule-table th,
	.schedule-table td {
		padding: 10px;
	}
}

@media (max-width: 480px) {
	h1 { font-size: 2rem; }
	h2 { font-size: 1.7rem; }

	.hero-title {
		font-size: 2rem;
	}

	.btn {
		padding: 12px 30px;
		font-size: 0.9rem;
	}

	.back-to-top {
		width: 40px;
		height: 40px;
		bottom: 20px;
		right: 20px;
	}
}
