/* Main CSS for SouthTownsFitness.com */
:root {
  --primary-color: #00B4DB;
  --secondary-color: #0083B0;
  --accent-color: #FF5722;
  --text-color: #333333;
  --light-text: #ffffff;
  --dark-bg: #2B2D42;
  --light-bg: #F7F7F7;
  --header-font: 'Montserrat', sans-serif;
  --body-font: 'Open Sans', sans-serif;
}

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

body {
  font-family: var(--body-font);
  color: var(--text-color);
  line-height: 1.6;
  background-color: var(--light-bg);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--header-font);
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: all 0.3s ease;
}

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

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

/* Header Styles */
header {
  background-color: var(--dark-bg);
  padding: 15px 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.logo img {
  height: 40px;
}

.logo h1 {
  font-size: 1.6rem;
  margin-bottom: 0;
  color: var(--light-text);
}

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

.nav-links li a {
  color: var(--light-text);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 1px;
  position: relative;
}

.nav-links li a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0;
  height: 2px;
  background-color: var(--accent-color);
  transition: width 0.3s ease;
}

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

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-toggle span {
  display: block;
  width: 30px;
  height: 3px;
  margin: 6px 0;
  background-color: var(--light-text);
  transition: all 0.3s ease;
}

/* Hero Section */
.hero {
  background-color: var(--dark-bg);
  position: relative;
  padding: 180px 0 100px;
  overflow: hidden;
  color: var(--light-text);
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0,180,219,0.9), rgba(0,131,176,0.8));
}

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

.hero h2 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  max-width: 600px;
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  background-color: var(--accent-color);
  color: var(--light-text);
  border-radius: 50px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
}

.btn:hover {
  background-color: var(--light-text);
  color: var(--accent-color);
  transform: translateY(-3px);
}

/* Services Section */
.services {
  padding: 100px 0;
  background-color: var(--light-bg);
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 2.5rem;
  color: var(--dark-bg);
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--accent-color);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  background-color: #fff;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
  text-align: center;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.service-card h3 {
  font-size: 1.5rem;
  margin: 20px 0;
  color: var(--dark-bg);
}

.service-card p {
  color: #666;
  margin-bottom: 20px;
}

/* News & Articles Section */
.news {
  padding: 100px 0;
  background-color: var(--dark-bg);
  color: var(--light-text);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.news-card {
  background-color: rgba(255,255,255,0.05);
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.3s ease;
}

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

.news-content {
  padding: 25px;
}

.news-content h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--accent-color);
}

.news-content p {
  margin-bottom: 20px;
  opacity: 0.8;
}

.news-links {
  padding: 5px 0;
}

.news-links a {
  color: var(--light-text);
  opacity: 0.8;
}

.news-links a:hover {
  color: var(--accent-color);
  opacity: 1;
}

/* Footer */
footer {
  background-color: #1a1a2a;
  color: var(--light-text);
  padding: 70px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-bottom: 50px;
}

.footer-column h3 {
  font-size: 1.2rem;
  margin-bottom: 25px;
  color: var(--accent-color);
  position: relative;
}

.footer-column h3::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--accent-color);
}

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

.footer-column ul li {
  margin-bottom: 12px;
}

.footer-column a {
  color: var(--light-text);
  opacity: 0.7;
}

.footer-column a:hover {
  opacity: 1;
  color: var(--accent-color);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.footer-logo img {
  height: 30px;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom p {
  opacity: 0.6;
  font-size: 0.9rem;
}

/* Media Queries for Responsiveness */
@media (max-width: 992px) {
  .services-grid,
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .mobile-toggle {
    display: block;
  }
  
  .nav-links {
    position: fixed;
    top: 70px;
    right: -100%;
    width: 70%;
    height: calc(100vh - 70px);
    background-color: var(--dark-bg);
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 50px;
    transition: right 0.3s ease;
  }
  
  .nav-links.active {
    right: 0;
  }
  
  .hero h2 {
    font-size: 2.8rem;
  }
}

@media (max-width: 576px) {
  .hero h2 {
    font-size: 2.2rem;
  }
  
  .section-title h2 {
    font-size: 2rem;
  }
  
  .services-grid,
  .news-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }
}
