/* Base Styles */
:root {
	--jgs-maroon-color: #751010;
	--jgs-maroon2-color: #442020;
	--jgs-gray-color: #625e5e;
	--jgs-body-bg-color: #f8f9fa;
	--jgs-text-color: #333;
	--jgs-text-light: #666;
	--jgs-text-lighter: #999;
	--jgs-border-color: #ddd;
	--jgs-border-light: #eee;
	--jgs-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
	--jgs-shadow-hover: 0 10px 30px rgba(0, 0, 0, 0.1);
	--jgs-transition: all 0.3s ease;
	--jgs-border-radius: 15px;
	--jgs-border-radius-small: 8px;
}

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

body {
	font-family: 'Poppins', sans-serif;
	line-height: 1.6;
	color: var(--jgs-text-color);
	background-color: var(--jgs-body-bg-color);
}

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

/* Navigation */
.navbar {
	background: var(--jgs-gray-color);
	color: white;
	padding: 1rem 0;
	position: fixed;
	top: 0;
	width: 100%;
	z-index: 1000;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

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

.nav-logo {
	display: flex;
	align-items: center;
	gap: 10px;
}

.logo {
	height: 40px;
	width: 40px;
	border-radius: 50%;
	background: var(--jgs-maroon-color);
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
	font-weight: bold;
	font-size: 1.2rem;
}

.logo::before {
	content: "G";
}

.nav-logo span {
	font-size: 1.5rem;
	font-weight: 600;
	/* color: #751010; */
	color: white;
}

.nav-menu {
	display: flex;
	list-style: none;
	gap: 2rem;
}

.nav-item {
	position: relative;
}

.nav-link {
	color: white;
	text-decoration: none;
	font-weight: 500;
	transition: color 0.3s;
	display: flex;
	align-items: center;
	gap: 5px;
    justify-content: center;
}

.nav-link:hover,
.nav-link.active {
	color: var(--jgs-maroon-color);
}

.dropdown-menu {
	position: absolute;
	top: 100%;
	left: 0;
	background: white;
	min-width: 150px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
	border-radius: 5px;
	opacity: 0;
	visibility: hidden;
	transform: translateY(-10px);
	transition: all 0.3s;
}

.dropdown:hover .dropdown-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.dropdown-item {
	display: block;
	padding: 10px 15px;
	color: #333;
	text-decoration: none;
	transition: background 0.3s;
}

.dropdown-item:hover {
	background: var(--jgs-body-bg-color);
	color: var(--jgs-maroon-color);
}

.hamburger {
	display: none;
	flex-direction: column;
	cursor: pointer;
}

.bar {
	width: 25px;
	height: 3px;
	background: white;
	margin: 3px 0;
	transition: 0.3s;
}

/* Hero Section */
.hero {
	display: flex;
	align-items: center;
	min-height: 100vh;
	padding: 100px 20px 50px;
	max-width: 1200px;
	margin: 0 auto;
	gap: 3rem;
}

.hero-content {
	flex: 1;
}

.hero-title {
	font-size: 3.5rem;
	font-weight: 700;
	color: var(--jgs-gray-color);
	margin-bottom: 1rem;
	line-height: 1.2;
}

.hero-subtitle {
	font-size: 1.5rem;
	color: var(--jgs-maroon-color);
	font-weight: 600;
	margin-bottom: 1rem;
}

.hero-description {
	font-size: 1.1rem;
	color: #666;
	margin-bottom: 2rem;
	line-height: 1.8;
}

.hero-buttons {
	display: flex;
	gap: 1rem;
	flex-wrap: wrap;
}

.btn {
	padding: 12px 30px;
	border: none;
	border-radius: 30px;
	font-size: 1rem;
	font-weight: 600;
	text-decoration: none;
	cursor: pointer;
	transition: all 0.3s;
	display: inline-block;
}

.btn-primary {
	background: var(--jgs-maroon-color);
	color: white;
}

.btn-primary:hover {
	background: var(--jgs-gray-color);
	transform: translateY(-2px);
}

.btn-secondary {
	background: transparent;
	color: var(--jgs-maroon-color);
	border: 2px solid var(--jgs-maroon-color);
}

.btn-secondary:hover {
	background: var(--jgs-maroon-color);
	color: white;
	transform: translateY(-2px);
}

.btn-outline {
	background: transparent;
	color: #333;
	border: 2px solid #333;
}

.btn-outline:hover {
	background: #333;
	color: white;
}

.hero-image {
	flex: 1;
	text-align: center;
}

.hero-image img {
	width: 100%;
	max-width: 500px;
	height: auto;
	border-radius: 15px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Features Section */
.features {
	padding: 80px 0;
	background: white;
}

.section-title {
	text-align: center;
	font-size: 2.5rem;
	font-weight: 700;
	color: var(--jgs-gray-color);
	margin-bottom: 3rem;
}

.features-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 2rem;
}

.feature-card {
	text-align: center;
	padding: 2rem;
	border-radius: var(--jgs-border-radius);
	background: var(--jgs-body-bg-color);
	transition: var(--jgs-transition);
	box-shadow: var(--jgs-shadow);
}

.feature-card:hover {
	transform: translateY(-5px);
	box-shadow: var(--jgs-shadow-hover);
}

.feature-icon {
	font-size: 3rem;
	color: var(--jgs-maroon-color);
	margin-bottom: 1rem;
}

.feature-card h3 {
	font-size: 1.5rem;
	font-weight: 600;
	color: var(--jgs-gray-color);
	margin-bottom: 1rem;
}

.feature-card p {
	color: #666;
	line-height: 1.8;
}

/* Divisions Section */
.divisions {
	padding: 80px 0;
	background: var(--jgs-body-bg-color);
}

.divisions-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 2rem;
}

.division-card {
	display: flex;
	flex-direction: column;
	min-height: 200px;
	background: white;
	border-radius: 15px;
	overflow: hidden;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
	transition: all 0.3s ease;
}

.division-card:hover {
	transform: translateY(-5px);
}

.division-header {
	text-align: center;
	padding: 2rem 1.5rem 1rem;
	background: linear-gradient(135deg, var(--jgs-maroon-color), var(--jgs-maroon2-color));
	color: white;
	position: relative;
}

.division-header::after {
	content: '';
	position: absolute;
	bottom: -10px;
	left: 50%;
	transform: translateX(-50%);
	width: 0;
	height: 0;
	border-left: 15px solid transparent;
	border-right: 15px solid transparent;
	border-top: 15px solid var(--jgs-maroon2-color);
}

.division-icon {
	font-size: 3rem;
	margin-bottom: 1rem;
	opacity: 0.9;
}

.division-subtitle {
	font-size: 1rem;
	opacity: 0.9;
	margin-top: 0.5rem;
}

.division-content {
	padding: 2rem 1.5rem;
	flex-grow: 1;
}

.division-highlights {
	margin: 1.5rem 0;
}

.highlight-item {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: 0.75rem;
	color: #666;
}

.highlight-item i {
	color: var(--jgs-maroon-color);
	font-size: 1.1rem;
	width: 20px;
}

.division-stats {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1rem;
	margin-top: 1.5rem;
	padding: 1rem;
	background: var(--jgs-body-bg-color);
	border-radius: 10px;
}

.division-stats .stat-item {
	text-align: center;
}

.division-stats .stat-number {
	display: block;
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--jgs-maroon-color);
}

.division-stats .stat-label {
	display: block;
	font-size: 0.9rem;
	color: #666;
}

.division-footer {
	padding: 1.5rem;
	text-align: center;
	border-top: 1px solid #eee;
}

.division-footer .btn {
	pointer-events: none;
	width: 100%;
	justify-content: center;
}

/* Footer */
.footer {
	background: var(--jgs-gray-color);
	color: white;
	padding: 50px 0 20px;
}

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

.footer-section h4 {
	font-size: 1.25rem;
	font-weight: 600;
	margin-bottom: 1rem;
	color: var(--jgs-maroon-color);
}

.footer-section p {
	color: #ccc;
	line-height: 1.8;
}

.footer-section ul {
	list-style: none;
}

.footer-section ul li {
	margin-bottom: 0.5rem;
}

.footer-section ul li a {
	color: #ccc;
	text-decoration: none;
	transition: color 0.3s;
}

.footer-section ul li a:hover {
	color: var(--jgs-maroon-color);
}

.social-links {
	display: flex;
	gap: 1rem;
	margin-top: 1rem;
}

.social-links a {
	color: #ccc;
	font-size: 1.5rem;
	transition: color 0.3s;
}

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

.footer-bottom {
	text-align: center;
	padding-top: 2rem;
	border-top: 1px solid #333;
	color: #ccc;
}

/* Tabs */
.tabs {
	margin-bottom: 2rem;
}

.tab-buttons {
	display: flex;
	background: white;
	border-radius: 10px;
	padding: 5px;
	margin-bottom: 2rem;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.tab-button {
	flex: 1;
	padding: 15px;
	background: transparent;
	border: none;
	border-radius: 8px;
	cursor: pointer;
	font-weight: 600;
	transition: all 0.3s;
	color: #666;
}

.tab-button.active {
	background: var(--jgs-maroon-color);
	color: white;
}

.tab-content {
	display: none;
	animation: fadeIn 0.3s;
}

.tab-content.active {
	display: block;
}

@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(10px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Team Cards */
.team-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 2rem;
}

.team-card {
	background: white;
	border-radius: 15px;
	overflow: hidden;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
	transition: transform 0.3s;
}

.team-card:hover {
	transform: translateY(-5px);
}

.team-header {
	background: var(--jgs-maroon-color);
	color: white;
	padding: 1.5rem;
	text-align: center;
}

.team-header h3 {
	font-size: 1.5rem;
	margin-bottom: 0.5rem;
}

.team-info {
	padding: 1.5rem;
}

.team-stats {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1rem;
	margin-bottom: 1.5rem;
}

.stat-item {
	text-align: center;
	padding: 1rem;
	background: var(--jgs-body-bg-color);
	border-radius: 10px;
}

.stat-number {
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--jgs-maroon-color);
}

.stat-label {
	font-size: 0.9rem;
	color: #666;
}

/* Schedule Table */
.schedule-table {
	background: white;
	border-radius: 15px;
	overflow: hidden;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.schedule-table table {
	width: 100%;
	border-collapse: collapse;
}

.schedule-table th,
.schedule-table td {
	padding: 1rem;
	text-align: left;
	border-bottom: 1px solid #eee;
}

.schedule-table th {
	background: var(--jgs-maroon-color);
	color: white;
	font-weight: 600;
}

.schedule-table tr:hover {
	background: var(--jgs-body-bg-color);
}

/* Page Header */
.page-header {
	background: linear-gradient(135deg, var(--jgs-maroon-color), #462020);
	color: white;
	padding: 80px 0 20px;
	text-align: center;
}

.page-header h1 {
	font-size: 3rem;
	font-weight: 700;
	margin-bottom: 1rem;
}

.page-header p {
	font-size: 1.25rem;
	opacity: 0.9;
}

/* Content Section */
.content-section {
	padding: 80px 0;
	background: white;
}

/* Form Styles */
.form-group {
	margin-bottom: 1.5rem;
}

.form-group label {
	display: block;
	margin-bottom: 0.5rem;
	font-weight: 600;
	color: #333;
}

.form-control {
	width: 100%;
	padding: 12px;
	border: 2px solid #ddd;
	border-radius: 8px;
	font-size: 1rem;
	transition: border-color 0.3s;
}

.form-control:focus {
	outline: none;
	border-color: var(--jgs-maroon-color);
}

textarea.form-control {
	resize: vertical;
	min-height: 120px;
}

/* Additional styles for About page */
.about-content {
	display: grid;
	grid-template-columns: 2fr 1fr;
	gap: 3rem;
	align-items: start;
}

.about-text h2 {
	font-size: 2rem;
	color: var(--jgs-gray-color);
	margin-bottom: 1rem;
}

.about-text h3 {
	font-size: 1.5rem;
	color: var(--jgs-maroon-color);
	margin: 2rem 0 1rem;
}

.about-text p {
	color: #666;
	line-height: 1.8;
	margin-bottom: 1.5rem;
}

.about-stats {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem;
}

.stat-card {
	background: white;
	padding: 2rem;
	border-radius: 15px;
	text-align: center;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
	transition: transform 0.3s;
}

.stat-card:hover {
	transform: translateY(-5px);
}

.stat-card .stat-number {
	font-size: 2.5rem;
	font-weight: 700;
	color: var(--jgs-maroon-color);
	margin-bottom: 0.5rem;
}

.stat-card .stat-label {
	color: #666;
	font-weight: 500;
}

/* Values Section */
.values-section {
	padding: 80px 0;
	background: var(--jgs-body-bg-color);
}

.values-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 2rem;
}

.value-card {
	background: white;
	padding: 2rem;
	border-radius: 15px;
	text-align: center;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
	transition: transform 0.3s;
}

.value-card:hover {
	transform: translateY(-5px);
}

.value-icon {
	font-size: 3rem;
	color: var(--jgs-maroon-color);
	margin-bottom: 1rem;
}

.value-card h3 {
	font-size: 1.5rem;
	color: var(--jgs-gray-color);
	margin-bottom: 1rem;
}

.value-card p {
	color: #666;
	line-height: 1.8;
}

/* Coaching Section */
.coaching-section {
	padding: 80px 0;
	background: white;
}

.coaches-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 2rem;
}

.coach-card {
	background: var(--jgs-body-bg-color);
	border-radius: 15px;
	overflow: hidden;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
	transition: transform 0.3s;
}

.coach-card:hover {
	transform: translateY(-5px);
}

.coach-image {
	background: #f0f0f0;
	color: #999;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.2rem;
}

.coach-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.coach-info {
	padding: 1.5rem;
}

.coach-info h3 {
	font-size: 1.25rem;
	color: var(--jgs-gray-color);
	margin-bottom: 0.5rem;
}

.coach-title {
	color: var(--jgs-maroon-color);
	font-weight: 600;
	margin-bottom: 1rem;
}

.coach-info p {
	color: #666;
	line-height: 1.8;
}

/* Achievements Section */
.achievements-section {
	padding: 80px 0;
	background: var(--jgs-body-bg-color);
}

.achievements-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 2rem;
}

.achievement-item {
	background: white;
	padding: 2rem;
	border-radius: 15px;
	border-left: 4px solid var(--jgs-maroon-color);
	transition: transform 0.3s;
}

.achievement-item:hover {
	transform: translateY(-5px);
}

.achievement-year {
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--jgs-maroon-color);
	margin-bottom: 0.5rem;
}

.achievement-title {
	font-size: 1.25rem;
	font-weight: 600;
	color: var(--jgs-gray-color);
	margin-bottom: 1rem;
}

.achievement-item p {
	color: #666;
	line-height: 1.8;
}

/* Contact Page Styles */
.contact-content {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 4rem;
	align-items: start;
}

.contact-info h2 {
	font-size: 2rem;
	color: var(--jgs-gray-color);
	margin-bottom: 1rem;
}

.contact-info>p {
	color: #666;
	line-height: 1.8;
	margin-bottom: 2rem;
}

.contact-details {
	margin-bottom: 2rem;
}

.contact-item {
	display: flex;
	align-items: flex-start;
	gap: 1rem;
	margin-bottom: 2rem;
}

.contact-icon {
	background: var(--jgs-maroon-color);
	color: white;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.25rem;
	flex-shrink: 0;
}

.contact-text h3 {
	font-size: 1.25rem;
	color: var(--jgs-gray-color);
	margin-bottom: 0.5rem;
}

.contact-text p {
	color: #666;
	line-height: 1.6;
	margin-bottom: 0.25rem;
}

.social-section {
	margin-top: 2rem;
}

.social-section h3 {
	font-size: 1.25rem;
	color: var(--jgs-gray-color);
	margin-bottom: 1rem;
}

.social-section .social-links {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.social-link {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	color: #666;
	text-decoration: none;
	transition: color 0.3s;
}

.social-link:hover {
	color: var(--jgs-maroon-color);
}

/* Contact Form */
.contact-form {
	background: white;
	padding: 2rem;
	border-radius: 15px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-form h2 {
	font-size: 2rem;
	color: var(--jgs-gray-color);
	margin-bottom: 1.5rem;
}

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

/* Schedule Badge Styles */
.badge {
	padding: 0.25rem 0.75rem;
	border-radius: 20px;
	font-size: 0.875rem;
	font-weight: 600;
	text-transform: uppercase;
}

.badge.home {
	background: #28a745;
	color: white;
}

.badge.away {
	background: #dc3545;
	color: white;
}

/* FAQ Section */
.faq-section {
	padding: 80px 0;
	background: white;
}

.faq-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
	gap: 2rem;
}

.faq-item {
	background: var(--jgs-body-bg-color);
	padding: 2rem;
	border-radius: 15px;
	border-left: 4px solid var(--jgs-maroon-color);
}

.faq-item h3 {
	font-size: 1.25rem;
	color: var(--jgs-gray-color);
	margin-bottom: 1rem;
}

.faq-item p {
	color: #666;
	line-height: 1.8;
}

/* Division Intro */
.division-intro {
	text-align: center;
	margin-bottom: 3rem;
}

.division-intro h2 {
	font-size: 2.5rem;
	color: var(--jgs-gray-color);
	margin-bottom: 1rem;
}

.division-intro p {
	font-size: 1.1rem;
	color: #666;
	max-width: 800px;
	margin: 0 auto;
	line-height: 1.8;
}

/* Enhanced responsive design */
@media (max-width: 768px) {
	.nav-menu {
		position: fixed;
		left: -100%;
		top: 70px;
		flex-direction: column;
		background: var(--jgs-gray-color);
		width: 100%;
		text-align: center;
		transition: 0.3s;
		box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
		padding: 2rem 0;
	}

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

	.nav-menu li {
		margin: 1rem 0;
	}

	.hamburger {
		display: flex;
	}

	.hamburger.active .bar:nth-child(2) {
		opacity: 0;
	}

	.hamburger.active .bar:nth-child(1) {
		transform: translateY(8px) rotate(45deg);
	}

	.hamburger.active .bar:nth-child(3) {
		transform: translateY(-8px) rotate(-45deg);
	}

	.hero {
		flex-direction: column;
		text-align: center;
		padding: 120px 20px 50px;
	}

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

	.hero-buttons {
		justify-content: center;
	}

	.features-grid,
	.divisions-grid {
		grid-template-columns: 1fr;
	}

	.tab-buttons {
		flex-direction: column;
	}

	.tab-button {
		margin-bottom: 5px;
	}

	.team-grid {
		grid-template-columns: 1fr;
	}

	.page-header h1 {
		font-size: 2rem;
	}

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

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

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

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

	.coaches-grid {
		grid-template-columns: 1fr;
	}

	.values-grid,
	.achievements-grid {
		grid-template-columns: 1fr;
	}

	.faq-grid {
		grid-template-columns: 1fr;
	}

	.team-stats {
		grid-template-columns: 1fr;
	}

	.division-intro h2 {
		font-size: 2rem;
	}
}

@media (max-width: 480px) {
	.hero-title {
		font-size: 2rem;
	}

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

	.btn {
		padding: 10px 20px;
		font-size: 0.9rem;
	}
}

/* Placeholder styles for missing images */
.logo::before {
	content: "G";
}

.hero-image img {
	background: #f0f0f0;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #999;
	font-size: 1.2rem;
}

.hero-image img::before {
	content: "Softball Action Photo";
}

/* Clickable Division Cards */
.clickable-card {
	cursor: pointer;
	transition: all 0.3s ease;
	position: relative;
	overflow: hidden;
}

.clickable-card:hover {
	transform: translateY(-10px);
	box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.clickable-card:active {
	transform: translateY(-5px);
}