/* Product Detail Page - WebStil YENİ RENK PALETİ */

:root {
    --primary: #00ff88;
    --secondary: #a4ff00;
    --accent: #ffea00;
    --dark-bg: #0f1419;
    --light-text: #e2e8f0;
    --muted-text: #94a3b8;
}

.product-detail-section {
    padding: 150px 5% 80px;
    min-height: 100vh;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 40px;
    font-size: 0.9rem;
    color: var(--muted-text);
}

.breadcrumb a {
    color: var(--primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--secondary);
}

.breadcrumb span {
    color: #475569;
}

/* Product Detail Grid */
.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 80px;
}

/* Image Gallery */
.product-gallery {
    position: sticky;
    top: 120px;
    height: fit-content;
}

.main-image-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16/10;
    border-radius: 20px;
    overflow: hidden;
    background: rgba(20, 25, 30, 0.8);
    border: 1px solid rgba(0, 255, 136, 0.3);
    margin-bottom: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 40px rgba(0, 255, 136, 0.2);
}

.main-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    opacity: 1;
    transition: opacity 0.3s ease;
    pointer-events: none;
    background: linear-gradient(to right, rgba(0,0,0,0.15) 0%, transparent 20%, transparent 80%, rgba(0,0,0,0.15) 100%);
}

.gallery-nav {
    pointer-events: auto;
}

.gallery-nav {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(15, 20, 25, 0.9);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(0, 255, 136, 0.6);
    color: var(--primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 255, 136, 0.3);
}

.gallery-nav:hover {
    background: linear-gradient(135deg, #00ff88, #a4ff00);
    border-color: transparent;
    color: #0a0e14;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 255, 136, 0.6), 0 0 40px rgba(0, 255, 136, 0.5);
}

.gallery-nav svg {
    width: 24px;
    height: 24px;
}

.image-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(15, 20, 25, 0.95);
    backdrop-filter: blur(15px);
    padding: 10px 20px;
    border-radius: 25px;
    border: 1px solid rgba(0, 255, 136, 0.5);
    color: var(--light-text);
    font-size: 0.95rem;
    font-weight: 600;
    z-index: 10;
    pointer-events: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 255, 136, 0.3);
}

/* Thumbnail Gallery */
.thumbnail-gallery {
    display: none; /* Geçici olarak gizlendi - aynı görseller tekrar gösteriliyordu */
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
}

.thumbnail {
    aspect-ratio: 16/10;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid rgba(0, 255, 136, 0.2);
    transition: all 0.3s ease;
    opacity: 0.6;
}

.thumbnail:hover {
    opacity: 1;
    transform: translateY(-3px);
    border-color: rgba(0, 255, 136, 0.5);
}

.thumbnail.active {
    border-color: var(--primary);
    opacity: 1;
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.5);
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Product Info Detail */
.product-info-detail {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.product-badge {
    display: inline-block;
    width: fit-content;
    padding: 8px 20px;
    background: rgba(0, 255, 136, 0.15);
    border: 1px solid rgba(0, 255, 136, 0.4);
    border-radius: 20px;
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.2);
}

.product-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.2;
    background: linear-gradient(135deg, #ffffff 0%, #00d4ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
}

/* Product Rating */
.product-rating {
    display: flex;
    align-items: center;
    gap: 15px;
}

.stars {
    color: #fbbf24;
    font-size: 1.2rem;
    letter-spacing: 2px;
}

.rating-text {
    color: var(--muted-text);
    font-size: 0.9rem;
}

.product-description {
    color: #cbd5e1;
    font-size: 1.1rem;
    line-height: 1.8;
    padding: 20px 0;
    border-bottom: 1px solid rgba(0, 212, 255, 0.1);
}

/* Price Box */
.product-price-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 25px;
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid rgba(0, 255, 136, 0.3);
    border-radius: 15px;
    box-shadow: 0 0 30px rgba(0, 255, 136, 0.15);
}

.price-info {
    display: flex;
    align-items: baseline;
    gap: 15px;
}

.old-price {
    font-size: 1.3rem;
    color: #64748b;
    text-decoration: line-through;
}

.current-price {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #00d4ff, #7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.discount-badge {
    padding: 10px 20px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: #ffffff;
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.9rem;
}

/* Features List */
.product-features-list {
    padding: 30px;
    background: rgba(20, 25, 30, 0.8);
    border: 1px solid rgba(0, 255, 136, 0.2);
    border-radius: 15px;
}

.product-features-list h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: #ffffff;
}

.product-features-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.product-features-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #cbd5e1;
    line-height: 1.8;
    margin-bottom: 12px;
    font-size: 1rem;
}

.product-features-list li svg {
    width: 20px;
    height: 20px;
    stroke: #10b981;
    flex-shrink: 0;
    margin-top: 3px;
}

/* Tech Stack */
.tech-stack h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #ffffff;
}

.tech-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tech-badge {
    padding: 8px 18px;
    background: rgba(0, 255, 136, 0.15);
    border: 1px solid rgba(0, 255, 136, 0.4);
    border-radius: 20px;
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
}

/* CTA Buttons Detail */
.cta-buttons-detail {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.btn-large {
    flex: 1;
    padding: 18px 30px;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-large svg {
    width: 20px;
    height: 20px;
}

/* Product Tabs */
.product-tabs {
    margin-top: 80px;
    background: rgba(20, 25, 30, 0.9);
    border: 1px solid rgba(0, 255, 136, 0.2);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.tab-buttons {
    display: flex;
    border-bottom: 1px solid rgba(0, 255, 136, 0.2);
    background: rgba(15, 20, 25, 0.9);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 255, 136, 0.3) rgba(15, 20, 25, 0.5);
}

.tab-buttons::-webkit-scrollbar {
    height: 4px;
}

.tab-buttons::-webkit-scrollbar-track {
    background: rgba(15, 20, 25, 0.5);
}

.tab-buttons::-webkit-scrollbar-thumb {
    background: rgba(0, 255, 136, 0.3);
    border-radius: 2px;
}

.tab-btn {
    flex: 1;
    min-width: 150px;
    padding: 20px 30px;
    background: transparent;
    border: none;
    color: var(--muted-text);
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    white-space: nowrap;
}

.tab-btn:hover {
    color: var(--light-text);
    background: rgba(0, 255, 136, 0.08);
}

.tab-btn.active {
    color: var(--primary);
    background: rgba(0, 255, 136, 0.15);
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #00ff88, #a4ff00);
}

.tab-content-container {
    padding: 50px;
}

.tab-content {
    display: none;
    padding: 30px;
    background: rgba(15, 20, 25, 0.5);
    border-radius: 15px;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

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

.tab-content h2 {
    font-size: 2rem;
    margin-bottom: 25px;
    color: var(--light-text);
}

.tab-content h3 {
    font-size: 1.5rem;
    margin: 30px 0 15px;
    color: var(--light-text);
}

.tab-content h4 {
    color: var(--light-text);
}

.tab-content p {
    color: #cbd5e1;
    line-height: 1.8;
    font-size: 1.05rem;
    margin-bottom: 20px;
}

.tab-content ul {
    color: #cbd5e1;
    line-height: 1.8;
    margin-left: 30px;
    margin-bottom: 20px;
}

.tab-content ul li {
    margin-bottom: 10px;
}

.tab-content ul li strong {
    color: var(--primary);
}

/* Features Grid Tab */
.features-grid-tab {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.feature-box {
    padding: 25px;
    background: rgba(20, 25, 30, 0.8);
    border: 1px solid rgba(0, 255, 136, 0.2);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 255, 136, 0.4);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 255, 136, 0.2);
}

.feature-box h4 {
    color: var(--primary);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.feature-box p {
    color: var(--muted-text);
    margin: 0;
}

.feature-card-tab {
    padding: 30px;
    background: rgba(20, 25, 30, 0.8);
    border: 1px solid rgba(0, 255, 136, 0.2);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.feature-card-tab:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 255, 136, 0.4);
    background: rgba(30, 35, 40, 0.9);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 255, 136, 0.2);
}

.feature-card-tab h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.feature-card-tab ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.feature-card-tab li {
    margin-bottom: 12px;
    color: var(--muted-text);
    padding-left: 20px;
    position: relative;
}

.feature-card-tab li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--primary);
}

/* Installation Steps */
.installation-steps {
    margin-top: 40px;
}

.step {
    display: flex;
    gap: 25px;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(0, 255, 136, 0.2);
}

.step:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    margin-top: 5px;
}

.step-content p {
    margin: 0;
}

/* Support Grid */
.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.support-card {
    padding: 30px;
    background: rgba(20, 25, 30, 0.8);
    border: 1px solid rgba(0, 255, 136, 0.2);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.support-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 255, 136, 0.4);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 255, 136, 0.2);
}

.support-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.support-card p {
    margin: 0;
}

.contact-support {
    margin-top: 50px;
    padding: 40px;
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.15), rgba(164, 255, 0, 0.15));
    border: 1px solid rgba(0, 255, 136, 0.3);
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3), 0 0 30px rgba(0, 255, 136, 0.2);
}

.contact-support h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.contact-support p {
    margin-bottom: 25px;
}

/* Related Products */
.related-products {
    padding-top: 80px;
    border-top: 1px solid rgba(0, 255, 136, 0.2);
}

/* Responsive */
@media (max-width: 1024px) {
    .product-detail-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .product-gallery {
        position: relative;
        top: 0;
    }

    .thumbnail-gallery {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .product-detail-section {
        padding: 120px 5% 60px;
    }

    .thumbnail-gallery {
        grid-template-columns: repeat(3, 1fr);
    }

    .product-title {
        font-size: 1.8rem;
    }

    .current-price {
        font-size: 2rem;
    }

    .product-price-box {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .cta-buttons-detail {
        flex-direction: column;
    }

    .tab-content-container {
        padding: 30px 20px;
    }

    .tab-button {
        padding: 15px 20px;
        font-size: 0.9rem;
    }

    .features-grid-tab {
        grid-template-columns: 1fr;
    }

    .step {
        gap: 15px;
    }

    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .support-grid {
        grid-template-columns: 1fr;
    }

    .contact-support {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .main-image-container {
        aspect-ratio: 4/3;
    }
    
    .thumbnail-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}
