:root {
    --primary-color: #0363B5;
    --leaf-opacity: 1.0;
    --leaf-width: 384px;
    /* lg:w-96 equivalent */
    --leaf-width-mobile: 192px;
    /* w-48 equivalent */
}

html {
    scroll-behavior: smooth;
}

.no-scrollbar::-webkit-scrollbar {
    display: none;
}

.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.glass-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.leaf-parallax {
    transition: transform 0.2s cubic-bezier(0.33, 1, 0.68, 1);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

.animate-fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

.section-active {
    color: var(--primary-color) !important;
}

.section-active-bg {
    background-color: #f0f7ff !important;
}

/* Projects Slider Styles */
.projects-slider-container {
    overflow: visible !important;
}

.projects-slider-wrapper {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    gap: 2rem;
}

.project-slide {
    flex: 0 0 100%;
    min-width: 0;
}

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

.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 99px;
    background: #e4e4e7;
    transition: all 0.3s ease;
    cursor: pointer;
}

.slider-dot.active {
    width: 32px;
    background: var(--primary-color);
}

.slider-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ink);
    cursor: pointer;
    z-index: 20;
    opacity: 0;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.projects-slider-container:hover .slider-nav-btn {
    opacity: 1;
}

.slider-nav-btn:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.slider-nav-btn.prev {
    left: -32px;
}

.slider-nav-btn.next {
    right: -32px;
}

@media (max-width: 1024px) {
    .slider-nav-btn {
        display: none;
    }
}

/* Apple Glass Modal Styles */
.glass-modal {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(40px) saturate(180%);
    -webkit-backdrop-filter: blur(40px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
}

.glass-input {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(4px);
    transition: all 0.3s ease;
}

.glass-input:focus {
    background: rgba(255, 255, 255, 0.4);
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 15px rgba(3, 99, 181, 0.2);
}

/* Fixed Mimoji Button */
#fixed-mimoji {
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform: translateY(150%) scale(0.5);
    opacity: 0;
}

#fixed-mimoji.visible {
    transform: translateY(0) scale(1);
    opacity: 1;
}

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

/* Mobil için varsayılan ayarlar (Genişlik Tailwind sınıflarından gelir) */
.mimoji-style {
    margin-top: 0;
    margin-right: 0;
}

/* Sadece Desktop (1024px ve üzeri) için geçerli ayarlar */
@media (min-width: 1024px) {
    .mimoji-style {
        margin-top: -140px !important;
        margin-right: -180px !important;
        width: 420px !important;
    }
}

/* Sadece Mobil Ekranlar İçin (1024px altı) */
@media (max-width: 1023px) {
    .top-\[60\%\] {
        top: 41% !important;
    }

    .left-\[-10\%\] {
        left: -30% !important;
    }
}

@media (min-width: 1024px) {

    #leaf-1,
    #leaf-2 {
        width: var(--leaf-width) !important;
        opacity: var(--leaf-opacity) !important;
    }
}