/* HappyFeet KC App - Main Styles */

:root {
    --primary: #EE313D;
    --primary-dark: #C42030;
    --secondary: #FEDE10;
    --dark: #1a1a2e;
    --light: #f8f9fa;
    --gray: #6c757d;
    --white: #ffffff;
    --black: #000000;
    --font-heading: 'Black Coffee', 'Black Coffee Shadow', 'Nunito', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-main: 'DK Oranjerie', 'Lato', 'Roboto', 'Nunito', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark);
    background: var(--white);
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.5em;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

p { margin-bottom: 1em; }

a {
    color: var(--primary);
    text-decoration: none;
}

a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.lead {
    font-size: 1.25rem;
    color: var(--gray);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 7px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--secondary);
    color: var(--black);
}

.btn-primary:hover {
    background: #e6c400;
    color: var(--black);
    text-decoration: none;
}

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

.btn-secondary:hover {
    background: var(--primary-dark);
    color: var(--white);
    text-decoration: none;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
    text-decoration: none;
}

/* Header */
.header {
    background: var(--primary);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo img {
    height: 50px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    color: var(--white);
    font-weight: 600;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--secondary);
    text-decoration: none;
}

.mobile-menu-toggle {
    display: none;
}

/* Breadcrumb */
.breadcrumb {
    padding: 15px 0;
    font-size: 0.9rem;
}

.breadcrumb ol {
    display: flex;
    list-style: none;
    gap: 10px;
}

.breadcrumb li:not(:last-child)::after {
    content: '/';
    margin-left: 10px;
    color: var(--gray);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 80px 0;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 30px;
}

.hero-cta {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.store-badge img {
    height: 50px;
    width: auto;
}

.hero-note {
    font-size: 0.9rem;
    opacity: 0.8;
}

.hero-note a {
    color: var(--secondary);
}

.hero-image img {
    max-width: 100%;
    height: auto;
}

/* Page Hero */
.page-hero {
    background: var(--primary);
    color: var(--white);
    padding: 60px 0;
    text-align: center;
}

/* Sections */
section {
    padding: 60px 0;
}

.alt-bg {
    background: var(--light);
}

.section-subtitle {
    text-align: center;
    color: var(--gray);
    margin-bottom: 40px;
}

/* Program Cards */
.program-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.program-card {
    background: var(--white);
    border-radius: 7px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: block;
}

.program-card:hover {
    transform: translateY(-5px);
    text-decoration: none;
}

.program-age {
    background: var(--primary);
    color: var(--white);
    display: inline-block;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.program-card h3 {
    color: var(--dark);
    margin-bottom: 10px;
}

.program-card p {
    color: var(--gray);
    font-size: 0.95rem;
}

.program-duration {
    display: block;
    margin-top: 15px;
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 600;
}

/* Programs Overview Section */
.programs-overview {
    padding: 40px 0;
    background: var(--white);
}

.curriculum-intro {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.curriculum-intro h2 {
    margin-bottom: 20px;
    color: var(--dark);
}

.curriculum-intro p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--gray);
    margin-bottom: 15px;
}

/* Programs List Section */
.programs-list {
    padding: 60px 0;
    background: var(--light);
}

/* Program Details Page */
.program-detail {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 40px;
    margin-bottom: 50px;
    align-items: start;
}

.program-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.program-image img {
    width: 200px;
    height: 200px;
    object-fit: contain;
    border-radius: 50%;
    border: 4px solid var(--primary);
    padding: 10px;
    background: var(--white);
}

.program-content {
    flex: 1;
}

.program-content h3 {
    margin-top: 15px;
    margin-bottom: 10px;
}

.program-content ul {
    list-style: none;
    padding-left: 0;
    margin: 15px 0;
}

.program-content ul li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    line-height: 1.6;
}

.program-content ul li::before {
    content: '⚽';
    position: absolute;
    left: 0;
    font-size: 1rem;
}

.program-badge {
    background: var(--secondary);
    color: var(--black);
    display: inline-block;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.program-tagline {
    color: var(--primary);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.program-pricing {
    margin: 20px 0;
    font-size: 1.1rem;
}

.program-pricing .price {
    color: var(--primary);
    font-weight: 700;
    font-size: 1.3rem;
}

/* Program Comparison Table */
.program-comparison {
    background: var(--light);
    padding: 60px 0;
    margin-top: 60px;
}

.program-comparison h2 {
    text-align: center;
    margin-bottom: 40px;
    color: var(--dark);
}

.comparison-table-wrapper {
    overflow-x: auto;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    padding: 20px;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.comparison-table thead {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
}

.comparison-table th {
    padding: 20px 15px;
    text-align: left;
    font-weight: 700;
    font-size: 1rem;
    border-right: 1px solid rgba(255,255,255,0.2);
}

.comparison-table th:first-child {
    border-top-left-radius: 8px;
}

.comparison-table th:last-child {
    border-top-right-radius: 8px;
    border-right: none;
}

.comparison-table tbody tr {
    border-bottom: 1px solid #e0e0e0;
    transition: background-color 0.2s ease;
}

.comparison-table tbody tr:hover {
    background-color: #f8f9fa;
}

.comparison-table tbody tr:last-child {
    border-bottom: none;
}

.comparison-table td {
    padding: 18px 15px;
    text-align: left;
    vertical-align: middle;
}

.comparison-table td:first-child {
    font-weight: 600;
    color: var(--dark);
    background: #fafafa;
}

.comparison-table tbody tr:nth-child(even) {
    background-color: #fefefe;
}

.comparison-table tbody tr:nth-child(even):hover {
    background-color: #f5f5f5;
}

/* Highlight price cells */
.comparison-table tbody tr:nth-last-child(-n+2) td {
    font-weight: 600;
    color: var(--primary);
}

.table-note {
    text-align: center;
    color: var(--gray);
    font-size: 0.9rem;
    margin-top: 20px;
    font-style: italic;
}

/* Location Cards */
.location-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.location-card {
    background: var(--white);
    border-radius: 7px;
    padding: 25px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    text-decoration: none;
    color: inherit;
    display: block;
    transition: box-shadow 0.3s ease;
}

.location-card:hover {
    box-shadow: 0 4px 25px rgba(0,0,0,0.15);
    text-decoration: none;
}

.location-card h3 {
    color: var(--primary);
    margin-bottom: 10px;
}

.location-card address {
    font-style: normal;
    color: var(--gray);
    margin-bottom: 15px;
}

.location-link {
    color: var(--primary);
    font-weight: 600;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    text-align: center;
    padding: 30px;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.feature-card h3 {
    margin-bottom: 10px;
}

.feature-card p {
    color: var(--gray);
}

/* Pricing */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.pricing-card {
    background: var(--white);
    border-radius: 7px;
    padding: 35px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    text-align: center;
    position: relative;
}

.pricing-card.featured {
    border: 3px solid var(--primary);
    transform: scale(1.05);
}

.featured-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: var(--white);
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    margin: 20px 0;
}

.price span {
    font-size: 1rem;
    color: var(--gray);
    font-weight: 400;
}

.pricing-card ul {
    list-style: none;
    text-align: left;
    margin: 25px 0;
}

.pricing-card li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
}

.pricing-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

/* CTA Section */
.cta-section {
    background: var(--dark);
    color: var(--white);
    text-align: center;
    padding: 80px 0;
}

.cta-section h2 {
    margin-bottom: 15px;
}

.cta-section p {
    opacity: 0.9;
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.cta-alternate {
    margin-top: 20px;
    font-size: 0.9rem;
}

.cta-alternate a {
    color: var(--secondary);
}

/* FAQ */
.faq-category {
    margin-bottom: 40px;
}

.faq-category h2 {
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary);
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 7px;
    overflow: hidden;
}

.faq-item summary {
    padding: 18px 20px;
    cursor: pointer;
    font-weight: 600;
    background: var(--light);
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    float: right;
    font-size: 1.5rem;
    font-weight: 300;
}

.faq-item[open] summary::after {
    content: '−';
}

.faq-answer {
    padding: 20px;
}

/* Footer */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand p {
    opacity: 0.8;
    margin-top: 15px;
}

.footer-links h4,
.footer-contact h4 {
    margin-bottom: 20px;
    color: var(--secondary);
}

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

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a,
.footer-contact a {
    color: var(--white);
    opacity: 0.8;
}

.footer-links a:hover,
.footer-contact a:hover {
    opacity: 1;
    color: var(--secondary);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-links a {
    background: rgba(255,255,255,0.1);
    padding: 8px 12px;
    border-radius: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-legal {
    display: flex;
    list-style: none;
    gap: 20px;
}

.footer-legal a {
    color: var(--white);
    opacity: 0.6;
    font-size: 0.9rem;
}

/* Developmental Benefits Section */
.developmental-benefits {
    background: var(--light);
}

.developmental-benefits h2 {
    text-align: center;
    margin-bottom: 10px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.benefit-card {
    background: var(--white);
    border-radius: 7px;
    padding: 30px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    text-align: center;
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.benefit-card h3 {
    color: var(--primary);
    margin-bottom: 15px;
}

.benefit-card p {
    color: var(--gray);
    line-height: 1.6;
}

/* Class Formats Section */
.class-formats {
    margin-top: 60px;
    padding-top: 50px;
    border-top: 2px solid #e0e0e0;
}

.class-formats h3 {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: var(--dark);
}

.formats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.format-card {
    background: var(--light);
    border-radius: 7px;
    padding: 25px;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.format-card:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
}

.format-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.format-card h4 {
    color: var(--primary);
    margin-bottom: 10px;
}

.format-card p {
    color: var(--gray);
    font-size: 0.95rem;
}

/* What Makes Us Different Section */
.differentiators {
    background: var(--white);
}

.differentiators h2 {
    text-align: center;
    margin-bottom: 10px;
}

.differentiators-list {
    max-width: 900px;
    margin: 40px auto 0;
}

.differentiator-item {
    display: grid;
    grid-template-columns: 50px 1fr;
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    background: var(--light);
    border-radius: 7px;
    transition: transform 0.3s ease;
}

.differentiator-item:hover {
    transform: translateX(5px);
}

.check-icon {
    font-size: 2rem;
    color: var(--primary);
}

.differentiator-content h3 {
    color: var(--dark);
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.differentiator-content p {
    color: var(--gray);
    margin-bottom: 0;
}

/* Referral Program Section */
.referral-program {
    background: linear-gradient(135deg, var(--secondary) 0%, #ffc107 100%);
    padding: 60px 0;
}

.referral-banner {
    background: var(--white);
    border-radius: 7px;
    padding: 40px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 30px;
    align-items: center;
}

.referral-icon {
    font-size: 4rem;
    text-align: center;
}

.referral-content h2 {
    color: var(--primary);
    margin-bottom: 15px;
}

.referral-content p {
    color: var(--gray);
    margin-bottom: 25px;
    line-height: 1.6;
}

.referral-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 25px;
}

.referral-step {
    background: var(--light);
    padding: 15px;
    border-radius: 7px;
    text-align: center;
}

.referral-step strong {
    display: block;
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 5px;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

    .hero-image {
        order: -1;
    }

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

    .referral-banner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .differentiator-item {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

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

    .mobile-menu-toggle span {
        display: block;
        width: 25px;
        height: 3px;
        background: var(--white);
        margin: 5px 0;
    }

    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }

    .pricing-card.featured {
        transform: none;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .referral-details {
        grid-template-columns: 1fr;
    }

    .program-detail {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: center;
    }

    .program-image img {
        width: 150px;
        height: 150px;
    }

    .comparison-table-wrapper {
        padding: 10px;
    }

    .comparison-table {
        font-size: 0.85rem;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 12px 8px;
        font-size: 0.85rem;
    }

    .comparison-table th {
        font-size: 0.9rem;
    }
}

/* External Link Styles */
.learn-more-link {
    display: inline-block;
    color: var(--gray);
    font-size: 0.9rem;
    margin-top: 10px;
    text-decoration: underline;
}

.learn-more-link:hover {
    color: var(--primary);
}

.view-schedule {
    margin-top: 20px;
    text-align: center;
}

.view-schedule a {
    font-size: 1.1rem;
    font-weight: 600;
}

.footer-brand {
    text-align: center;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 20px;
}

.footer-brand p {
    margin-bottom: 5px;
    font-size: 0.9rem;
}

.footer-brand a {
    color: var(--secondary);
    font-weight: 600;
}

.footer-brand a:hover {
    color: var(--white);
}
