/* -------------------------------------------------------------
   EVALYN GROOMER PORTFOLIO - ULTRA GRADIENT & NEON GLOW SYSTEM
   ------------------------------------------------------------- */

:root {
    --bg-dark: #070510;
    --bg-card: rgba(18, 14, 36, 0.75);
    --border-glass: rgba(255, 255, 255, 0.18);
    
    /* Extreme Gradients */
    --grad-primary: linear-gradient(135deg, #ff007f 0%, #7928ca 40%, #00dfd8 80%, #ff7300 100%);
    --grad-text: linear-gradient(90deg, #ff007f, #ff7300, #00dfd8, #ab30ff, #ff007f);
    --grad-button: linear-gradient(45deg, #ff007f, #7928ca, #00d2ff, #ff007f);
    --grad-glow: linear-gradient(135deg, rgba(255, 0, 127, 0.8), rgba(0, 223, 216, 0.8), rgba(121, 40, 202, 0.8));
    
    --text-main: #ffffff;
    --text-muted: #a7b0c0;
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
}

body {
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* -------------------------------------------------------------
   EXTREME AMBIENT GLOW ORBS & BACKGROUND ANIMATIONS
   ------------------------------------------------------------- */
.glow-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    pointer-events: none;
    opacity: 0.65;
    animation: orbPulseFloat 12s ease-in-out infinite alternate;
}

.orb-1 {
    width: 650px;
    height: 650px;
    background: radial-gradient(circle, #ff007f 0%, rgba(255, 0, 127, 0.2) 50%, rgba(0,0,0,0) 70%);
    top: -150px;
    left: -150px;
}

.orb-2 {
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, #7928ca 0%, rgba(0, 223, 216, 0.3) 50%, rgba(0,0,0,0) 70%);
    top: 35%;
    right: -200px;
    animation-delay: -4s;
}

.orb-3 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, #00dfd8 0%, rgba(255, 115, 0, 0.3) 50%, rgba(0,0,0,0) 70%);
    bottom: -150px;
    left: 15%;
    animation-delay: -8s;
}

@keyframes orbPulseFloat {
    0% { transform: translate(0, 0) scale(1); opacity: 0.5; }
    50% { transform: translate(80px, 90px) scale(1.25); opacity: 0.8; filter: blur(90px); }
    100% { transform: translate(-60px, 50px) scale(0.95); opacity: 0.6; filter: blur(140px); }
}

/* -------------------------------------------------------------
   SHIMMERING GRADIENT TEXT & NEON GLOWS
   ------------------------------------------------------------- */
.gradient-text {
    background: var(--grad-text);
    background-size: 300% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textShift 5s ease infinite;
    filter: drop-shadow(0 0 12px rgba(255, 0, 127, 0.3));
}

.animated-gradient {
    animation: textShift 3s linear infinite;
}

@keyframes textShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* -------------------------------------------------------------
   GLASSMORPHIC CARDS WITH DYNAMIC ROTATING GLOW BORDERS
   ------------------------------------------------------------- */
.glass-card {
    position: relative;
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass);
    border-radius: 26px;
    box-shadow: 0 10px 35px 0 rgba(0, 0, 0, 0.5), 0 0 15px rgba(255, 0, 127, 0.15);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--grad-glow);
    border-radius: 28px;
    z-index: -1;
    opacity: 0.3;
    transition: opacity 0.4s ease;
    filter: blur(8px);
}

.glass-card:hover {
    border-color: rgba(0, 223, 216, 0.6);
    box-shadow: 0 15px 50px 0 rgba(255, 0, 127, 0.4), 0 0 30px rgba(0, 223, 216, 0.4);
    transform: translateY(-8px) scale(1.02);
}

.glass-card:hover::before {
    opacity: 0.9;
    animation: borderRotate 3s linear infinite;
}

@keyframes borderRotate {
    0% { filter: blur(8px) hue-rotate(0deg); }
    100% { filter: blur(12px) hue-rotate(360deg); }
}

.glowing-card {
    border: 1px solid rgba(255, 0, 127, 0.4);
    box-shadow: 0 0 20px rgba(255, 0, 127, 0.25), inset 0 0 15px rgba(0, 223, 216, 0.15);
    animation: cardPulse 4s ease-in-out infinite alternate;
}

@keyframes cardPulse {
    0% { box-shadow: 0 0 20px rgba(255, 0, 127, 0.25), inset 0 0 15px rgba(0, 223, 216, 0.15); }
    100% { box-shadow: 0 0 35px rgba(0, 223, 216, 0.45), inset 0 0 25px rgba(255, 0, 127, 0.3); }
}

/* Header & Nav */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(7, 5, 16, 0.9);
    backdrop-filter: blur(16px);
    padding: 14px 0;
    border-bottom: 1px solid var(--border-glass);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 20px rgba(255, 0, 127, 0.2);
}

.nav-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-logo {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--text-main);
    text-decoration: none;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--text-main);
    text-shadow: 0 0 10px #00dfd8;
}

/* Buttons */
.btn {
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 800;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.gradient-btn {
    background: var(--grad-button);
    background-size: 200% 200%;
    color: #fff;
    box-shadow: 0 4px 25px rgba(255, 0, 127, 0.6), 0 0 15px rgba(0, 210, 255, 0.4);
    animation: btnGlowPulse 2.5s ease-in-out infinite alternate;
}

@keyframes btnGlowPulse {
    0% { box-shadow: 0 4px 25px rgba(255, 0, 127, 0.6), 0 0 15px rgba(0, 210, 255, 0.4); }
    100% { box-shadow: 0 6px 35px rgba(0, 223, 216, 0.8), 0 0 25px rgba(255, 0, 127, 0.7); transform: scale(1.03); }
}

.gradient-btn:hover {
    background-position: 100% 0;
    transform: translateY(-3px) scale(1.05);
}

.gradient-btn-sm {
    padding: 10px 22px;
    border-radius: 50px;
    background: var(--grad-button);
    color: #fff;
    font-weight: 800;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(121, 40, 202, 0.6), 0 0 10px rgba(255, 0, 127, 0.4);
    transition: all 0.3s ease;
}

.gradient-btn-sm:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 30px rgba(0, 223, 216, 0.8);
}

.glass-btn {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-main);
    border: 1px solid var(--border-glass);
    backdrop-filter: blur(12px);
}

.glass-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #00dfd8;
    box-shadow: 0 0 20px rgba(0, 223, 216, 0.5);
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    padding: 140px 24px 80px;
    max-width: 1240px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 30px;
    background: rgba(255, 0, 127, 0.2);
    border: 1px solid rgba(255, 0, 127, 0.5);
    color: #ff5eb4;
    font-size: 0.9rem;
    font-weight: 800;
    margin-bottom: 24px;
    box-shadow: 0 0 15px rgba(255, 0, 127, 0.4);
    animation: badgeFloat 3s ease-in-out infinite alternate;
}

@keyframes badgeFloat {
    0% { transform: translateY(0); }
    100% { transform: translateY(-6px); }
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
    text-shadow: 0 0 20px rgba(255, 0, 127, 0.3);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 36px;
    max-width: 520px;
}

.hero-actions {
    display: flex;
    gap: 16px;
}

/* Portrait Card */
.hero-visual {
    display: flex;
    justify-content: center;
}

.portrait-card {
    position: relative;
    width: 400px;
    border-radius: 32px;
    padding: 12px;
    background: var(--bg-card);
    border: 2px solid transparent;
    background-image: linear-gradient(var(--bg-dark), var(--bg-dark)), var(--grad-primary);
    background-origin: border-box;
    background-clip: content-box, border-box;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), 0 0 40px rgba(255, 0, 127, 0.4);
    animation: floatCard 5s ease-in-out infinite alternate;
}

@keyframes floatCard {
    0% { transform: translateY(0) rotate(0deg); }
    100% { transform: translateY(-16px) rotate(1deg); }
}

.image-wrapper {
    position: relative;
    width: 100%;
    height: 440px;
    border-radius: 24px;
    overflow: hidden;
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.portrait-gradient-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 45%;
    background: linear-gradient(to top, rgba(7, 5, 16, 0.95), transparent);
}

.portrait-caption {
    padding: 16px 8px 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.caption-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
}

.caption-sub {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Stats Section */
.stats-section {
    max-width: 1240px;
    margin: 0 auto 80px;
    padding: 0 24px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 20px;
}

.stat-card {
    padding: 28px 18px;
    text-align: center;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.6rem;
    font-weight: 900;
    margin-bottom: 8px;
    word-break: break-all;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* About Section */
.about-section {
    max-width: 1240px;
    margin: 0 auto 100px;
    padding: 0 24px;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 12px;
    text-shadow: 0 0 15px rgba(255, 0, 127, 0.3);
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.15rem;
}

.about-grid {
    display: grid;
    grid-template-columns: 2fr 1.2fr;
    gap: 24px;
}

.about-card {
    padding: 36px;
}

.bio-heading {
    font-family: var(--font-heading);
    font-size: 1.7rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.bio-text {
    color: var(--text-muted);
    line-height: 1.75;
    margin-bottom: 16px;
    font-size: 1.05rem;
}

.bio-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.bio-tag {
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 700;
}

.gradient-tag {
    background: linear-gradient(135deg, rgba(255, 0, 127, 0.3), rgba(0, 223, 216, 0.3));
    border: 1px solid rgba(255, 0, 127, 0.6);
    color: #fff;
    box-shadow: 0 0 10px rgba(255, 0, 127, 0.3);
}

.principles-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.principles-list li {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.icon-box {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    background: linear-gradient(135deg, rgba(255, 0, 127, 0.4), rgba(121, 40, 202, 0.4));
    border: 1px solid rgba(255, 0, 127, 0.6);
    box-shadow: 0 0 15px rgba(255, 0, 127, 0.4);
    animation: iconGlow 3s ease-in-out infinite alternate;
}

@keyframes iconGlow {
    0% { transform: scale(1); box-shadow: 0 0 15px rgba(255, 0, 127, 0.4); }
    100% { transform: scale(1.1); box-shadow: 0 0 25px rgba(0, 223, 216, 0.7); }
}

.principles-list p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 4px;
}

/* Gallery Section */
.gallery-section {
    max-width: 1240px;
    margin: 0 auto 100px;
    padding: 0 24px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.gallery-card {
    overflow: hidden;
    cursor: pointer;
}

.gallery-img-container {
    position: relative;
    height: 270px;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
}

.gallery-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-card:hover .gallery-img-container img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(255, 0, 127, 0.85), rgba(121, 40, 202, 0.7));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    font-weight: 900;
    letter-spacing: 1px;
    box-shadow: inset 0 0 30px rgba(0, 223, 216, 0.6);
}

.gallery-card:hover .gallery-overlay {
    opacity: 1;
}

.gallery-meta {
    padding: 20px;
}

.gallery-meta h4 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    margin-bottom: 4px;
}

.gallery-meta p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Upload Container */
.upload-container {
    padding: 36px;
    text-align: center;
}

.upload-container h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.upload-container p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 24px;
}

.drop-zone {
    border: 2px dashed rgba(255, 0, 127, 0.6);
    border-radius: 22px;
    padding: 40px;
    background: rgba(255, 0, 127, 0.06);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: inset 0 0 20px rgba(255, 0, 127, 0.1);
}

.drop-zone:hover {
    background: rgba(0, 223, 216, 0.12);
    border-color: #00dfd8;
    box-shadow: 0 0 30px rgba(0, 223, 216, 0.4);
}

.drop-icon {
    font-size: 2.8rem;
    margin-bottom: 12px;
}

.uploaded-previews {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 16px;
    margin-top: 24px;
}

.uploaded-preview-item {
    position: relative;
    height: 130px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-glass);
}

.uploaded-preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Journey Timeline */
.journey-section {
    max-width: 900px;
    margin: 0 auto 100px;
    padding: 0 24px;
}

.timeline {
    position: relative;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background: var(--grad-primary);
    transform: translateX(-50%);
    border-radius: 2px;
    box-shadow: 0 0 15px #ff007f;
}

.timeline-item {
    position: relative;
    width: 45%;
    padding: 24px;
    margin-bottom: 30px;
}

.timeline-item.left {
    left: 0;
}

.timeline-item.right {
    left: 55%;
}

.timeline-dot {
    position: absolute;
    top: 30px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--grad-button);
    box-shadow: 0 0 20px #ff007f, 0 0 10px #00dfd8;
    animation: dotPulse 2s ease-in-out infinite alternate;
}

@keyframes dotPulse {
    0% { transform: scale(1); }
    100% { transform: scale(1.3); box-shadow: 0 0 30px #00dfd8; }
}

.timeline-item.left .timeline-dot {
    right: -49px;
}

.timeline-item.right .timeline-dot {
    left: -49px;
}

.timeline-date {
    font-weight: 800;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.timeline-content h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin: 8px 0;
}

.timeline-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Footer */
.footer {
    border-top: 1px solid var(--border-glass);
    padding: 40px 24px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    background: rgba(7, 5, 16, 0.95);
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.8);
}

/* Lightbox Modal */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(7, 5, 16, 0.94);
    backdrop-filter: blur(25px);
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 85%;
    max-height: 80vh;
    border-radius: 24px;
    border: 2px solid var(--border-glass);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.9), 0 0 40px rgba(255, 0, 127, 0.5);
}

.lightbox-caption {
    margin-top: 20px;
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 3.2rem;
    color: #fff;
    cursor: pointer;
    transition: color 0.2s;
}

.lightbox-close:hover {
    color: #ff007f;
    text-shadow: 0 0 15px #ff007f;
}

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

    .hero-subtitle {
        margin: 0 auto 36px;
    }

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

    .hero-visual {
        margin-top: 20px;
    }

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

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

    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 50px;
    }

    .timeline-item.left,
    .timeline-item.right {
        left: 0;
    }

    .timeline-item.left .timeline-dot,
    .timeline-item.right .timeline-dot {
        left: 10px;
    }
}

@media (max-width: 600px) {
    .hero-title {
        font-size: 2.8rem;
    }

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

    .portrait-card {
        width: 100%;
    }
}
