/**
 * Health & Weight Control Section Styles
 */

/* Common Section Styles */
.health-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem 2rem; /* No top padding - breadcrumbs handle spacing */
}

.health-hero {
    text-align: center;
    margin-bottom: 3rem;
}

.health-hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.health-subtitle {
    font-size: 1.25rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
}

/* Health Landing Page - Content */
.health-content {
    max-width: 900px;
    margin: 0 auto 3rem;
    line-height: 1.8;
}

.health-content h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-top: 3rem;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.health-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #333;
}

.health-content ul {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.health-content ul li {
    margin-bottom: 1rem;
    padding-left: 2rem;
    position: relative;
}

.health-content ul li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #4CAF50;
    font-weight: 700;
    font-size: 1.2rem;
}

.health-content a {
    color: #4CAF50;
    text-decoration: none;
    font-weight: 600;
}

.health-content a:hover {
    text-decoration: underline;
}

/* Health Tools Grid (Landing Page) */
.health-tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.health-tool-card {
    display: block;
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    border: 2px solid transparent;
}

.health-tool-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(76, 175, 80, 0.2);
    border-color: #4CAF50;
}

.health-tool-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.health-tool-card p {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.tool-arrow {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    font-size: 1.5rem;
    color: #4CAF50;
    transition: transform 0.3s ease;
}

.health-tool-card:hover .tool-arrow {
    transform: translateX(4px);
}

/* Calculators Page Specific Styles */
.calculators-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
    color: #666;
    line-height: 1.6;
}

.calculators-intro h2,
.calculators-intro h3,
.calculators-intro hr,
.calculators-intro strong,
.calculators-intro a {
    display: none;
}

.calculators-intro p:first-of-type {
    font-size: 1.1rem;
}

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

.calculator-card {
    display: block;
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
    border: 2px solid transparent;
    text-decoration: none;
    min-height: 220px;
}

.calculator-card.available {
    cursor: pointer;
}

.calculator-card.available:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(76, 175, 80, 0.2);
    border-color: #4CAF50;
}

.calculator-card.coming-soon {
    opacity: 0.7;
    cursor: not-allowed;
}

.calculator-icon {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.1) 0%, rgba(76, 175, 80, 0.05) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.calculator-icon svg {
    width: 32px;
    height: 32px;
    color: #4CAF50;
}

.calculator-card.coming-soon .calculator-icon {
    background: linear-gradient(135deg, rgba(139, 155, 122, 0.1) 0%, rgba(139, 155, 122, 0.05) 100%);
}

.calculator-card.coming-soon .calculator-icon svg {
    color: #999;
}

.calculator-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #1a1a1a;
}

.calculator-card p {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.5;
    font-size: 0.95rem;
}

.calculator-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.calculator-badge:not(.coming) {
    background: #e8f5e9;
    color: #2e7d32;
}

.calculator-badge.coming {
    background: #f5f5f5;
    color: #999;
}

.card-arrow {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    font-size: 1.5rem;
    color: #4CAF50;
    transition: transform 0.3s ease;
}

.calculator-card.available:hover .card-arrow {
    transform: translateX(4px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .health-hero h1 {
        font-size: 2rem;
    }

    .health-subtitle {
        font-size: 1rem;
    }

    .health-hero {
        margin-bottom: 2rem;
    }

    .health-tools-grid,
    .calculators-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .calculator-card {
        min-height: auto;
    }
}

/* Health Landing Page - Features Grid */
.health-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
    color: #666;
    line-height: 1.6;
    font-size: 1.1rem;
}

.health-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.health-feature-card {
    display: block;
    background: white;
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
    border: 2px solid transparent;
    text-decoration: none;
    min-height: 400px;
}

.health-feature-card.available {
    cursor: pointer;
}

.health-feature-card.available:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(76, 175, 80, 0.2);
    border-color: #4CAF50;
}

.health-feature-card.coming-soon {
    opacity: 0.7;
    cursor: not-allowed;
}

.health-feature-card .feature-icon {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.1) 0%, rgba(76, 175, 80, 0.05) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.health-feature-card .feature-icon svg {
    width: 32px;
    height: 32px;
    color: #4CAF50;
}

.health-feature-card.coming-soon .feature-icon {
    background: linear-gradient(135deg, rgba(139, 155, 122, 0.1) 0%, rgba(139, 155, 122, 0.05) 100%);
}

.health-feature-card.coming-soon .feature-icon svg {
    color: #999;
}

.health-feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.health-feature-card p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-size: 0.95rem;
}

.feature-highlights {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.feature-highlights li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #555;
    font-size: 0.9rem;
}

.feature-highlights li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #4CAF50;
    font-weight: 700;
}

.health-feature-card.coming-soon .feature-highlights li:before {
    color: #999;
}

.feature-status {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.feature-status.available {
    background: #e8f5e9;
    color: #2e7d32;
}

.feature-status.coming {
    background: #f5f5f5;
    color: #999;
}

@media (max-width: 900px) {
    .health-features-grid {
        grid-template-columns: 1fr;
    }

    .health-feature-card {
        min-height: auto;
    }
}
