/* Genesis Portfolio - Main Styles */

* {
    font-family: 'Space Grotesk', sans-serif;
}

/* ========== KEYFRAME ANIMATIONS ========== */

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    25% { transform: translateY(-20px) rotate(2deg); }
    50% { transform: translateY(-40px) rotate(-2deg); }
    75% { transform: translateY(-20px) rotate(2deg); }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(168, 85, 247, 0.3);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 40px rgba(168, 85, 247, 0.6);
        transform: scale(1.05);
    }
}

@keyframes shimmer {
    0% { background-position: -1000px 0; }
    100% { background-position: 1000px 0; }
}

@keyframes slide-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slide-left {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slide-right {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes zoom-in {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes spin-icon {
    from { transform: rotateY(0deg); }
    to { transform: rotateY(360deg); }
}

@keyframes progress-fill {
    from {
        width: 0;
        box-shadow: 0 0 20px rgba(168, 85, 247, 0);
    }
    to {
        box-shadow: 0 0 20px rgba(168, 85, 247, 0.6);
    }
}

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

@keyframes blob {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -50px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}

@keyframes pulse-glow {
    0%, 100% {
        filter: drop-shadow(0 0 10px rgba(168, 85, 247, 0.3));
    }
    50% {
        filter: drop-shadow(0 0 20px rgba(168, 85, 247, 0.8));
    }
}

@keyframes flip-in {
    from {
        opacity: 0;
        transform: rotateY(90deg) rotateX(10deg);
    }
    to {
        opacity: 1;
        transform: rotateY(0deg) rotateX(0deg);
    }
}

@keyframes skew-in {
    from {
        opacity: 0;
        transform: skewY(10deg) translateY(30px);
    }
    to {
        opacity: 1;
        transform: skewY(0deg) translateY(0);
    }
}

@keyframes bounce-in {
    0% {
        opacity: 0;
        transform: scale(0.3) translateY(30px);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes float-up {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes rotate-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========== ANIMATION CLASSES ========== */

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-glow {
    animation: glow 3s ease-in-out infinite;
}

.animate-blob {
    animation: blob 7s infinite;
}

.animate-spin-icon {
    animation: spin-icon 2s ease-in-out;
}

.animate-pulse-glow {
    animation: pulse-glow 2s ease-in-out infinite;
}

.animate-float-up {
    animation: float-up 3s ease-in-out infinite;
}

.animate-rotate-slow {
    animation: rotate-slow 20s linear infinite;
}

/* ========== UTILITY CLASSES ========== */

.gradient-text {
    background: linear-gradient(135deg, #a855f7 0%, #ec4899 50%, #f59e0b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-blob {
    position: absolute;
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    filter: blur(50px);
    opacity: 0.7;
}

.glass-effect {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.card-hover {
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.card-hover:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(168, 85, 247, 0.3);
}

.tech-badge {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.tech-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.tech-badge:hover::before {
    left: 100%;
}

.tech-badge:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 12px 30px rgba(168, 85, 247, 0.4);
}

.form-input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(168, 85, 247, 0.3);
    transition: all 0.3s ease;
}

.form-input:focus {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(168, 85, 247, 0.8);
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.2);
}

.gradient-btn {
    background: linear-gradient(135deg, #a855f7 0%, #ec4899 100%);
    position: relative;
    overflow: hidden;
}

.gradient-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.gradient-btn:hover::before {
    width: 300px;
    height: 300px;
}

/* ========== SCROLL ANIMATIONS ========== */

.fade-in-up {
    opacity: 0;
}

.fade-in-left {
    opacity: 0;
}

.fade-in-right {
    opacity: 0;
}

.zoom-in-scroll {
    opacity: 0;
}

.flip-in-scroll {
    opacity: 0;
}

.skew-in-scroll {
    opacity: 0;
}

.bounce-in-scroll {
    opacity: 0;
}

.blur-text {
    text-shadow: 0 0 10px rgba(168, 85, 247, 0.3);
}

/* ========== PROGRESS BAR ========== */

.progress-container {
    margin-bottom: 1.5rem;
}

.progress-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(168, 85, 247, 0.2);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #a855f7, #ec4899);
    border-radius: 10px;
    animation: progress-fill 1.2s ease-out forwards;
    box-shadow: 0 0 10px rgba(168, 85, 247, 0.4);
}

/* ========== CAROUSEL STYLES ========== */

@keyframes slide-carousel {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

@keyframes counter {
    from { transform: rotateX(90deg); }
    to { transform: rotateX(0deg); }
}

@keyframes shimmer-text {
    0% { background-position: -1000px 0; }
    100% { background-position: 1000px 0; }
}

.carousel-container {
    position: relative;
    overflow: hidden;
    border-radius: 1.5rem;
    margin: 0 auto;
}

.carousel-track {
    display: flex;
    gap: 3rem;
    will-change: transform;
    padding: 0.5rem 0;
}

.carousel-item {
    flex: 0 0 100%;
    min-height: 400px;
}

@media (min-width: 768px) {
    .carousel-item {
        flex: 0 0 calc(50% - 1rem);
    }
}

.carousel-item-clone {
    flex: 0 0 100%;
    min-height: 400px;
}

@media (min-width: 768px) {
    .carousel-item-clone {
        flex: 0 0 calc(50% - 1rem);
    }
}

/* ========== PROJECT CARD STYLES ========== */

.project-card {
    position: relative;
    overflow: hidden;
    border-radius: 1.5rem;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background-size: cover;
    background-position: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.project-card:hover img {
    transform: scale(1.05);
}

.project-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 70px rgba(168, 85, 247, 0.5);
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.8) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.project-overlay h3 {
    margin-bottom: 0.5rem;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.project-card:hover .project-overlay h3 {
    transform: translateY(0);
}

.project-overlay p {
    transform: translateY(20px);
    transition: transform 0.4s ease;
    transition-delay: 0.1s;
}

.project-card:hover .project-overlay p {
    transform: translateY(0);
}

.project-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.project-card:hover .project-info {
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.95) 100%) !important;
}

/* ========== HERO ICON ANIMATIONS ========== */

.hero-icon-float {
    animation: float-up 4s ease-in-out infinite;
}

/* ========== CHATBOT STYLES ========== */

#chatWindow {
    pointer-events: all;
}

#chatMessages {
    scroll-behavior: smooth;
}

#chatInput {
    pointer-events: all;
}

.quick-option {
    pointer-events: all;
    cursor: pointer;
}

#sendBtn {
    pointer-events: all;
    cursor: pointer;
}

/* ========== REPEATER ADMIN STYLES ========== */

.repeater-wrapper {
    margin-bottom: 30px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 5px;
}

.repeater-wrapper h3,
.repeater-wrapper h2 {
    margin-top: 0;
    margin-bottom: 15px;
}

.repeater-items {
    margin-bottom: 15px;
}

.repeater-item {
    border: 1px solid #ddd;
    padding: 15px;
    margin-bottom: 15px;
    background: #ffffff;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    font-size: 14px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #a855f7;
    box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.1);
}

.button-danger {
    background: #dc3545 !important;
    color: white !important;
    border: none !important;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
}

.button-danger:hover {
    background: #c82333 !important;
}

.repeater-add-project,
.repeater-add-skill {
    margin-top: 10px;
}

.repeater-image-preview {
    max-width: 150px;
    max-height: 150px;
    margin-top: 10px;
    border-radius: 4px;
}

/* ========== RESPONSIVE ========== */

@media (max-width: 768px) {
    .hero-blob {
        filter: blur(30px);
    }
	
	.hero_bg{
background: linear-gradient(to bottom, rgba(15, 23, 42, 0) 0%, rgba(15, 23, 42, 0) 20%, rgba(15, 23, 42, 0.3) 50%, rgba(15, 23, 42, 0.7) 80%, rgba(15, 23, 42, 1) 100%) !important;
    
}
	}
 
