/* MF Resume - Revolutionary Landing Page */
/* Deep Purple, Bold, Empowering Design */

:root {
    /* Color Palette - Removed unused variables */
    --deep-purple: #2D1B69;
    --main-purple: #5a3dbe;
    --accent-gold: #FFD700;
    --accent-orange: #FFA500;
    --pure-white: #FFFFFF;

    /* Typography */
    --font-display: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --content-max-width: 1200px;
}

/* Base Styles - Override Pico CSS where needed */
body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--pure-white);
    background: var(--main-purple);
    overflow-x: hidden;
}

/* Container - Use Pico CSS container with custom max-width */
.container {
    max-width: var(--content-max-width);
}

/* Hero Landing Section */
.hero-landing {
    background: var(--main-purple);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 4rem 2rem;
}

/* Hero Grid Layout - Use Pico CSS grid */
.grid {
    align-items: center;
    min-height: 80vh;
    gap: 3rem;
}

/* Force single column layout for tablets and below */
@media (max-width: 1199px) {
    .grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 2rem;
    }

    .hero-text-column {
        margin-bottom: 0;
    }

    .hero-landing {
        padding: 3rem 2rem;
    }
}

/* Left Column - Image - Let Pico CSS handle alignment */
.hero-image-column {
    position: relative;
}

.image-stack {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image {
    height: auto;
    object-fit: contain;
    mask: radial-gradient(ellipse 150% 200% at top, black 30%, transparent 63%);
    -webkit-mask: radial-gradient(ellipse 150% 200% at top, black 30%, transparent 63%);
    border-radius: 20px;
    will-change: transform;
}

/* Optimize image stack for tablets and mobile */
@media (max-width: 1199px) {
    .image-stack {
        max-width: min(400px, 80vw);
        height: auto;
    }
}

/* Desktop - maintain some height control */
@media (min-width: 1200px) {
    .image-stack {
        height: min(400px, 60vh);
    }
}

/* Right Column - Text Content */
.hero-text-column {
    padding: 2rem 0;
}

/* Optimize text column padding for mobile */
@media (max-width: 1199px) {
    .hero-text-column {
        padding: 1rem 0;
    }
}


/* Typography */
.main-headline {
    font-family: var(--font-display);
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 800;
    color: var(--pure-white);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}


.body-copy {
    margin-bottom: 3rem;
}

.body-copy p {
    font-family: var(--font-body);
    font-size: clamp(1rem, 2vw, 1.125rem);
    font-weight: 400;
    color: var(--pure-white);
    line-height: 1.7;
    opacity: 0.9;
}

.body-copy strong {
    font-weight: 700;
    color: var(--accent-gold);
}

/* Call to Action */
.cta-section {
    text-align: center;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-orange) 100%);
    color: var(--deep-purple) !important;
    font-family: var(--font-body);
    font-size: 1.125rem;
    font-weight: 700;
    text-decoration: none;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(255, 215, 0, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(255, 215, 0, 0.4);
    background: linear-gradient(135deg, #FFDD00 0%, #FF8C00 100%);
}

.cta-button:active {
    transform: translateY(-1px);
}


/* Responsive Design - Let Pico CSS handle most responsiveness */
/* Only keep essential responsive adjustments for custom components */
@media (max-width: 1199px) {
    .hero-image-column {
        order: 2;
        /* Image appears second */
    }

    .hero-text-column {
        order: 1;
        /* Text appears first */
    }

    .main-headline {
        text-align: center;
    }

    .cta-section {
        text-align: center;
        margin-bottom: 0;
    }

    .body-copy {
        margin-bottom: 2rem;
    }
}

/* High Contrast Accessibility */
@media (prefers-contrast: high) {
    .body-copy p {
        opacity: 1;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .cta-button:hover {
        transform: none;
    }
}


/* Focus States for Accessibility */
.cta-button:focus {
    outline: 3px solid var(--accent-gold);
    outline-offset: 3px;
}