@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600&family=Rajdhani:wght@500;700&family=JetBrains+Mono:wght@400;700;800&display=swap');

/* --- TEMEL & ARKA PLAN --- */
.animated-bg {
    background-size: 150% 150%;
    background-attachment: fixed;
    animation: slowScroll 60s ease-in-out infinite;
}

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

/* Scrollbar Gizleme */
.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

/* --- SHOWROOM (GRID & AÇILIR PANELLER) --- */
/* Expanded grid panel */
.showroom-panel {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    margin: 0;
    transform: translateY(-10px);
    transition: max-height 0.8s cubic-bezier(0.165, 0.84, 0.44, 1), opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
}

.showroom-panel.active {
    max-height: 4000px;
    opacity: 1;
    transform: translateY(0);
}

/* Fix for floating badge z-index overlapping issues */
.showroom-card-wrapper {
    position: relative;
    z-index: 10;
}

.showroom-card-wrapper.active {
    z-index: 20;
}

/* --- KART EFEKTLERİ --- */
.product-card-hover {
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.product-card-hover:hover {
    transform: translateY(-8px) scale(1.02); /* Added slight enlarge movement */
    box-shadow: 0 10px 30px -10px rgba(229, 9, 20, 0.5);
    border-color: rgba(229, 9, 20, 0.5);
}

/* Spotlight Maskesi (Anasayfa Rig Görselleri için) */
.spotlight-mask {
    mask-image: linear-gradient(to right, black 50%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, black 60%, transparent 100%);
}

.spotlight-mask-reverse {
    mask-image: linear-gradient(to left, black 50%, transparent 100%);
    -webkit-mask-image: linear-gradient(to left, black 60%, transparent 100%);
}

/* --- MODAL (POPUP) & TABLAR --- */
/* Tab Aktif Durumu */
.active-tab {
    border-bottom: 2px solid #e50914;
    color: #e50914 !important;
}

/* Modal Açılış Animasyonu (Mekanik Hissiyat) */
.modal-enter-active {
    animation: modalSlideUp 0.5s cubic-bezier(0.19, 1, 0.22, 1) forwards;
}

@keyframes modalSlideUp {
    from { opacity: 0; transform: translateY(40px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Modal Kapanış (Eğer ileride kullanmak isterseniz) */
.modal-leave-active {
    opacity: 0;
    transform: scale(0.95);
    transition: all 0.3s ease-in;
}

/* --- PREMIUM UI UPGRADES (NEW) --- */

/* Radial Gradients / Backgrounds */
.animated-bg {
    background: radial-gradient(circle at 50% 50%, #1a1a1f 0%, #0a0a0c 100%);
    background-attachment: fixed;
}

/* Spotlight Effects */
.spotlight-red {
    background: radial-gradient(circle at center, rgba(229, 9, 20, 0.15) 0%, transparent 70%);
}
.spotlight-white {
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
}
.spotlight-ghost {
    background: radial-gradient(circle at center, rgba(0, 210, 255, 0.15) 0%, transparent 70%);
}

/* Glassmorphism */
.glass-card {
    background: rgba(24, 24, 29, 0.4);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Masking for images (Fading out the sides) */
.image-mask-right {
    mask-image: linear-gradient(to right, black 70%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, black 70%, transparent 100%);
}
.image-mask-left {
    mask-image: linear-gradient(to left, black 70%, transparent 100%);
    -webkit-mask-image: linear-gradient(to left, black 70%, transparent 100%);
}

/* Custom Premium Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: #0a0a0c;
}
::-webkit-scrollbar-thumb {
    background: #e50914;
    border-radius: 10px;
}

/* --- CAROUSEL MECHANICS --- */
.carousel-container {
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch; /* Safari desteği için */
}

.carousel-item {
    scroll-snap-align: start;
    flex: 0 0 auto;
}
/* --- INFINITE CAROUSEL & SPECS TABLE --- */
.spec-row:hover td { background-color: rgba(255,255,255,0.02); }

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-250px * 6)); } /* 6 items wide */
}
.slider {
    height: 100px;
    margin: auto;
    overflow: hidden;
    position: relative;
    width: 100%;
}
.slider::before, .slider::after {
    background: linear-gradient(to right, #0a0a0c 0%, rgba(10,10,12,0) 100%);
    content: "";
    height: 100%;
    position: absolute;
    width: 15%;
    z-index: 2;
}
.slider::after {
    right: 0;
    top: 0;
    transform: rotateZ(180deg);
}
.slider::before {
    left: 0;
    top: 0;
}
.slide-track {
    animation: scroll 35s linear infinite;
    display: flex;
    width: calc(250px * 12); /* Double the items for seamless loop */
}
.slide-track:hover {
    animation-play-state: paused;
}
.slide {
    height: 100px;
    width: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
}
.slide img {
    max-width: 100%;
    max-height: 60px;
    opacity: 0.4;
    transition: all 0.4s ease;
    filter: grayscale(100%);
}
.slide img:hover {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.1);
}
/* --- CONFIGURATOR HOTSPOT STYLES --- */
.hotspot {
    position: absolute;
    width: 36px;
    height: 36px;
    background-color: rgba(10, 10, 12, 0.8);
    border: 2px solid #e50914;
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transform: translate(-50%, -50%); /* Tam merkeze oturtmak için */
    z-index: 30;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}

.hotspot:hover {
    background-color: #e50914;
    transform: translate(-50%, -50%) scale(1.1);
}

.hotspot i {
    font-size: 14px;
    transition: transform 0.3s ease;
}

.hotspot.active {
    background-color: #e50914;
    box-shadow: 0 0 15px rgba(229, 9, 20, 0.6);
}

.hotspot.active i {
    transform: rotate(45deg); /* Artı işaretini çarpıya çevirir */
}

/* Nabız (Pulse) Efekti */
.pulse::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(229, 9, 20, 0.4);
    border-radius: 50%;
    z-index: -1;
    animation: pulse-animation 2s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
}

@keyframes pulse-animation {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(2.5); opacity: 0; }
}

/* Options Card Hover Effect */
.option-card {
    transition: all 0.2s ease;
}
.option-card.selected {
    border-color: #e50914;
    background-color: rgba(229, 9, 20, 0.05);
}