/* =====================================================
   BAYENCA PARFÜM - ANIMATIONS CSS
   Parfüm Efektleri ve Özel Animasyonlar
   ===================================================== */

/* ===== PARFÜM SIS ANİMASYONU ===== */
.perfume-mist::before,
.footer-mist::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: -50%;
    width: 200%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(212, 175, 55, 0.1), transparent 70%);
    animation: mistMove 15s ease-in-out infinite;
}

@keyframes mistMove {

    0%,
    100% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(30%);
    }
}

/* ===== PARFÜM SIKMA EFEKTİ ===== */
@keyframes perfumeSpray {
    0% {
        opacity: 0;
        transform: scale(0.5) translateY(0);
    }

    20% {
        opacity: 1;
        transform: scale(1) translateY(-20px);
    }

    40% {
        opacity: 0.8;
        transform: scale(1.5) translateY(-40px);
    }

    60% {
        opacity: 0.5;
        transform: scale(2) translateY(-60px);
    }

    80% {
        opacity: 0.2;
        transform: scale(2.5) translateY(-80px);
    }

    100% {
        opacity: 0;
        transform: scale(3) translateY(-100px);
    }
}

.spray-particle {
    position: absolute;
    width: 10px;
    height: 10px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.8), transparent);
    border-radius: 50%;
    animation: perfumeSpray 2s ease-out forwards;
}

/* ===== ALTINLI PARLAMA ===== */
@keyframes goldShine {
    0% {
        background-position: -200% center;
    }

    100% {
        background-position: 200% center;
    }
}

.shine-effect {
    background: linear-gradient(90deg,
            transparent,
            rgba(212, 175, 55, 0.3),
            transparent);
    background-size: 200% 100%;
    animation: goldShine 3s infinite;
}

/* ===== HOVER ZOOM ===== */
.zoom-hover {
    overflow: hidden;
}

.zoom-hover img {
    transition: transform 0.5s ease;
}

.zoom-hover:hover img {
    transform: scale(1.1);
}

/* ===== FADE IN UP ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* ===== FADE IN DOWN ===== */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-down {
    animation: fadeInDown 0.6s ease-out;
}

/* ===== FADE IN LEFT ===== */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.fade-in-left {
    animation: fadeInLeft 0.6s ease-out;
}

/* ===== FADE IN RIGHT ===== */
@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.fade-in-right {
    animation: fadeInRight 0.6s ease-out;
}

/* ===== SCALE IN ===== */
@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.scale-in {
    animation: scaleIn 0.5s ease-out;
}

/* ===== ROTATE IN ===== */
@keyframes rotateIn {
    from {
        opacity: 0;
        transform: rotate(-180deg) scale(0.5);
    }

    to {
        opacity: 1;
        transform: rotate(0deg) scale(1);
    }
}

.rotate-in {
    animation: rotateIn 0.8s ease-out;
}

/* ===== BOUNCE ===== */
@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-20px);
    }

    60% {
        transform: translateY(-10px);
    }
}

.bounce {
    animation: bounce 2s infinite;
}

/* ===== PULSE ===== */
@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
}

.pulse {
    animation: pulse 2s infinite;
}

/* ===== SHAKE ===== */
@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    10%,
    30%,
    50%,
    70%,
    90% {
        transform: translateX(-5px);
    }

    20%,
    40%,
    60%,
    80% {
        transform: translateX(5px);
    }
}

.shake {
    animation: shake 0.5s;
}

/* ===== GLOW ===== */
@keyframes glow {

    0%,
    100% {
        box-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
    }

    50% {
        box-shadow: 0 0 30px rgba(212, 175, 55, 0.6);
    }
}

.glow {
    animation: glow 2s infinite;
}

/* ===== LOADING SPINNER ===== */
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(212, 175, 55, 0.2);
    border-top-color: var(--gold);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

/* ===== SHIMMER LOADING ===== */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }

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

.shimmer {
    background: linear-gradient(90deg,
            rgba(26, 26, 26, 1) 0%,
            rgba(42, 42, 42, 1) 50%,
            rgba(26, 26, 26, 1) 100%);
    background-size: 1000px 100%;
    animation: shimmer 2s infinite;
}

/* ===== TYPING EFFECT ===== */
@keyframes typing {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}

@keyframes blink {
    50% {
        border-color: transparent;
    }
}

.typing-effect {
    overflow: hidden;
    border-right: 2px solid var(--gold);
    white-space: nowrap;
    animation: typing 3s steps(40) 1s 1 normal both,
        blink 0.75s step-end infinite;
}

/* ===== GRADIENT ANIMATION ===== */
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.gradient-animate {
    background: linear-gradient(-45deg,
            var(--gold),
            var(--dark-gold),
            var(--gold),
            var(--dark-gold));
    background-size: 400% 400%;
    animation: gradientShift 5s ease infinite;
}

/* ===== FLOAT ===== */
@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

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

/* ===== SLIDE IN FROM BOTTOM ===== */
@keyframes slideInFromBottom {
    from {
        opacity: 0;
        transform: translateY(100%);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-in-bottom {
    animation: slideInFromBottom 0.6s ease-out;
}

/* ===== FLIP ===== */
@keyframes flip {
    from {
        transform: perspective(400px) rotateY(90deg);
        opacity: 0;
    }

    to {
        transform: perspective(400px) rotateY(0);
        opacity: 1;
    }
}

.flip {
    animation: flip 0.6s ease-out;
}

/* ===== HEARTBEAT ===== */
@keyframes heartbeat {

    0%,
    100% {
        transform: scale(1);
    }

    10%,
    30% {
        transform: scale(0.9);
    }

    20%,
    40%,
    60%,
    80% {
        transform: scale(1.1);
    }

    50%,
    70% {
        transform: scale(1.05);
    }
}

.heartbeat {
    animation: heartbeat 1.5s infinite;
}

/* ===== DELAY CLASSES ===== */
.delay-100 {
    animation-delay: 0.1s;
}

.delay-200 {
    animation-delay: 0.2s;
}

.delay-300 {
    animation-delay: 0.3s;
}

.delay-400 {
    animation-delay: 0.4s;
}

.delay-500 {
    animation-delay: 0.5s;
}

.delay-600 {
    animation-delay: 0.6s;
}

.delay-700 {
    animation-delay: 0.7s;
}

.delay-800 {
    animation-delay: 0.8s;
}

.delay-900 {
    animation-delay: 0.9s;
}

.delay-1000 {
    animation-delay: 1s;
}

/* ===== DURATION CLASSES ===== */
.duration-fast {
    animation-duration: 0.3s;
}

.duration-normal {
    animation-duration: 0.6s;
}

.duration-slow {
    animation-duration: 1s;
}

.duration-slower {
    animation-duration: 2s;
}