/* ============================================================
    🌿 ORANGEVILLE ZEN CENTRE - COMING SOON
    Modern, calm, professional styling
============================================================ */

/* ============================================================
    CSS VARIABLES
============================================================ */
:root {
    /* Core Colors - Zen Palette */
    --bg: #FAFAFA;
    --bg-alt: #FFFFFF;
    --text-primary: #2D3436;
    --text-secondary: #636E72;
    --text-muted: #95A5A6;
    
    /* Brand Colors */
    --primary: #415A63;        /* Deep Slate Blue */
    --accent: #87A38D;         /* Sage Green */
    --accent-warm: #e97b37;    /* Vibrant Orange */
    --accent-light: #FFF5F0;   /* Soft Peach */
    
    /* Typography */
    --font-heading: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 6rem;
    
    /* Layout */
    --max-width: 1200px;
    --radius: 8px;
    --radius-sm: 4px;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
}

/* ============================================================
    RESET & BASE
============================================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg);
    color: var(--text-primary);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* ============================================================
    TYPOGRAPHY
============================================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    color: var(--primary);
    margin-bottom: 1rem;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }
h4 { font-size: clamp(1.1rem, 2.5vw, 1.35rem); }

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* ============================================================
    HEADER / NAVIGATION
============================================================ */
#main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background-color: rgba(250, 250, 250, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid rgba(65, 90, 99, 0.1);
    transition: all 0.3s ease;
}

#main-header.scrolled {
    padding: 1rem 2rem;
    box-shadow: var(--shadow-sm);
}

.nav-container.navbar {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: var(--max-width);
    margin: 0 auto;
}

.logo-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    transition: transform 0.3s ease;
}

.logo-wrapper:hover {
    transform: translateY(-2px);
}

.header-logo-icon {
    width: 5rem;
    height: auto;
    transition: all 0.3s ease;
    opacity: 0;
    animation: fadeInLogo 0.6s ease 0.1s forwards;
}

@keyframes fadeInLogo {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--primary);
    opacity: 0;
    animation: fadeInLogo 0.6s ease 0.2s forwards;
}

/* ============================================================
    HERO SECTION - COMING SOON
============================================================ */
.coming-soon-page {
    padding-top: 120px; /* Account for fixed header */
}

.hero-coming-soon {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-xl) var(--space-md);
    background: linear-gradient(135deg, var(--bg) 0%, var(--accent-light) 60%, rgba(135, 163, 141, 0.1) 100%);
    position: relative;
    overflow: hidden;
}

.hero-coming-soon::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(135, 163, 141, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-content-container {
    max-width: 800px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-circle-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(135, 163, 141, 0.12) 0%, rgba(233, 123, 55, 0.06) 50%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.3;
    }
}

.hero-main-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    color: var(--primary);
    margin-bottom: var(--space-md);
    line-height: 1.1;
}

.hero-lead {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto var(--space-sm);
}

.hero-subtext {
    font-size: clamp(0.95rem, 1.5vw, 1.1rem);
    color: var(--accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: var(--space-md);
}

/* ============================================================
    SECTIONS - SHARED STYLES
============================================================ */
section {
    padding: var(--space-xl) var(--space-md);
}

.content-wrapper {
    max-width: var(--max-width);
    margin: 0 auto;
}

.section-heading {
    text-align: center;
    font-size: clamp(2rem, 4vw, 2.75rem);
    color: var(--primary);
    margin-bottom: var(--space-sm);
    position: relative;
}

.section-heading::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent) 0%, var(--accent-warm) 100%);
    margin: 1.5rem auto;
    border-radius: 2px;
}

.section-intro {
    text-align: center;
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto var(--space-lg);
    line-height: 1.7;
}

/* ============================================================
    WHAT WE ARE - VALUES GRID
============================================================ */
.what-we-are {
    background-color: var(--bg-alt);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.value-card {
    background: var(--bg);
    padding: var(--space-md);
    border-radius: var(--radius);
    text-align: center;
    border: 1px solid rgba(135, 163, 141, 0.15);
    border-top: 3px solid var(--accent);
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
    will-change: transform, box-shadow, border-top-color;
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-top-color: var(--accent-warm);
}

.value-icon {
    font-size: 3rem;
    margin-bottom: var(--space-sm);
    filter: grayscale(20%);
}

.value-card h3 {
    font-size: 1.35rem;
    color: var(--primary);
    margin-bottom: var(--space-sm);
}

.value-card p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* ============================================================
    WHAT WE OFFER - PROGRAMS GRID
============================================================ */
.what-we-offer {
    background: linear-gradient(to bottom, var(--bg-alt) 0%, var(--accent-light) 100%);
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.program-item {
    background: var(--bg-alt);
    padding: var(--space-md);
    border-radius: var(--radius);
    border-left: 4px solid var(--accent);
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
    will-change: transform, box-shadow, border-left-color;
}

.program-item:hover {
    border-left-color: var(--accent-warm);
    transform: translateX(8px);
    box-shadow: var(--shadow-md);
}

.program-item h4 {
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: var(--space-xs);
}

.program-item p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* ============================================================
    PATH FORWARD - TIMELINE
============================================================ */
.path-forward {
    background-color: var(--bg-alt);
}

.timeline {
    max-width: 800px;
    margin: var(--space-lg) auto 0;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 20px;
    bottom: 20px;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent), var(--accent-warm));
}

.timeline-phase {
    position: relative;
    padding-left: 80px;
    margin-bottom: var(--space-lg);
}

.phase-marker {
    position: absolute;
    left: 0;
    top: 0;
    width: 60px;
    height: 60px;
    background: var(--bg);
    border: 3px solid var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    will-change: transform, background, border-color, box-shadow;
}

.timeline-phase.active .phase-marker {
    background: var(--accent-warm);
    border-color: var(--accent-warm);
    box-shadow: 0 0 0 8px rgba(233, 123, 55, 0.15);
}

.phase-number {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
}

.timeline-phase.active .phase-number {
    color: white;
}

.phase-content h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: var(--space-xs);
}

.phase-content p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: var(--space-xs);
}

.phase-status {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-warm);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 0.5rem;
}

.phase-status::before {
    content: '';
    width: 10px;
    height: 10px;
    background: var(--accent-warm);
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(233, 123, 55, 0.7);
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(233, 123, 55, 0.7);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(233, 123, 55, 0);
    }
}

/* ============================================================
    CTA SECTION
============================================================ */
.cta-section {
    background: var(--primary);
    color: white;
    text-align: center;
    padding: var(--space-xl) var(--space-md);
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    color: white;
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin-bottom: var(--space-md);
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    line-height: 1.6;
    margin-bottom: var(--space-lg);
}

.cta-buttons {
    display: flex;
    gap: var(--space-sm);
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================================
    BUTTONS
============================================================ */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: white;
    color: var(--primary);
}

.btn-primary:hover {
    background-color: var(--accent-warm);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border-color: white;
}

.btn-secondary:hover {
    background-color: white;
    color: var(--primary);
    transform: translateY(-2px);
}

/* ============================================================
    FOOTER
============================================================ */
.site-footer {
    background-color: var(--primary);
    color: rgba(255, 255, 255, 0.8);
    padding: var(--space-lg) var(--space-md);
    text-align: center;
}

.footer-content {
    max-width: var(--max-width);
    margin: 0 auto;
}

.footer-main {
    font-size: 1rem;
    margin-bottom: var(--space-xs);
    color: white;
}

.footer-tagline {
    font-size: 0.9rem;
    margin-bottom: var(--space-md);
    color: rgba(255, 255, 255, 0.7);
}

.footer-links {
    display: flex;
    gap: var(--space-sm);
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-links span {
    color: rgba(255, 255, 255, 0.4);
}

/* ============================================================
    SCROLL ANIMATIONS - Mindful Reveal
============================================================ */
.fade-in-element {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1.2s ease-out, transform 1.2s ease-out;
    transition-delay: var(--delay, 0s);
}

.fade-in-element.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Breathing animation for cards on hover */
.value-card,
.program-item {
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
    will-change: transform;
}

.value-card:hover,
.program-item:hover {
    animation: none; /* Remove breathing animation that causes jitter */
}

/* Smooth lift on hover instead of jittery breathe */
.value-card:hover {
    transform: translateY(-8px);
}

.program-item:hover {
    transform: translateX(8px);
}

/* ============================================================
    ANIMATIONS
============================================================ */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================================
    RESPONSIVE ADJUSTMENTS
============================================================ */
@media (max-width: 768px) {
    :root {
        --space-lg: 3rem;
        --space-xl: 4rem;
    }
    
    .hero-coming-soon {
        min-height: 60vh;
        padding: var(--space-lg) var(--space-sm);
    }
    
    section {
        padding: var(--space-lg) var(--space-sm);
    }
    
    .values-grid,
    .programs-grid {
        grid-template-columns: 1fr;
        gap: var(--space-sm);
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-phase {
        padding-left: 60px;
    }
    
    .phase-marker {
        width: 50px;
        height: 50px;
    }
    
    .phase-number {
        font-size: 1.25rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .header-logo-icon {
        width: 4rem;
    }
    
    .logo-text {
        font-size: 0.95rem;
    }
    
    .coming-soon-badge {
        font-size: 0.75rem;
        padding: 0.4rem 1.2rem;
    }
}

/* ============================================================
    ACCESSIBILITY
============================================================ */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus states for keyboard navigation */
a:focus-visible,
button:focus-visible {
    outline: 3px solid var(--accent-warm);
    outline-offset: 2px;
}