:root {
  --primary-blue: #05386f;
  --accent-red: #cf2e2e;
  --bg-light: #f8f9fa;
  --text-dark: #333333;
  --text-light: #ffffff;
  --font-main: 'Outfit', 'Inter', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

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

.container {
  max-width: 1440px;
  margin: 0 auto;
  width: 100%;
}

h1, h2, h3, h4 {
  line-height: 1.2;
  font-weight: 800;
}

.text-red {
  color: var(--accent-red);
}

.text-blue {
  color: var(--primary-blue);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  background-color: var(--accent-red);
  color: var(--text-light);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  border-radius: 50px;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 15px rgba(207, 46, 46, 0.3);
  border: none;
  cursor: pointer;
}

.btn:hover {
  background-color: #a82323;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(207, 46, 46, 0.4);
}

.btn-blue {
  background-color: var(--primary-blue);
  box-shadow: 0 4px 15px rgba(5, 56, 111, 0.3);
}

.btn-blue:hover {
  background-color: #03254a;
  box-shadow: 0 6px 20px rgba(5, 56, 111, 0.4);
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1rem 5%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

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

header img.logo {
  height: 80px;
}

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

.main-nav a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 600;
  font-size: 1.1rem;
  transition: color 0.3s ease;
}

.main-nav a:hover {
  color: var(--accent-red);
}

.social-icons {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.social-icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.social-icon-btn:hover {
  transform: scale(1.1);
  filter: brightness(1.2);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 5% 4rem;
  background-image: linear-gradient(rgba(5, 56, 111, 0.8), rgba(5, 56, 111, 0.6)), url('../images/hero_bg.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: var(--text-light);
}

.hero-content {
  max-width: 800px;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  font-weight: 300;
}

/* Modalities Section */
.modalities {
  padding: 6rem 5%;
  text-align: center;
  background-color: #ffffff;
}

.modalities h2 {
  font-size: 2.5rem;
  color: var(--primary-blue);
  margin-bottom: 3rem;
  text-transform: uppercase;
}

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

.card {
  background: var(--bg-light);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.card-img {
  height: 250px;
  background-size: cover;
  background-position: center;
}

.card-content {
  padding: 2rem;
  text-align: left;
}

.card-content h3 {
  color: var(--accent-red);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

/* Fit Senior Section */
.fit-senior {
  display: flex;
  align-items: center;
  padding: 0;
  background-color: var(--primary-blue);
  color: var(--text-light);
}

.fit-senior-img-container {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 4rem 2rem;
}

.fit-senior-img-tag {
  max-width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.fit-senior-content {
  flex: 1;
  padding: 6rem 5%;
}

.fit-senior-content h3 {
  color: var(--accent-red);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.fit-senior-content h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
}

/* Studio Pilates Section */
.studio-pilates {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  background-color: #ffffff;
}

.studio-pilates-img-container {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 4rem 2rem;
}

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

.studio-pilates-content {
  flex: 1;
  padding: 6rem 5%;
  display: flex;
  justify-content: flex-end;
}

.inner-content {
  max-width: 720px;
  width: 100%;
}

.studio-pilates-content h3 {
  color: var(--accent-red);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.studio-pilates-content h2 {
  font-size: 2.5rem;
  color: var(--primary-blue);
  margin-bottom: 2rem;
}

.benefits-list {
  list-style: none;
  margin-bottom: 2.5rem;
}

.benefits-list li {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  position: relative;
  padding-left: 2rem;
  font-weight: 500;
}

.benefits-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent-red);
  font-weight: bold;
  font-size: 1.2rem;
}

/* Footer */
footer {
  background-color: #03254a;
  color: var(--text-light);
  text-align: center;
  padding: 4rem 5% 2rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto 3rem;
  text-align: left;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-logo img.logo {
  height: 100px;
  filter: brightness(0) invert(1);
}

.footer-info p, .footer-hours p {
  margin-bottom: 0.5rem;
  opacity: 0.8;
}

.footer-info p strong, .footer-hours p strong {
  opacity: 1;
  display: inline-block;
  margin-bottom: 1rem;
  font-size: 1.2rem;
  color: var(--accent-red);
}

.copyright {
  opacity: 0.7;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 2rem;
}

/* Responsive */
@media (max-width: 991px) {
  .main-nav {
    display: none; /* Hide on mobile to save space */
  }

  .hero h1 {
    font-size: 2.8rem;
  }
  
  .fit-senior, .studio-pilates {
    flex-direction: column;
  }
  
  .fit-senior-img, .studio-pilates-img {
    width: 100%;
    min-height: 300px;
  }
  
  .fit-senior-content, .studio-pilates-content {
    width: 100%;
    padding: 4rem 5%;
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.2rem;
  }
  
  .hero p {
    font-size: 1.1rem;
  }
  
  .modalities h2, .fit-senior-content h2, .studio-pilates-content h2 {
    font-size: 2rem;
  }
}
