/* Custom Styles & Overrides */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6, .font-heading {
    font-family: 'Outfit', sans-serif;
}

/* Premium Swiper Customization */
.hero-swiper .swiper-button-next, .hero-swiper .swiper-button-prev {
    color: white !important;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    width: 56px !important;
    height: 56px !important;
    border-radius: 50%;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.hero-swiper .swiper-button-next:hover, .hero-swiper .swiper-button-prev:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}
.hero-swiper .swiper-button-next::after, .hero-swiper .swiper-button-prev::after {
    font-size: 18px !important;
    font-weight: 800;
}
.hero-swiper .swiper-pagination-bullet {
    background: white !important;
    opacity: 0.4 !important;
    width: 12px !important;
    height: 4px !important;
    border-radius: 2px !important;
    transition: all 0.4s ease;
}
.hero-swiper .swiper-pagination-bullet-active {
    opacity: 1 !important;
    background: #f59e0b !important;
    width: 32px !important;
}

/* App-Like Drawer/Bottom Sheet Transitions */
.app-modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: flex;
    visibility: hidden;
    transition: visibility 0.4s;
}
.app-modal.active {
    visibility: visible;
}

.app-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(8px);
    opacity: 0;
    transition: opacity 0.4s ease;
}
.app-modal.active .app-modal-overlay {
    opacity: 1;
}

.app-modal-content {
    position: relative;
    background: white;
    transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Mobile Bottom Sheet */
@media (max-width: 767px) {
    .app-modal {
        align-items: flex-end; 
    }
    .app-modal-content {
        width: 100%;
        height: 92vh;
        border-radius: 32px 32px 0 0;
        transform: translateY(100%);
        box-shadow: 0 -20px 40px rgba(0,0,0,0.2);
    }
    .app-modal.active .app-modal-content {
        transform: translateY(0);
    }
}

/* Desktop Centered Modal */
@media (min-width: 768px) {
    .app-modal {
        align-items: center; 
        justify-content: center; 
        padding: 2rem;
    }
    .app-modal-content {
        width: 100%;
        max-width: 800px;
        max-height: 90vh;
        border-radius: 24px;
        transform: scale(0.95) translateY(20px);
        opacity: 0;
        box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    }
    .app-modal.active .app-modal-content {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

/* Thumbs Gallery Styling */
.modal-thumbs-swiper .swiper-slide {
    width: 80px !important;
    height: 80px !important;
    border-radius: 12px;
    overflow: hidden;
    opacity: 0.4;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}
.modal-thumbs-swiper .swiper-slide-thumb-active {
    opacity: 1;
    border-color: #3b82f6; 
}
.modal-thumbs-swiper .swiper-slide:hover {
    opacity: 0.8;
}

/* Premium Aesthetic Scrollbar */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: #f8fafc; border-radius: 10px; }
::-webkit-scrollbar-thumb { 
    background: #cbd5e1; 
    border-radius: 10px;
    border: 2px solid #f8fafc; 
    transition: background 0.3s;
}
::-webkit-scrollbar-thumb:hover { background: #3b82f6; }

/* Form Shake Validation Animation */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}
.shake-error {
    animation: shake 0.4s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
    border-color: #ef4444 !important;
    color: #ef4444 !important;
}
.shake-error::placeholder,
.shake-error #service-select-text {
    color: #fca5a5 !important;
}

/* Bouncy Scroll To Top Animation */
.scroll-bounce-anim {
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ... existing code ... */
.scroll-bounce-anim {
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Infinite Marquee for References (Logos) */
.marquee-wrapper {
    display: flex;
    overflow: hidden;
    user-select: none;
    width: 100%;
}
.marquee-content {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: space-around;
    min-width: 100%;
    /* Soldan sağa kayma işlemi için (reverse) ve kesintisiz akış */
    animation: scrollX 35s linear infinite reverse;
}
@keyframes scrollX {
    from { transform: translateX(0); }
    to { transform: translateX(-100%); } 
}
.marquee-wrapper:hover .marquee-content {
    animation-play-state: paused;
}