/*==================== MODERN BLOB STYLES ====================*/

.home__blob {
    width: 320px;
    height: 320px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.home__blob-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.15));
}

/* Modern blob shape with gradient */
.home__blob-shape {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    fill: url(#blob-gradient);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Gradient definition */
.home__blob-gradient-def {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

/* Animated outer ring with glassmorphism */
.home__blob-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 92%;
    height: 92%;
    border-radius: 50%;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.1) 0%, 
        rgba(255, 255, 255, 0.05) 100%);
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Secondary decorative ring */
.home__blob-ring-outer {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 98%;
    height: 98%;
    border-radius: 50%;
    border: 1px solid rgba(45, 45, 45, 0.1);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Image container with modern styling */
.home__blob-img-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 82%;
    height: 82%;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(255, 255, 255, 0.8);
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.15),
        inset 0 0 20px rgba(255, 255, 255, 0.1);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Image styling */
.home__blob-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(1.05) contrast(1.1);
}

/* Decorative particles */
.home__blob-particle {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--first-color), var(--first-color-alt));
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
}

.home__blob-particle:nth-child(1) {
    top: 10%;
    right: 15%;
}

.home__blob-particle:nth-child(2) {
    bottom: 15%;
    left: 10%;
}

.home__blob-particle:nth-child(6) {
    top: 5%;
    right: 8%;
}

.home__blob-particle:nth-child(7) {
    bottom: 8%;
    left: 5%;
}

.home__blob-particle:nth-child(8) {
    display: none !important; /* Ortadaki particle'ı gizle */
}

/* Hover effects */
.home__blob-container:hover .home__blob-shape {
    transform: translate(-50%, -50%) scale(1.08) rotate(5deg);
    filter: drop-shadow(0 25px 50px rgba(0, 0, 0, 0.2));
}

.home__blob-container:hover .home__blob-ring {
    width: 98%;
    height: 98%;
    opacity: 1;
}

.home__blob-container:hover .home__blob-ring-outer {
    width: 105%;
    height: 105%;
    opacity: 0.5;
}

.home__blob-container:hover .home__blob-img-wrapper {
    transform: translate(-50%, -50%) scale(1.05);
    border-color: rgba(255, 255, 255, 1);
    box-shadow: 
        0 15px 40px rgba(0, 0, 0, 0.2),
        inset 0 0 30px rgba(255, 255, 255, 0.15);
}

.home__blob-container:hover .home__blob-img {
    transform: scale(1.1);
    filter: brightness(1.0) contrast(1.15);
}

.home__blob-container:hover .home__blob-particle {
    opacity: 0.6;
    animation: particleFloat 3s ease-in-out infinite;
}

/* Particle animation */
@keyframes particleFloat {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-15px) scale(1.2);
    }
}

/* Responsive adjustments */
@media screen and (max-width: 420px) {
    .home__blob {
        width: 220px;
        height: 220px;
    }
    
    .home__blob-img-wrapper {
        border-width: 2px;
    }
}

@media screen and (min-width: 538px) and (max-width: 767px) {
    .home__blob {
        width: 280px;
        height: 280px;
    }
}

@media screen and (min-width: 768px) {
    .home__blob {
        width: 360px;
        height: 360px;
    }
}

@media screen and (min-width: 1024px) {
    .home__blob {
        width: 420px;
        height: 420px;
    }
    
    .home__blob-img-wrapper {
        border-width: 4px;
    }
}

/* Page load animation */
@keyframes blobEntrance {
    0% {
        opacity: 0;
        transform: scale(0.5) rotate(-10deg);
    }
    60% {
        transform: scale(1.05) rotate(2deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

.home__blob-container {
    animation: blobEntrance 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

/* Subtle pulse animation */
@keyframes modernPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.03);
    }
}

.home__blob-shape {
    animation: modernPulse 8s ease-in-out infinite;
}

/* Floating animation */
@keyframes blobFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.home__blob-container {
    animation: 
        blobEntrance 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) forwards,
        blobFloat 6s ease-in-out 1.2s infinite;
}

/* Shimmer effect on hover */
@keyframes shimmer {
    0% {
        background-position: -200% center;
    }
    100% {
        background-position: 200% center;
    }
}

.home__blob-img-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.3) 50%,
        transparent 100%
    );
    background-size: 200% 100%;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 1;
}

.home__blob-container:hover .home__blob-img-wrapper::before {
    opacity: 1;
    animation: shimmer 2s infinite;
}

/* Ensure image is above shimmer */
.home__blob-img {
    position: relative;
    z-index: 2;
}
