/*
Theme Name: Seniors Fitness Circle
Theme URI: https://example.com/seniors-fitness-circle-theme/
Author: Your Name
Author URI: https://example.com/
Description: A custom WordPress theme for the Seniors Fitness Circle website, converted from a static HTML site. Designed for promoting evidence-based fitness for active aging.
Version: 1.0
License: MIT
License URI: https://opensource.org/licenses/MIT
Tags: landing-page, one-page, health, fitness, seniors, custom-header, custom-menu
Text Domain: seniors-fitness-circle
*/

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    /* Font changed from Inter to Avenir Next (with fallbacks) */
    font-family: 'Avenir Next', 'Nunito Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #231f20;
    background-color: #ffffff;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    /* Font changed from Playfair Display to Lora */
    font-family: 'Lora', serif;
    font-weight: 600;
    line-height: 1.2;
    color: #231f20;
}

.section-label {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #00a99d;
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #231f20;
}

.section-description {
    font-size: 1.125rem;
    line-height: 1.7;
    color: #4a5568;
    margin-bottom: 2rem;
}

/* Header */
.header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo a {
    text-decoration: none;
}

.logo h1 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #231f20;
    letter-spacing: 0.5px;
    margin-bottom: 0.25rem;
}

.logo .tagline {
    font-size: 0.75rem;
    color: #00a99d;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.main-nav ul {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav a {
    text-decoration: none;
    color: #231f20;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    position: relative;
}

.main-nav a:hover {
    color: #00a99d;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #00a99d;
    transition: width 0.3s ease;
}

.main-nav a:hover::after {
    width: 100%;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
    min-height: 48px;
}

.btn-primary {
    background-color: #e85e2b;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(232, 94, 43, 0.2);
}

.btn-primary:hover {
    background-color: #ed1c24;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(237, 28, 36, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: #231f20;
    border: 2px solid #231f20;
}

.btn-secondary:hover {
    background-color: #231f20;
    color: #ffffff;
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
}

/* Hero Section */
.hero {
    padding: 140px 0 100px;
    background: linear-gradient(135deg, #ffffff 0%, #f8fffe 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    color: #231f20;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #4a5568;
    margin-bottom: 3rem;
    line-height: 1.6;
    font-weight: 400;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    margin-bottom: 3rem;
    padding: 2rem 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #e85e2b;
    line-height: 1;
}

.stat-label {
    font-size: 0.875rem;
    color: #4a5568;
    font-weight: 500;
    margin-top: 0.25rem;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    align-items: center;
}

/* Book 3D Design */
.book-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.book-3d {
    width: 320px;
    height: 420px;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.4s ease;
    perspective: 1000px;
}

.book-3d:hover {
    transform: rotateY(-8deg) rotateX(3deg) scale(1.02);
}

.book-cover {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.1),
        0 8px 16px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 2.5rem;
    position: relative;
    transform: rotateY(-2deg) rotateX(1deg);
}

.book-spine {
    position: absolute;
    left: -8px;
    top: 0;
    width: 8px;
    height: 100%;
    background: linear-gradient(180deg, #e85e2b 0%, #ed1c24 100%);
    border-radius: 0 0 0 12px;
    transform: rotateY(-90deg);
    transform-origin: left center;
}

.book-header {
    text-align: center;
}

.book-category {
    font-size: 0.75rem;
    font-weight: 600;
    color: #00a99d;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.book-title {
    text-align: center;
    margin: 2rem 0;
}

.book-title h3 {
    font-size: 1.75rem;
    color: #231f20;
    line-height: 1.3;
    font-weight: 500;
}

.book-title strong {
    font-weight: 700;
    color: #e85e2b;
}

.book-footer {
    text-align: center;
}

.book-credential {
    font-size: 0.875rem;
    color: #4a5568;
    font-weight: 500;
}

.credibility-badges {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.badge {
    background-color: #ffc90e;
    color: #231f20;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Book Section */
.book-section {
    padding: 100px 0;
    background-color: #ffffff;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.book-info {
    max-width: 800px;
    margin: 0 auto;
}

.content-block {
    margin-bottom: 3rem;
}

.content-block h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #231f20;
}

.content-block p {
    font-size: 1.125rem;
    line-height: 1.7;
    color: #4a5568;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.benefit-item {
    text-align: center;
    padding: 2rem;
    background-color: #f8f9fa;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-4px);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    background-color: #e85e2b;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

.benefit-item h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: #231f20;
}

.benefit-item p {
    color: #4a5568;
    font-size: 0.95rem;
}

.cta-container {
    text-align: center;
}

.guarantee {
    margin-top: 1rem;
}

.guarantee span {
    font-size: 0.875rem;
    color: #00a99d;
    font-weight: 500;
}

/* Video Section */
.video-section {
    padding: 100px 0;
    background-color: #f8f9fa;
}

.video-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.instructor-credential {
    background-color: #ffffff;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #00a99d;
    margin-top: 2rem;
}

.credential-item {
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

.credential-item:last-child {
    margin-bottom: 0;
}

.email-capture {
    background-color: #ffffff;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.form-header {
    text-align: center;
    margin-bottom: 2rem;
}

.form-header h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #231f20;
}

.form-header p {
    color: #4a5568;
    font-size: 0.95rem;
}

.form-fields {
    margin-bottom: 1.5rem;
}

.field-group {
    margin-bottom: 1rem;
}

.field-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #231f20;
    margin-bottom: 0.5rem;
}

.field-group input {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.field-group input:focus {
    outline: none;
    border-color: #00a99d;
}

.privacy-note {
    text-align: center;
    margin-top: 1rem;
}

.privacy-note small {
    color: #718096;
    font-size: 0.8rem;
}

/* Community Section */
.community-section {
    padding: 100px 0;
    background-color: #ffffff;
}

.community-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.community-stats {
    display: flex;
    gap: 2rem;
    margin: 2rem 0;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.community-stat {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.community-stat .stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: #e85e2b;
    line-height: 1;
}

.community-stat .stat-label {
    font-size: 0.875rem;
    color: #4a5568;
    font-weight: 500;
    margin-top: 0.25rem;
}

.community-cta {
    margin-top: 2rem;
}

.community-note {
    margin-top: 1rem;
}

.community-note small {
    color: #718096;
    font-size: 0.875rem;
}

.testimonial-preview {
    background-color: #f8f9fa;
    padding: 2.5rem;
    border-radius: 12px;
    border-left: 4px solid #00a99d;
}

.testimonial blockquote {
    font-size: 1.125rem;
    line-height: 1.6;
    color: #231f20;
    font-style: italic;
    margin-bottom: 1rem;
}

.testimonial cite {
    font-size: 0.95rem;
    color: #4a5568;
    font-weight: 500;
    font-style: normal;
}

/* Credibility Section */
.credibility-section {
    padding: 100px 0;
    background-color: #f8f9fa;
}

.credentials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.credential-item {
    background-color: #ffffff;
    padding: 2.5rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.credential-item:hover {
    transform: translateY(-4px);
}

.credential-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background-color: #e85e2b;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.credential-icon div {
    width: 40px;
    height: 40px;
    background-color: #ffffff;
    border-radius: 50%;
}

.credential-item h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: #231f20;
}

.credential-item p {
    color: #4a5568;
    line-height: 1.6;
}

/* Footer */
.footer {
    background-color: #231f20;
    color: #ffffff;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffc90e;
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
}

.footer-brand p {
    color: #a0aec0;
    line-height: 1.6;
}

.link-group h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1rem;
}

.link-group ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.link-group ul li {
    margin-bottom: 0.5rem;
}

.link-group a {
    display: block;
    color: #a0aec0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.link-group a:hover {
    color: #ffc90e;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid #2d3748;
}

.copyright p,
.professional-note p {
    font-size: 0.875rem;
    color: #a0aec0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content,
    .video-content,
    .community-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-stats,
    .community-stats {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .main-nav {
        display: none; /* Will be replaced by a mobile menu button if needed */
    }
    
    .hero {
        padding: 120px 0 80px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
    }
    
    .hero-cta {
        flex-direction: column;
        gap: 1rem;
    }
    
    .book-3d {
        width: 280px;
        height: 360px;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .credentials-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .container {
        padding: 0 20px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .book-3d {
        width: 240px;
        height: 320px;
    }
    
    .email-capture {
        padding: 2rem;
    }
    
    .testimonial-preview {
        padding: 2rem;
    }
    
    .credential-item {
        padding: 2rem;
    }
}

/* WordPress Core CSS */
.alignwide {
    margin-left: -100px;
    margin-right: -100px;
}

.alignfull {
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    max-width: 100vw;
}

.wp-block-button__link {
    /* Style to match .btn */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
    min-height: 48px;
    background-color: #e85e2b;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(232, 94, 43, 0.2);
}

.wp-block-button__link:hover {
    background-color: #ed1c24;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(237, 28, 36, 0.3);
}
