/* =========================================
   PASTEL THEME OVERRIDES & REACT STYLES
   ========================================= */

/* 1. Global Pastel Background & Glassmorphism */
body {
    background: linear-gradient(135deg, #fdfbfb 0%, #ebedee 100%);
    color: #4a4a4a;
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

header {
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(12px) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.4) !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05) !important;
}

/* 2. Soft Box Shadows instead of Brutalist Black Borders */
.hero, .about-section, .cert-section, .contact-box, .skill-card, .cert-card {
    background: rgba(255, 255, 255, 0.6) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.8) !important;
    box-shadow: 0 8px 32px 0 rgba(100, 100, 111, 0.08) !important;
    border-radius: 24px !important;
}

.badge, .section-badge, .cta-button, .education-box, .contact-field, .exp-card, .work-card, .skill-stack-card {
    background: rgba(255, 255, 255, 0.9) !important;
    border: 1px solid rgba(255, 255, 255, 1) !important;
    box-shadow: 0 4px 20px 0 rgba(100, 100, 111, 0.05) !important;
    border-radius: 16px !important;
}

/* Fix Images */
.profile-image, .work-image, .about-image {
    border: none !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* 3. Typography Updates */
h1, h2, h3, h4, .logo, .contact-title {
    color: #2c3e50 !important;
}

p, .hero-text, nav a, .footer p {
    color: #596275 !important;
}

.cta-button {
    color: #ff8fa3 !important;
    border: 2px solid #ff8fa3 !important;
    box-shadow: none !important;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: #ff8fa3 !important;
    color: white !important;
    box-shadow: 0 10px 20px rgba(255, 143, 163, 0.3) !important;
    transform: translateY(-2px);
}

/* Remove original background colors */
.work-section, .skills-section, .experience-section {
    background: transparent !important;
}

.footer {
    background: rgba(255, 255, 255, 0.8) !important;
    color: #596275 !important;
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.6);
}

.footer-links a {
    color: #ff8fa3 !important;
}

/* =========================================
   REACT COMPONENTS STYLES (Animations)
   ========================================= */

/* Infinite Marquee */
.marquee-container {
    overflow: hidden;
    white-space: nowrap;
    /* gradient background for marquee */
    background: linear-gradient(90deg, #ff9a9e 0%, #fecfef 99%, #fecfef 100%) !important;
    color: #fff !important;
    padding: 1.5rem 0;
    margin-bottom: 4rem;
    transform: rotate(-2deg) scale(1.05); /* Slight tilt */
    border: none !important;
    box-shadow: 0 10px 30px rgba(255, 154, 158, 0.3);
}

.marquee-content {
    display: inline-block;
    animation: marquee 25s linear infinite;
    font-size: 1.4rem;
    font-weight: 600;
}

.marquee-content span {
    margin: 0 2.5rem;
}

.marquee-content .star {
    color: #fff;
    font-size: 1.2rem;
    opacity: 0.8;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Stacked Skills */
.stacked-skills-container {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
    perspective: 1000px;
}

.skill-stack-card {
    position: absolute;
    width: 100%;
    padding: 2.5rem !important;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-origin: top center;
}

.stacked-skills-container:hover .skill-stack-card {
    position: relative !important;
    top: auto !important;
    transform: none !important;
    margin-bottom: 1.5rem;
    z-index: 10 !important;
}

.skill-stack-card h3 {
    font-size: 1.6rem;
    margin-bottom: 1.2rem;
    border-bottom: 2px dashed rgba(0,0,0,0.05);
    padding-bottom: 0.5rem;
}

.skill-stack-card ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.skill-stack-card li {
    font-size: 1rem;
    color: #4a4a4a !important;
    background: rgba(255, 143, 163, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 143, 163, 0.2);
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.skill-stack-card li:hover {
    background: rgba(255, 143, 163, 0.2);
    transform: translateY(-2px);
}

.skill-stack-card .sparkle {
    color: #ff8fa3;
    margin-right: 0.5rem;
    font-size: 1.1rem;
}

/* 3D Interactive Project Cards */
.react-work-card {
    background: rgba(255, 255, 255, 0.9) !important;
    border-radius: 20px !important;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 1) !important;
    transition: transform 0.2s ease-out, opacity 0.8s ease, box-shadow 0.2s ease-out;
    will-change: transform, opacity;
}

.react-work-card.reveal-hidden {
    opacity: 0;
    transform: translateY(60px);
}

.react-work-card.reveal-visible {
    opacity: 1;
    transform: translateY(0);
}

.react-work-card:hover {
    box-shadow: 0 30px 60px rgba(100,100,111,0.15) !important;
    z-index: 10;
}

.work-info .tech-stack {
    font-size: 0.95rem;
    font-weight: 600;
    color: #ff8fa3 !important;
    margin-bottom: 1rem;
    background: rgba(255, 143, 163, 0.1);
    display: inline-block;
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
}
