﻿/* ----------------------------------------------
   DEĞİŞKENLER & RESET
---------------------------------------------- */
:root {
    --primary: #6a11cb;
    --secondary: #d4af37;
    --accent: #ff4d8d;
    --dark: #1a1a2e;
    --dark-alt: #0a0a15;
    --light: #f8f9fa;
    --gray: #666;
    --border: #ddd;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: var(--light);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ----------------------------------------------
   HEADER & NAVIGATION
---------------------------------------------- */
header {
    background: var(--dark);
    color: #fff;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: red;
    text-decoration: none;
}

    .logo img {
        display: block;
        max-height: 60px;
        width: auto;
    }

nav ul {
    display: flex;
    list-style: none;
}

    nav ul li {
        margin-left: 30px;
    }

        nav ul li a {
            color: #fff;
            text-decoration: none;
            font-weight: 500;
            transition: var(--transition);
            padding: 5px 0;
            position: relative;
        }

            nav ul li a:hover,
            nav ul li a:focus {
                color: var(--secondary);
            }

            nav ul li a::after {
                content: '';
                position: absolute;
                bottom: 0;
                left: 0;
                width: 0;
                height: 2px;
                background: var(--secondary);
                transition: var(--transition);
            }

            nav ul li a:hover::after {
                width: 100%;
            }

.cart-icon {
    position: relative;
    font-size: 1.2rem;
}

.cart-count {
    position: absolute;
    top: -10px;
    right: -10px;
    background: var(--accent);
    color: #fff;
    font-size: 0.7rem;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
}

/* ----------------------------------------------
   HERO SLIDER (yeni)
---------------------------------------------- */
.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
    background-color: #000; /* fallback */
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease;
}

    .slide.active {
        opacity: 1;
    }

.hero-slider::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.slider-prev,
.slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 3;
    font-size: 18px;
    transition: background 0.3s;
}

.slider-prev {
    left: 20px;
}

.slider-next {
    right: 20px;
}

    .slider-prev:hover,
    .slider-next:hover {
        background: rgba(0, 0, 0, 0.8);
    }

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s;
}

    .dot.active {
        background: #fff;
    }

.hero .container {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    padding-top: 30vh;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
    opacity: 0.9;
}

/* ----------------------------------------------
   PRODUCT SECTION
---------------------------------------------- */
.product-section {
    padding: 80px 0;
    background: #000;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

    .section-title h2 {
        font-size: 2.5rem;
        position: relative;
        display: inline-block;
    }

       

.product-container {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    align-items: center;
}

.product-image-container {
    flex: 1;
    min-width: 300px;
}

.main-image-container {
    width: 100%;
    height: 500px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 20px;
}

.main-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s;
    display: none;
}

    .main-image.active {
        display: block;
    }

.main-image-container:hover .main-image {
    transform: scale(1.05);
}

.thumbnail-container {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    flex-wrap: wrap;
}

.thumbnail {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 3px solid transparent;
    opacity: 0.7;
    transition: all 0.3s;
}

    .thumbnail:hover {
        opacity: 1;
        transform: translateY(-5px);
    }

    .thumbnail.active {
        border-color: var(--secondary);
        opacity: 1;
        box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
    }

    .thumbnail img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.product-info {
    flex: 1;
    min-width: 300px;
    color: #fff;
}

.product-name {
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.product-subtitle {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 20px;
    color: var(--secondary);
}

.product-description {
    margin-bottom: 30px;
    line-height: 1.8;
}

.product-features {
    list-style: none;
    margin-bottom: 30px;
}

    .product-features li {
        padding: 8px 0 8px 30px;
        position: relative;
    }

        .product-features li i {
            position: absolute;
            left: 0;
            top: 10px;
            color: var(--secondary);
        }

/* Quantity Selection */
.quantity-selection {
    background: #111;
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: var(--shadow);
}

.quantity-title {
    font-size: 1.3rem;
    margin-bottom: 20px;
    text-align: center;
    color: #fff;
}

.quantity-options {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

.quantity-option {
    flex: 1;
    min-width: 120px;
    text-align: center;
    padding: 20px 15px;
    border: 2px solid #444;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    background: #000;
    color: #fff;
}

    .quantity-option:hover {
        border-color: var(--primary);
    }

    .quantity-option.selected {
        border-color: var(--primary);
        background: rgba(106, 17, 203, 0.05);
        position: relative;
    }

        .quantity-option.selected::after {
            content: '✓';
            position: absolute;
            top: -10px;
            right: -10px;
            background: var(--secondary);
            color: #000;
            width: 25px;
            height: 25px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
        }

.quantity {
    font-size: 1.5rem;
    font-weight: 700;
    display: block;
    margin-bottom: 5px;
}

.price {
    font-size: 1.8rem;
    font-weight: 700;
    display: block;
}

.old-price {
    text-decoration: line-through;
    color: #999;
    font-size: 1.2rem;
    margin-right: 10px;
}

.discount-badge {
    background: red;
    color: #fff;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: 5px;
    display: inline-block;
}

/* Pricing Summary */
.pricing-summary {
    background: #111;
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

    .summary-row.total {
        border-bottom: none;
        font-size: 1.4rem;
        font-weight: 700;
        padding-top: 20px;
    }

/* CTA Button */
.cta-button {
    display: inline-block;
    background: transparent;
    color: var(--secondary);
    padding: 18px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.4rem;
    transition: var(--transition);
    border: none;
    width: 100%;
    max-width:700px;
    margin: 0px auto 30px;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.2);
}

    .cta-button:hover {
        background: transparent;
        color: var(--secondary);
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(212, 175, 55, 0.2);
    }

    .cta-button i {
        margin-right: 10px;
    }

/* ----------------------------------------------
   FEATURES & TESTIMONIALS
---------------------------------------------- */
.features {
    padding: 80px 0;
    background: #000000;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.features-grid2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.feature-card {
    text-align: center;
    padding: 30px 20px;
    background: #000;
    border: 2px solid #fff;
    border-radius: 10px;
    transition: var(--transition);
}

    .feature-card:hover {
        transform: translateY(-10px);
    }

.feature-icon {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: #fff;
}

.feature-card p {
    color: #fff;
}

.testimonials {
    padding: 80px 0;
    background: #111;
}

    .testimonials .section-title h2 {
        color: var(--secondary);
    }

    .testimonials .section-title p {
        color: #aaa;
    }

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 25px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    transition: transform 0.3s;
}

    .testimonial-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 30px rgba(212, 175, 55, 0.2);
    }

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #d4af37, #b8860b);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-weight: bold;
    font-size: 20px;
}

.testimonial-info h4 {
    color: var(--secondary);
    margin-bottom: 5px;
}

.testimonial-stars {
    color: #ffc107;
    font-size: 14px;
}

.testimonial-comment {
    color: #fff;
    font-style: italic;
    margin: 15px 0;
}

.testimonial-date {
    color: #777;
    font-size: 12px;
    text-align: right;
}

/* ----------------------------------------------
   FOOTER
---------------------------------------------- */
footer {
    background: var(--dark);
    color: #fff;
    padding: 60px 0 20px;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-column {
    flex: 1;
    min-width: 250px;
    margin-bottom: 30px;
}

    .footer-column h3 {
        font-size: 1.6rem;
        margin-bottom: 20px;
        color: var(--secondary);
        position: relative;
        padding-bottom: 10px;
    }

        .footer-column h3::after {
            content: '';
            position: absolute;
            width: 50px;
            height: 2px;
            background: var(--secondary);
            bottom: 0;
            left: 0;
        }

    .footer-column ul {
        list-style: none;
    }

        .footer-column ul li {
            margin-bottom: 10px;
        }

            .footer-column ul li a {
                color: #fff;
                text-decoration: none;
                transition: var(--transition);
            }

                .footer-column ul li a:hover {
                    color: var(--secondary);
                    padding-left: 5px;
                }

.contact-info {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

    .contact-info i {
        color: var(--secondary);
    }

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
    font-size: 0.9rem;
}

/* ----------------------------------------------
   MODALS (Cart, Checkout, Empty Cart, Success)
---------------------------------------------- */
.cart-modal,
.checkout-modal,
.empty-cart-modal,
.success-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

    .cart-modal.active,
    .checkout-modal.active,
    .empty-cart-modal.active,
    .success-modal.active {
        opacity: 1;
        visibility: visible;
    }

.cart-modal-content,
.checkout-modal-content,
.empty-cart-modal-content,
.success-modal-content {
    background: #fff;
    width: 90%;
    max-width: 500px;
    border-radius: 15px;
    padding: 30px;
    transform: translateY(50px);
    transition: var(--transition);
}

.active .cart-modal-content,
.active .checkout-modal-content,
.active .empty-cart-modal-content,
.active .success-modal-content {
    transform: translateY(0);
}

.checkout-modal-content {
    max-width: 700px;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header,
.cart-modal-header,
.checkout-modal-header,
.empty-cart-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.modal-title,
.cart-modal-title,
.checkout-modal-title,
.empty-cart-modal-title {
    font-size: 1.5rem;
    color: var(--dark);
}

.close-modal,
.close-empty-cart-modal {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #999;
    cursor: pointer;
    transition: var(--transition);
}

    .close-modal:hover,
    .close-empty-cart-modal:hover {
        color: var(--accent);
    }

.cart-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.cart-item-image {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
}

    .cart-item-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.cart-item-info {
    flex: 1;
}

.cart-item-name {
    font-weight: 600;
}

.cart-item-quantity {
    color: #666;
    font-size: 0.9rem;
}

.cart-item-price {
    font-weight: 700;
    color: var(--primary);
    font-size: 1.2rem;
}

.cart-modal-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.3rem;
    font-weight: 700;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.modal-buttons {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.btn {
    flex: 1;
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
}

    .btn-primary:hover {
        background: #5a0db0;
    }

.btn-secondary {
    background: #f1f1f1;
    color: var(--dark);
}

    .btn-secondary:hover {
        background: #e1e1e1;
    }

/* Checkout form */
.order-summary {
    background: #f9f9f9;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 25px;
}

.order-summary-title {
    font-size: 1.3rem;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ddd;
}

.order-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.order-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.3rem;
    font-weight: 700;
    padding-top: 15px;
    margin-top: 15px;
    border-top: 2px solid var(--primary);
    color: var(--primary);
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    flex: 1;
    min-width: 200px;
}

    .form-group label {
        display: block;
        margin-bottom: 8px;
        font-weight: 600;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        width: 100%;
        padding: 12px 15px;
        border: 1px solid var(--border);
        border-radius: 8px;
        font-size: 1rem;
    }

        .form-group input:focus,
        .form-group select:focus,
        .form-group textarea:focus {
            outline: none;
            border-color: var(--primary);
            box-shadow: 0 0 0 2px rgba(106, 17, 203, 0.1);
        }

.required {
    color: var(--accent);
}

.terms-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 25px;
}

    .terms-checkbox label {
        font-size: 0.9rem;
        color: #666;
    }

    .terms-checkbox a {
        color: var(--primary);
        text-decoration: none;
    }

.checkout-buttons {
    display: flex;
    gap: 15px;
}

.empty-cart-modal-body {
    text-align: center;
    margin-bottom: 30px;
}

.empty-cart-icon {
    font-size: 4rem;
    color: #ddd;
    margin-bottom: 20px;
}

.empty-cart-message {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.success-icon {
    font-size: 4rem;
    color: #4caf50;
    margin-bottom: 20px;
    text-align: center;
}

.success-title {
    font-size: 2rem;
    margin-bottom: 15px;
    text-align: center;
}

/* ----------------------------------------------
   RESPONSIVE
---------------------------------------------- */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.8rem;
    }

    .product-container {
        flex-direction: column;
    }

    .main-image-container {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    nav ul {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--dark);
        flex-direction: column;
        align-items: center;
        padding-top: 50px;
        transition: var(--transition);
        z-index: 999;
    }

        nav ul.active {
            left: 0;
        }

        nav ul li {
            margin: 15px 0;
        }

    .hero h1 {
        font-size: 2.3rem;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .quantity-options {
        flex-direction: column;
    }

    .modal-buttons,
    .checkout-buttons {
        flex-direction: column;
    }

    .form-row {
        flex-direction: column;
    }

    .thumbnail {
        width: 70px;
        height: 70px;
    }

    .main-image-container {
        height: 300px;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 1.8rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .product-name {
        font-size: 1.8rem;
    }

    .checkout-modal-content,
    .cart-modal-content,
    .success-modal-content {
        padding: 20px;
    }

    .main-image-container {
        height: 250px;
    }

    .thumbnail {
        width: 60px;
        height: 60px;
    }
}


.top-scroll {
    background: #000000 !important;
    overflow: hidden !important;
    padding: 8px 0;
    border-bottom: 1px solid #333;
    width: 100%;
    position: relative;
    z-index: 100;
    box-sizing: border-box;
}

.scroll-track {
    display: flex !important;
    flex-wrap: nowrap !important;
    width: max-content !important;
    animation: slide-left 12s linear infinite !important;
    transform: translate3d(0, 0, 0);
    will-change: transform;
    backface-visibility: hidden;
}

    .scroll-track span {
        display: inline-block !important;
        flex-shrink: 0;
        padding: 0 20px;
        font-size: 0.95rem;
        color: #ffffff !important;
        font-weight: 500;
        letter-spacing: 0.5px;
        white-space: nowrap;
    }

        .scroll-track span::before {
            content: "●";
            color: #FFD700 !important;
            margin-right: 10px;
            font-size: 0.6rem;
        }

@keyframes slide-left {
    0% {
        transform: translate3d(0, 0, 0);
    }

    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

/* Mobil için hız ve boyut */
@media (max-width: 768px) {
    .scroll-track {
        animation-duration: 8s !important; /* Daha hızlı kayması için */
    }

        .scroll-track span {
            padding: 0 12px;
            font-size: 0.75rem;
        }
}

