/* Apex Strength & Conditioning - WordPress Gym Theme */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Open Sans', sans-serif;
    color: #333;
    line-height: 1.6;
    background: #f5f5f5;
}

h1, h2, h3, h4 { font-family: 'Oswald', sans-serif; font-weight: 700; text-transform: uppercase; }

/* Top Bar */
.top-bar { background: #1a1a1a; color: #fff; padding: 8px 0; font-size: 13px; }
.top-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; display: flex; justify-content: space-between; }
.top-left { display: flex; gap: 15px; }
.top-left .sep { color: #666; }

/* Main Header */
.main-header { background: #fff; border-bottom: 3px solid #e74c3c; }
.header-container { max-width: 1200px; margin: 0 auto; padding: 20px; display: flex; justify-content: space-between; align-items: center; }
.logo h1 { font-size: 32px; color: #e74c3c; margin: 0; letter-spacing: 2px; }
.logo h1 span { color: #333; }
.logo .tagline { font-size: 12px; color: #666; margin-top: -5px; letter-spacing: 3px; }
.main-nav ul { list-style: none; display: flex; gap: 25px; }
.main-nav a { text-decoration: none; color: #333; font-weight: 600; text-transform: uppercase; font-size: 14px; transition: color 0.3s; }
.main-nav a:hover { color: #e74c3c; }
.main-nav .nav-cta { background: #e74c3c; color: #fff; padding: 10px 20px; border-radius: 3px; }
.main-nav .nav-cta:hover { background: #c0392b; }

/* Hero Slider */
.hero-slider { position: relative; height: 500px; }
.slide { height: 100%; display: flex; align-items: center; justify-content: center; }
.slide-content { text-align: center; color: #fff; max-width: 800px; padding: 0 20px; }
.slide-title { font-size: 48px; margin-bottom: 15px; text-shadow: 2px 2px 4px rgba(0,0,0,0.5); }
.slide-text { font-size: 20px; margin-bottom: 25px; }
.cta-btn-large { display: inline-block; background: #e74c3c; color: #fff; padding: 15px 35px; text-decoration: none; font-weight: 700; font-size: 16px; border-radius: 3px; text-transform: uppercase; transition: background 0.3s; }
.cta-btn-large:hover { background: #c0392b; }

/* Welcome Section */
.welcome-section { background: #fff; padding: 60px 0; }
.content-wrapper { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr; gap: 40px; padding: 0 20px; }
.main-content { }
.section-title { font-size: 32px; color: #e74c3c; margin-bottom: 20px; }
.title-underline { width: 80px; height: 4px; background: #333; margin: 15px 0 25px; }
.intro-text { font-size: 18px; color: #555; margin-bottom: 20px; line-height: 1.8; }

/* Features Grid */
.features-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin: 40px 0; }
.feature-box { background: #f9f9f9; border-left: 4px solid #e74c3c; padding: 25px; }
.feature-icon { font-size: 36px; margin-bottom: 10px; }
.feature-box h3 { font-size: 18px; margin-bottom: 8px; }
.feature-box p { font-size: 14px; color: #666; }

/* Programs Section */
.programs-section { margin: 50px 0; }
.program-boxes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 25px; margin-top: 30px; }
.program-box { background: #fff; border: 2px solid #ddd; padding: 30px; position: relative; transition: border-color 0.3s; }
.program-box:hover { border-color: #e74c3c; }
.program-box.featured { border-color: #e74c3c; border-width: 3px; }
.popular-tag { position: absolute; top: -12px; left: 20px; background: #e74c3c; color: #fff; padding: 5px 15px; font-size: 11px; font-weight: 700; }
.program-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; }
.program-header h3 { font-size: 22px; }
.program-badge { background: #333; color: #fff; padding: 5px 10px; font-size: 11px; border-radius: 3px; }
.program-duration { color: #e74c3c; font-weight: 700; margin-bottom: 15px; font-size: 14px; }
.program-features { list-style: none; margin: 20px 0; }
.program-features li { padding: 8px 0; border-bottom: 1px solid #eee; font-size: 14px; }
.program-btn { display: inline-block; margin-top: 15px; background: #333; color: #fff; padding: 10px 25px; text-decoration: none; font-weight: 600; border-radius: 3px; transition: background 0.3s; }
.program-btn:hover { background: #e74c3c; }

/* Trainers Section */
.trainers-section { margin: 50px 0; }
.trainer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 30px; }
.trainer-card { background: #fff; border: 2px solid #ddd; overflow: hidden; }
.trainer-card img { width: 100%; height: 300px; object-fit: cover; }
.trainer-info { padding: 25px; }
.trainer-info h3 { font-size: 20px; margin-bottom: 5px; }
.trainer-title { color: #e74c3c; font-size: 13px; font-weight: 700; margin-bottom: 10px; display: block; }
.trainer-cred { font-size: 12px; color: #999; margin-bottom: 12px; display: block; }
.trainer-bio { font-size: 14px; color: #666; line-height: 1.6; }

/* CTA Section */
.cta-section { background: #e74c3c; color: #fff; text-align: center; padding: 50px 20px; margin: 50px 0; }
.cta-section h2 { font-size: 36px; margin-bottom: 15px; }
.cta-section p { font-size: 18px; margin-bottom: 25px; }

/* Sidebar */
.sidebar { position: sticky; top: 20px; }
.widget { background: #fff; border: 2px solid #ddd; padding: 25px; margin-bottom: 20px; }
.widget-title { font-size: 18px; margin-bottom: 20px; color: #e74c3c; }
.contact-form input, .contact-form textarea { width: 100%; padding: 10px; margin-bottom: 15px; border: 1px solid #ddd; font-family: 'Open Sans', sans-serif; }
.submit-btn { width: 100%; background: #e74c3c; color: #fff; border: none; padding: 12px; font-weight: 700; cursor: pointer; text-transform: uppercase; transition: background 0.3s; }
.submit-btn:hover { background: #c0392b; }
.hours-table { width: 100%; font-size: 14px; }
.hours-table tr { border-bottom: 1px solid #eee; }
.hours-table td { padding: 8px 0; }
.hours-table td:last-child { text-align: right; font-weight: 600; }
.cta-widget { background: #333; color: #fff; }
.cta-widget .widget-title { color: #e74c3c; }
.widget-btn { display: block; background: #e74c3c; color: #fff; padding: 12px; text-align: center; text-decoration: none; font-weight: 700; margin-top: 15px; border-radius: 3px; }
.social-buttons { display: flex; flex-direction: column; gap: 10px; }
.social-btn { background: #f9f9f9; color: #333; padding: 10px; text-align: center; text-decoration: none; font-weight: 600; border-radius: 3px; transition: background 0.3s; }
.social-btn:hover { background: #e74c3c; color: #fff; }

/* Footer */
.main-footer { background: #1a1a1a; color: #fff; padding: 50px 0 0; }
.footer-content { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; padding: 0 20px 40px; }
.footer-col h4 { font-size: 18px; margin-bottom: 20px; color: #e74c3c; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col a { color: #ccc; text-decoration: none; font-size: 14px; transition: color 0.3s; }
.footer-col a:hover { color: #e74c3c; }
.newsletter-form { display: flex; margin-top: 15px; }
.newsletter-form input { flex: 1; padding: 10px; border: none; }
.newsletter-form button { background: #e74c3c; color: #fff; border: none; padding: 10px 20px; cursor: pointer; font-weight: 700; }
.footer-bottom { background: #111; padding: 20px; text-align: center; font-size: 13px; color: #999; }
.footer-bottom a { color: #e74c3c; text-decoration: none; }
.apx-footer{border-top:1px solid rgba(255,255,255,.08);background:#0a0f1e}
.apx-footer .wrap{max-width:1120px;margin:0 auto;padding:1rem;color:var(--muted);display:flex;justify-content:space-between;gap:1rem}
