/* 
 * Metabolic Reconditioning Program - Landing Page Styles
 * Color Scheme: Custom Palette
 * Primary (Dark Blue): #19426d
 * Secondary (Light Blue): #89c5d8
 * Accent (Yellow): #fef5ab
 */

:root {
    /* Brand Colors */
    --brand-dark-blue: #19426d;
    --brand-light-blue: #89c5d8;
    --brand-yellow: #fef5ab;

    /* Functional Colors */
    --bg-main: #0a121d;
    /* Very dark blue for background */
    --bg-card: #141f2e;
    /* Slightly lighter for cards */
    --text-main: #f0f4f8;
    --text-muted: #b0b8c4;

    --primary-cta: #ffff66;
    --primary-cta-hover: #e6e65c;
    --primary-cta-text: #19426d;

    --secondary-cta: var(--brand-light-blue);

    /* Spacing */
    --container-width: 1200px;
    --section-padding: 80px 0;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Oswald', sans-serif;
    color: #fff;
    line-height: 1.2;
    text-transform: uppercase;
}

a {
    text-decoration: none;
    transition: 0.3s;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.highlight {
    color: var(--brand-light-blue);
}

.highlight-yellow {
    color: var(--brand-yellow);
}

.section {
    padding: var(--section-padding);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--brand-yellow);
    margin: 15px auto 0;
}

/* Buttons */
.btn {
    display: inline-block;
    background-color: var(--primary-cta);
    color: var(--primary-cta-text);
    font-weight: 700;
    text-transform: uppercase;
    padding: 12px 30px;
    border-radius: 5px;
    /* Less rounded for a more technical/medical feel? Or keep pill? keeping slightly rounded */
    font-family: 'Oswald', sans-serif;
    letter-spacing: 1px;
    box-shadow: 0 0 15px rgba(255, 255, 102, 0.4);
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: var(--primary-cta-hover);
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(255, 255, 102, 0.6), 0 0 40px rgba(255, 255, 102, 0.3);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--brand-light-blue);
    color: var(--brand-light-blue);
    box-shadow: none;
}

.btn-secondary:hover {
    background-color: var(--brand-light-blue);
    color: var(--brand-dark-blue);
}

.btn-lg {
    padding: 18px 50px;
    font-size: 1.2rem;
}

.btn-xl {
    padding: 24px 60px;
    font-size: 1.5rem;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(25, 66, 109, 0.95);
    /* Brand Dark Blue with opacity */
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 15px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 50px;
    width: auto;
}

.logo-text {
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.5px;
    line-height: 1;
    /* Reset line height for tighter stacking */
}

.logo-subtitle {
    font-size: 0.65rem;
    color: var(--brand-light-blue);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 400;
    margin-top: 3px;
}

.nav a {
    margin-left: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}

.nav a:hover {
    color: var(--brand-yellow);
}

.nav .btn {
    margin-left: 20px;
    padding: 8px 20px;
    font-size: 0.8rem;
    box-shadow: none;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 100px;
    padding-bottom: 50px;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-title {
    font-size: 4.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 30px rgba(0, 0, 0, 0.7);
}

.hero-title span {
    color: var(--brand-light-blue);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 40px;
    color: #e0e0e0;
    max-width: 600px;
    text-shadow: 1px 1px 10px rgba(0, 0, 0, 0.5);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Gradient overlay + Image if available, otherwise just gradient */
    /* Parallax Background */
    background: linear-gradient(135deg, rgba(10, 18, 29, 0.85) 0%, rgba(25, 66, 109, 0.75) 100%), url('../../doctor_parallax.png');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: 1;
}

/* Diagonal Stamp */
.stamp-container {
    position: absolute;
    top: 50%;
    right: 5%;
    transform: translateY(-50%);
    z-index: 10;
    pointer-events: none;
    animation: float 6s ease-in-out infinite;
}

.stamp-text {
    background-color: var(--brand-yellow);
    color: var(--brand-dark-blue);
    padding: 10px 40px;
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 1rem;
    letter-spacing: 1px;
    transform: rotate(15deg);
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.5);
    border: 2px dashed var(--brand-dark-blue);
    text-align: center;
    max-width: 300px;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Problem Section */
.problem {
    background-color: var(--bg-main);
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background-color: var(--bg-card);
    padding: 40px;
    border-radius: 10px;
    text-align: left;
    border-top: 4px solid var(--brand-dark-blue);
    transition: 0.3s;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.card:hover {
    transform: translateY(-5px);
    border-top-color: var(--brand-light-blue);
}

.card-icon {
    height: 112px;
    width: auto;
    margin: 0 auto 20px;
    display: block;
}

.card h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
    color: #fff;
}

.card p {
    color: var(--text-muted);
}

/* Solution Section */
.solution {
    background-color: var(--brand-dark-blue);
    /* Section break color */
    background: linear-gradient(180deg, var(--bg-main) 0%, var(--brand-dark-blue) 100%);
}

.solution-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.solution-text {
    flex: 1;
}

.solution-image {
    flex: 1;
}

.check-list li {
    margin-bottom: 20px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    color: #fff;
}

.check-list li span {
    color: var(--brand-yellow);
    margin-right: 15px;
    font-size: 1.2rem;
}

.placeholder-image {
    width: 100%;
    height: 400px;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
}

/* CTA Section */
.cta {
    background-color: var(--brand-dark-blue);
    text-align: center;
    padding: 100px 0;
}

.cta h2 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: var(--brand-yellow);
}

.cta p {
    font-size: 1.4rem;
    margin-bottom: 40px;
    color: #fff;
}

/* Footer */
.footer {
    background-color: #050a10;
    padding: 60px 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer .logo img {
    height: 40px;
    margin: 0 auto 20px;
}

.footer p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.social-links {
    margin-top: 20px;
}

.social-links a {
    margin: 0 15px;
    color: var(--brand-light-blue);
    font-size: 1.2rem;
}

.social-links a:hover {
    color: var(--brand-yellow);
}

/* Responsive */
@media (max-width: 768px) {
    .header .header-container {
        padding: 0 20px;
    }

    .header .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--brand-dark-blue);
        flex-direction: column;
        padding: 20px 0;
        text-align: center;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
    }

    .header .nav.active {
        display: flex;
    }

    .header .nav a {
        margin: 15px 0;
        display: block;
        font-size: 1.1rem;
    }

    .header .nav .btn {
        margin: 15px auto;
        display: inline-block;
    }

    .mobile-toggle {
        display: block;
        cursor: pointer;
    }

    .mobile-toggle span {
        display: block;
        width: 25px;
        height: 3px;
        background-color: #fff;
        margin: 5px 0;
        transition: 0.3s;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .solution-content {
        flex-direction: column;
    }

    .section-title {
        font-size: 2rem;
    }

    .cta h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .card {
        padding: 30px 20px;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .btn-xl {
        padding: 18px 30px;
        font-size: 1.1rem;
        width: 100%;
    }
}