/* ==========================================================================
   1. KÖK DEĞİŞKENLER VE TEMEL AYARLAR (Synthwave Teması)
   ========================================================================== */
:root {
    --font-main: 'Poppins', sans-serif;
    --bg-dark: #0f0c29;
    /* Daha koyu, mavimsi bir mor */
    --bg-light-dark: #24243e;
    /* Kontrast için biraz daha açık */
    --text-light: #f0f0f0;
    --text-medium: #a0a0b0;
    --primary: #ff0099;
    /* Canlı Pembe */
    --primary-hover: #ff33aa;
    --secondary: #00ffff;
    /* Camgöbeği */
    --card-bg: rgba(36, 36, 62, 0.7);
    --border-color: rgba(255, 255, 255, 0.1);
    --header-height: 80px;
    --success: #2ecc71;
    --error: #e74c3c;
    --info: #3498db;
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-dark);
    color: var(--text-light);
    -webkit-font-smoothing: antialiased;
    line-height: 1.7;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-hover);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}


/* ==========================================================================
   2. STICKY FOOTER & LAYOUT
   ========================================================================== */
.site-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.site-content {
    flex-grow: 1;
    padding-top: var(--header-height);
    /* Header'ın kapladığı alanı boşalt */
    display: flex;
    flex-direction: column;
}

/* ==========================================================================
   3. PARÇACIK ARKA PLAN
   ========================================================================== */
#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    background-color: var(--bg-dark);
}


/* ==========================================================================
   4. HEADER
   ========================================================================== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 1000;
    background-color: rgba(15, 12, 41, 0.8);
    /* Arka plan rengini tema ile uyumlu hale getir */
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    transition: top 0.3s ease;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    font-size: 1.5rem;
    color: var(--text-light);
}

.logo img {
    height: 45px;
    border-radius: 8px;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1001;
}

.main-nav {
    display: flex;
    gap: 1rem;
}

.main-nav a {
    padding: 0.5rem 1rem;
    color: var(--text-medium);
    font-weight: 500;
    position: relative;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--text-light);
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 50%;
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background-color: var(--bg-dark);
        flex-direction: column;
        padding: 80px 2rem 2rem 2rem;
        transition: right 0.3s ease;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
        z-index: 1000;
    }

    .main-nav.active {
        right: 0;
    }

    .main-nav a {
        font-size: 1.1rem;
        padding: 1rem 0;
        border-bottom: 1px solid var(--border-color);
        width: 100%;
    }

    .main-nav a::after {
        display: none;
    }
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-button {
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.header-actions a.nav-button {
    background-color: var(--primary);
    color: white;
}

.header-actions a.nav-button:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 0, 153, 0.4);
    /* Gölge rengini ana renkle uyumlu yap */
}


/* ==========================================================================
   5. FOOTER
   ========================================================================== */
.main-footer {
    background-color: var(--bg-light-dark);
    padding: 4rem 0 2rem 0;
    border-top: 1px solid var(--border-color);
    margin-top: 5rem;
    /* İçerikle arasında boşluk */
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-column h4 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--text-light);
    position: relative;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary);
}

.footer-column.about p {
    color: var(--text-medium);
    line-height: 1.8;
}

.footer-column.links a {
    display: block;
    color: var(--text-medium);
    margin-bottom: 0.8rem;
    transition: all 0.3s ease;
}

.footer-column.links a:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--text-medium);
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    color: white;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-medium);
}

/* ==========================================================================
   6. ANA SAYFA - HERO BÖLÜMÜ
   ========================================================================== */
.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: calc(80vh - var(--header-height));
    padding: 4rem 0;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    background: linear-gradient(120deg, var(--secondary), var(--primary), var(--secondary));
    /* Yeni Synthwave gradyanı */
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: background-pan 5s linear infinite;
    background-size: 200% 100%;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-medium);
    max-width: 600px;
    margin: 0 auto 2.5rem auto;
}

.cta-button {
    display: inline-block;
    padding: 1rem 3rem;
    border: 1px solid var(--primary);
    background: var(--primary);
    color: white;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(255, 0, 153, 0.3);
    /* Gölge rengini ana renkle uyumlu yap */
}

.cta-button:hover {
    background-color: var(--primary-hover);
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(255, 0, 153, 0.5);
    /* Gölge rengini ana renkle uyumlu yap */
}


/* ==========================================================================
   7. GENEL İÇERİK STİLLERİ
   ========================================================================== */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 4rem;
}

section {
    padding: 5rem 0;
}

.page-header {
    text-align: center;
    margin-bottom: 4rem;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.2rem;
    color: var(--text-medium);
    max-width: 600px;
    margin: 0 auto;
}

.category-grid,
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2.5rem;
    justify-content: center; /* Ürünleri ortalamak için eklendi */
}

.see-all-button-container {
    text-align: center; /* Butonu ortalamak için */
    margin-top: 2.5rem; /* Ürünlerle arasında boşluk bırakmak için */
}


.category-card,
.product-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.4s ease;
    backdrop-filter: blur(5px);
}

.category-card:hover,
.product-card:hover {
    transform: translateY(-10px);
    border-color: var(--secondary);
    box-shadow: 0 0 15px -2px var(--primary), 0 0 30px -5px var(--secondary);
    /* Yeni parlama efekti */
}

.product-card {
    padding: 1.5rem;
}

.product-image-link {
    display: block;
    overflow: hidden;
    border-radius: 12px 12px 0 0;
}

.product-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-card:hover img {
    transform: scale(1.1);
}

.product-info {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    padding: 1.5rem;
}

.product-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.product-price {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
}

.product-button {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    text-align: center;
    text-decoration: none;
    font-weight: 600;
    margin-top: auto;
    transition: all 0.3s ease;
}

.product-button:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 0, 153, 0.4);
}

.product-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 1rem;
}

.no-content-message {
    text-align: center;
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 4rem;
}


/* ==========================================================================
   8. FORM VE GİRİŞ SAYFASI
   ========================================================================== */
.login-container,
.contact-form-wrapper {
    max-width: 500px;
    margin: 2rem auto;
    padding: 3rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    backdrop-filter: blur(10px);
}

.login-container h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-medium);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-light);
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(255, 0, 153, 0.5);
    /* Odaklandığında parlama efekti */
}

.cta-button.form-button {
    width: 100%;
    padding: 1rem;
}

#login-messages {
    text-align: center;
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 8px;
    font-weight: 500;
}

.message-success {
    background-color: rgba(46, 204, 113, 0.2);
    color: var(--success);
}

.message-error {
    background-color: rgba(231, 76, 60, 0.2);
    color: var(--error);
}

.message-info {
    background-color: rgba(52, 152, 219, 0.2);
    color: var(--info);
}


/* ==========================================================================
   9. ADMİN PANELİ
   ========================================================================== */
.admin-tabs {
    display: flex;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 3rem;
}

.tab-link {
    padding: 0.8rem 1.5rem;
    color: var(--text-medium);
    font-weight: 500;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    margin-bottom: -1px;
}

.tab-link:hover {
    color: var(--text-light);
}

.tab-link.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.admin-section .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.admin-section .section-header h2 {
    font-size: 1.8rem;
}

.admin-section .section-header .cta-button {
    padding: 0.8rem 1.5rem;
}

.table-responsive {
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--card-bg);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.admin-table th,
.admin-table td {
    padding: 1rem 1.5rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.admin-table thead {
    background-color: rgba(0, 0, 0, 0.2);
}

.admin-table th {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
}

.admin-table tbody tr:last-child td {
    border-bottom: none;
}

.admin-table tbody tr:hover {
    background-color: rgba(255, 255, 255, 0.03);
}

.actions .action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    text-decoration: none;
    margin-right: 0.5rem;
    transition: all 0.2s ease;
    color: var(--text-light);
}

.action-btn.edit {
    background-color: rgba(52, 152, 219, 0.2);
}

.action-btn.edit:hover {
    background-color: rgba(52, 152, 219, 0.4);
}

.action-btn.delete {
    background-color: rgba(231, 76, 60, 0.2);
}

.action-btn.delete:hover {
    background-color: rgba(231, 76, 60, 0.4);
}

/* ==========================================================================
   10. ANİMASYONLAR
   ========================================================================== */
.aos-init .aos-animate {
    transition-property: transform, opacity;
}

@keyframes background-pan {
    0% {
        background-position: 0% center;
    }

    100% {
        background-position: -200% center;
    }
}

/* ==========================================================================
   11. HIZLI ERİŞİM MENÜSÜ
   ========================================================================== */
.quick-access-menu {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(15, 12, 41, 0.95);
    /* Rengi güncelle */
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: center;
    gap: 2rem;
    z-index: 1001;
    padding: 1rem 0;
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.4);
}

.quick-access-menu.visible {
    transform: translateY(0);
}

.quick-access-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-medium);
    font-size: 0.85rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.quick-access-item:hover {
    color: var(--text-light);
    background-color: rgba(255, 255, 255, 0.05);
    transform: translateY(-3px);
}

.quick-access-item i {
    font-size: 1.6rem;
}

/* ==========================================================================
   12. FİLTRELEME BARI
   ========================================================================== */
.filter-bar {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-bar a {
    padding: 0.6rem 1.2rem;
    border: 1px solid var(--border-color);
    border-radius: 50px;
    color: var(--text-medium);
    transition: all 0.3s ease;
    text-decoration: none;
}

.filter-bar a:hover {
    background-color: var(--primary-hover);
    color: #fff;
    border-color: var(--primary-hover);
}

.filter-bar a.active {
    background-color: var(--primary);
    color: #fff;
    border-color: var(--primary);
    font-weight: 600;
}

/* ==========================================================================
   13. RN SAYFASI LAYOUT VE FLTRELEME
   ========================================================================== */
.products-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2.5rem;
    margin-top: 2rem;
}

.filter-sidebar {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    align-self: start;
    /* Kendi ykseklii kadar yer kaplasn */
    position: sticky;
    /* Sayfa kaydrldnda sabit kalsn */
    top: calc(var(--header-height) + 2rem);
    /* Header ykseklii + boluk */
}

.filter-sidebar h4 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--primary);
    padding-bottom: 0.5rem;
}

.filter-group {
    margin-bottom: 2rem;
}

.filter-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.filter-group select,
.filter-group input[type='number'] {
    width: 100%;
    padding: 0.8rem;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-light);
    font-size: 1rem;
}

.filter-group select option {
    background: var(--bg-light-dark);
    color: var(--text-light);
}

.filter-group select:focus,
.filter-group input[type='number']:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(255, 0, 153, 0.5);
}

.price-inputs {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.price-inputs span {
    color: var(--text-light);
}

.filter-sidebar .cta-button {
    width: 100%;
    margin-top: 1rem;
}

.filter-group input::placeholder {
    color: var(--text-medium);
    opacity: 0.7;
}

.buy-now-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.buy-now-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    background: linear-gradient(45deg, var(--primary-hover), var(--secondary));
    color: white;
}

.buy-now-btn i {
    transition: transform 0.3s ease;
}

.buy-now-btn:hover i {
    transform: translateX(3px);
}

/* Mobil cihazlar iin */
@media (max-width: 992px) {
    .products-layout {
        grid-template-columns: 1fr;
    }

    .filter-sidebar {
        position: static;
        /* Sabitlii kaldr */
        width: 100%;
        margin-bottom: 2.5rem;
    }
}


.animated-gradient-text {
    background: linear-gradient(120deg, var(--secondary), var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: background-pan 5s linear infinite;
    background-size: 200% 100%;
}

/* ==========================================================================
   14. ÜRÜN DETAY SAYFASI (Synthwave Revize)
   ========================================================================== */
.product-detail-page-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 2rem;
    align-items: start;
    padding: 80px 0;
}

@media (max-width: 992px) {
    .product-detail-page-layout {
        grid-template-columns: 1fr;
    }
}

.product-detail-wrapper {
    min-height: auto;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 10;
}

/* Benzer Ürünler Sidebar Stilleri */
.related-products-sidebar {
    background: linear-gradient(145deg, rgba(36, 36, 62, 0.9), rgba(15, 12, 41, 0.9));
    border-radius: 24px;
    border: 1px solid rgba(255, 0, 153, 0.2);
    padding: 2rem;
    backdrop-filter: blur(20px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    position: sticky;
    top: calc(var(--header-height) + 2rem);
}

.related-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 2rem;
    color: var(--text-light);
    border-bottom: 2px solid var(--primary);
    padding-bottom: 0.8rem;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.related-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 50%;
    height: 2px;
    background: var(--secondary);
    box-shadow: 0 0 10px var(--secondary);
}

.related-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.related-card {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    text-decoration: none;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255,255,255,0.02);
    border-radius: 16px;
    padding: 1rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.related-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.05), transparent);
    transform: skewX(-20deg);
    transition: all 0.5s ease;
}

.related-card:hover {
    transform: translateX(10px);
    background: rgba(255, 0, 153, 0.05);
    border-color: rgba(255, 0, 153, 0.4);
    box-shadow: 0 10px 20px rgba(255, 0, 153, 0.15), inset 0 0 15px rgba(255, 0, 153, 0.05);
}

.related-card:hover::before {
    left: 150%;
}

.related-img-container {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.1);
}

.related-img-container img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* cover yerine contain kullanarak thumbnailda da kesilmeyi önle */
    background: rgba(0,0,0,0.5); /* contain kullanınca arkaplan siyah olsun */
    transition: transform 0.5s ease;
}

.related-card:hover .related-img-container img {
    transform: scale(1.1);
}

.related-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.related-info h4 {
    font-size: 1.1rem;
    color: var(--text-light);
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.related-card:hover .related-info h4 {
    color: var(--primary);
}

.related-price {
    font-size: 1.1rem;
    color: var(--secondary);
    font-weight: 700;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

.product-detail-card {
    background: rgba(36, 36, 62, 0.7);
    /* var(--card-bg) */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    box-shadow:
        0 0 40px rgba(0, 0, 0, 0.5),
        inset 0 0 0 1px rgba(255, 255, 255, 0.1);
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    overflow: hidden;
    border: 1px solid var(--border-color);
    position: relative;
}

/* Neon Glow Efektleri */
.product-detail-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(255, 0, 153, 0.1), transparent 50%);
    pointer-events: none;
    z-index: -1;
}

.product-gallery {
    padding: 40px;
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column; /* Dikey hizalama için */
    align-items: center;
    justify-content: center;
    border-right: 1px solid var(--border-color);
}

.main-image-container {
    width: 100%;
    aspect-ratio: 1; /* Çerçeveyi tekrar kare/sabit orana alıyoruz ki estetik dursun */
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(15, 12, 41, 0.5); /* Koyu arkaplan */
    margin-bottom: 20px;
}

/* Bu element resmin kendisidir, orjinal boyutunda kalacak ama dışına taşmayacak */
.main-image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Resmi kırparak da olsa çerçevenin tamamını doldurur */
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.thumbnail-gallery {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.thumbnail-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.thumbnail-image:hover,
.thumbnail-image.active {
    border-color: var(--primary);
    opacity: 1;
    transform: scale(1.05);
}

.main-image:hover {
    transform: scale(1.05);
}

.product-info-section {
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.product-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(0, 255, 255, 0.1);
    /* var(--secondary) opak */
    color: var(--secondary);
    border: 1px solid rgba(0, 255, 255, 0.3);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 25px;
    align-self: flex-start;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.2);
}

.product-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.1;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.product-meta {
    margin-bottom: 30px;
    display: flex;
    align-items: center;
}

@keyframes price-rainbow {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.price-tag {
    font-size: 2.8rem;
    font-weight: 700;
    background: linear-gradient(300deg,
            var(--primary),
            #ffae00,
            var(--secondary),
            #00ff00,
            var(--primary));
    background-size: 300% 300%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: var(--font-main);
    filter: drop-shadow(0 0 5px rgba(255, 0, 153, 0.5));
    animation: price-rainbow 4s ease infinite;
}

.product-description {
    font-size: 1.1rem;
    color: var(--text-medium);
    line-height: 1.8;
    margin-bottom: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.product-actions {
    margin-top: auto;
}

.btn-buy-now {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 20px 50px;
    background: transparent;
    color: var(--text-light);
    text-decoration: none;
    border-radius: 100px;
    font-weight: 600;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    overflow: hidden;
    border: 2px solid var(--primary);
    box-shadow: 0 0 20px rgba(255, 0, 153, 0.2);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-buy-now i {
    margin-right: 12px;
    font-size: 1.4rem;
}

/* Butonun arka plan dolgu efekti */
.btn-buy-now::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: var(--primary);
    transition: width 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    z-index: 1;
}

.btn-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
}

.btn-buy-now:hover {
    box-shadow: 0 0 40px rgba(255, 0, 153, 0.6);
    transform: translateY(-2px);
    color: white;
}

.btn-buy-now:hover::before {
    width: 100%;
}

.btn-shine {
    display: none;
    /* Shine yerine solid fill kullanıyoruz */
}

.order-note {
    margin-top: 25px;
    font-size: 0.9rem;
    color: var(--text-medium);
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.03);
    padding: 10px 20px;
    border-radius: 8px;
    width: fit-content;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Responsive Tasarım */
@media (max-width: 992px) {
    .product-detail-card {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin: 0 auto;
    }

    .product-gallery {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        padding: 30px;
    }

    .product-info-section {
        padding: 30px;
    }

    .main-image-container {
        height: auto;
    }

    .product-title {
        font-size: 2.2rem;
    }
}

/* ==========================================================================
   15. GENEL MOBİL DÜZENLEMELER
   ========================================================================== */
@media (max-width: 768px) {
    section {
        padding: 3rem 0;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 2.5rem;
    }

    .page-header {
        margin-bottom: 2.5rem;
    }

    .page-header h1 {
        font-size: 2.2rem;
    }

    .login-container,
    .contact-form-wrapper {
        padding: 2rem 1.5rem;
        margin: 1rem auto;
    }

    .container {
        width: 92%;
    }

    .hero {
        padding: 2rem 0;
        min-height: 60vh;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .cta-button {
        padding: 0.8rem 2rem;
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .logo span {
        display: none; /* Mobilde sadece ikon kalsın çok darsa */
    }

    .logo {
        font-size: 1.2rem;
    }

    .product-grid {
        grid-template-columns: 1fr;
    }
}

/* Hero Swiper Slider Styles */
.hero.has-slider { padding: 4rem 0; min-height: auto; display: flex; align-items: center; justify-content: center; }

/* Animated Gradient Border Wrapper */
.slider-gradient-border { position: relative; border-radius: 26px; padding: 4px; background: linear-gradient(45deg, #ff0099, #00ffff, #ff0099, #00ffff); background-size: 400% 400%; animation: gradientBorder 6s ease infinite; box-shadow: 0 25px 50px rgba(0,0,0,0.5), 0 0 40px rgba(255, 0, 153, 0.3); }
@keyframes gradientBorder { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }

.heroSwiper { width: 100%; height: 550px; border-radius: 22px; overflow: hidden; background-color: var(--bg-dark); }
.swiper-slide { position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; border-radius: 22px; }
.swiper-slide img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.swiper-slide-active img { }
.slider-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to right, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.4) 50%, rgba(15, 23, 42, 0.8) 100%); z-index: 2; border-radius: 24px; }
.slider-caption { position: relative; z-index: 3; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: var(--text-light); width: 90%; max-width: 800px; margin: 0 auto; padding: 2rem; }
.slider-caption .slider-title { font-size: clamp(2.5rem, 5vw, 4.5rem); font-weight: 800; margin-bottom: 1rem; text-transform: uppercase; letter-spacing: 2px; color: #ffffff; text-shadow: 0 0 15px var(--primary), 0 0 30px rgba(255, 0, 153, 0.5), 0 4px 15px rgba(0,0,0,0.9); opacity: 0; transform: translateY(30px); transition: all 0.8s ease 0.3s; line-height: 1.2; }
.slider-caption .slider-subtitle { font-size: clamp(1.1rem, 2.5vw, 1.6rem); margin-bottom: 2.5rem; font-weight: 400; text-shadow: 0 2px 10px rgba(0,0,0,0.9), 0 0 10px rgba(0,255,255,0.3); opacity: 0; transform: translateY(30px); transition: all 0.8s ease 0.5s; color: #f0f0f0; line-height: 1.6; max-width: 650px; }
.slider-caption .slider-btn { opacity: 0; transform: translateY(30px); transition: all 0.8s ease 0.7s; box-shadow: 0 10px 20px -5px rgba(255, 0, 153, 0.5); padding: 1rem 2.5rem; font-size: 1.1rem; }
.swiper-slide-active .slider-caption .slider-title, .swiper-slide-active .slider-caption .slider-subtitle, .swiper-slide-active .slider-caption .slider-btn { opacity: 1; transform: translateY(0); }

/* Swiper Controls Overrides */
.swiper-button-next, .swiper-button-prev { color: var(--primary) !important; background: rgba(15, 12, 41, 0.6); width: 45px !important; height: 45px !important; border-radius: 50%; backdrop-filter: blur(8px); border: 1px solid rgba(255,0,153,0.4); transition: all 0.3s ease; }
.swiper-button-next:hover, .swiper-button-prev:hover { background: var(--primary); color: #fff !important; box-shadow: 0 0 20px rgba(255,0,153,0.6); transform: scale(1.1); }
.swiper-button-next::after, .swiper-button-prev::after { font-size: 1.1rem !important; font-weight: bold; }
.swiper-pagination-bullet { background: #fff !important; opacity: 0.4 !important; transition: all 0.3s ease; width: 8px !important; height: 8px !important; margin: 0 6px !important; }
.swiper-pagination-bullet-active { background: var(--primary) !important; opacity: 1 !important; width: 25px !important; border-radius: 4px !important; box-shadow: 0 0 10px var(--primary); }

@media (max-width: 768px) {
    .heroSwiper { height: 400px; }
    .hero.has-slider { padding: 2rem 0; }
}
