/* ============================================
   STORM London - Ortak Stiller
   ============================================ */

/* Base */
* { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; }
h1, h2, h3, h4, h5, h6 { font-family: 'Playfair Display', serif; }

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    background: rgba(12, 17, 32, 0.95);
    backdrop-filter: blur(20px);
    border-bottom-color: #1E2742;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.navbar.scrolled .nav-logo {
    transform: scale(0.85);
}

.nav-logo {
    transition: transform 0.4s ease;
}

/* Light Theme Navbar */
html:not(.dark) .navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom-color: #e5e5e5;
}

html:not(.dark) .navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    border-bottom-color: #e5e5e5;
}

html:not(.dark) .navbar .nav-text {
    color: #1a1a1a;
}

html:not(.dark) .navbar .nav-link {
    color: #4a4a4a;
}

html:not(.dark) .navbar .nav-link:hover {
    color: #222C6A;
}

/* ============================================
   SCROLLBAR
   ============================================ */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0C1120;
}

::-webkit-scrollbar-thumb {
    background: #222C6A;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #3A4590;
}

html:not(.dark) ::-webkit-scrollbar-track {
    background: #f5f5f5;
}

/* ============================================
   PRODUCT CARDS
   ============================================ */
.product-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(34, 44, 106, 0.2);
}

.product-card .product-actions {
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover .product-actions {
    transform: translateY(0);
}

.product-card .product-img img {
    transition: transform 0.6s ease;
}

.product-card:hover .product-img img {
    transform: scale(1.08);
}

/* ============================================
   WISHLIST BUTTON
   ============================================ */
.wishlist-btn {
    transition: all 0.3s ease;
}

.wishlist-btn:hover {
    background: #ef4444;
    color: white;
}

.wishlist-btn.active {
    background: #ef4444;
    color: white;
}

/* ============================================
   COLOR OPTION
   ============================================ */
.color-option {
    transition: all 0.2s;
}

.color-option:hover {
    transform: scale(1.1);
}

.color-option.active {
    box-shadow: 0 0 0 3px #222C6A;
}

/* ============================================
   SCROLL REVEAL
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }

/* ============================================
   BUTTON EFFECTS
   ============================================ */
.btn-primary {
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(34, 44, 106, 0.4);
}

/* ============================================
   HERO (Ana Sayfa)
   ============================================ */
.hero-bg {
    will-change: transform;
}

/* ============================================
   COLLECTION CARDS (Ana Sayfa)
   ============================================ */
.collection-card {
    transition: all 0.5s ease;
}

.collection-card:hover {
    transform: scale(1.02);
}

.collection-card .collection-img {
    transition: transform 0.7s ease;
}

.collection-card:hover .collection-img {
    transform: scale(1.1);
}

/* ============================================
   TESTIMONIAL CARDS (Ana Sayfa)
   ============================================ */
.testimonial-card {
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: rgba(34, 44, 106, 0.5);
}

/* ============================================
   MOBILE MENU
   ============================================ */
.mobile-menu {
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.mobile-menu.open {
    transform: translateX(0);
}

/* ============================================
   KATEGORI SAYFASI
   ============================================ */
.filter-sidebar {
    transition: transform 0.3s ease;
}

.custom-checkbox {
    appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid #1E2742;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
}

html:not(.dark) .custom-checkbox {
    border-color: #d1d5db;
}

.custom-checkbox:checked {
    background: #222C6A;
    border-color: #222C6A;
}

.custom-checkbox:checked::after {
    content: '';
    display: block;
    width: 5px;
    height: 9px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    margin: 2px 0 0 5px;
}

.price-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: #1E2742;
    outline: none;
}

html:not(.dark) .price-slider {
    background: #e5e7eb;
}

.price-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #222C6A;
    cursor: pointer;
    transition: all 0.2s;
}

.price-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(34, 44, 106, 0.5);
}

.quick-view-modal {
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.quick-view-modal.active {
    opacity: 1;
    visibility: visible;
}

.quick-view-content {
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.quick-view-modal.active .quick-view-content {
    transform: scale(1);
}

.filter-drawer {
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.filter-drawer.open {
    transform: translateX(0);
}

.skeleton {
    background: linear-gradient(90deg, #0C1120 25%, #1E2742 50%, #0C1120 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
}

html:not(.dark) .skeleton {
    background: linear-gradient(90deg, #e5e7eb 25%, #f3f4f6 50%, #e5e7eb 75%);
    background-size: 200% 100%;
}

@keyframes skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ============================================
   URUN DETAY SAYFASI
   ============================================ */
.gallery-thumb {
    transition: all 0.3s;
    border: 2px solid transparent;
}

.gallery-thumb.active {
    border-color: #222C6A;
}

.gallery-thumb:hover {
    opacity: 0.8;
}

.qty-btn {
    transition: all 0.2s;
}

.qty-btn:hover {
    background: #222C6A;
}

.tab-btn {
    position: relative;
}

.tab-btn::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: #222C6A;
    transform: scaleX(0);
    transition: transform 0.3s;
}

.tab-btn.active::after {
    transform: scaleX(1);
}

.sticky-mobile-bar {
    transform: translateY(100%);
    transition: transform 0.3s;
}

.sticky-mobile-bar.visible {
    transform: translateY(0);
}

.zoom-modal {
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.zoom-modal.active {
    opacity: 1;
    visibility: visible;
}

/* ============================================
   HAKKIMIZDA SAYFASI
   ============================================ */
.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #222C6A, transparent);
    transform: translateX(-50%);
}

@media (max-width: 768px) {
    .timeline-line { left: 20px; }
}

/* ============================================
   PROFIL SAYFASI
   ============================================ */
.sidebar-link {
    transition: all 0.2s;
}

.sidebar-link:hover,
.sidebar-link.active {
    background: rgba(34, 44, 106, 0.1);
    color: #222C6A;
}

.sidebar-link.active {
    border-left-color: #222C6A;
}

.item-order-line {display: none!important}