:root {
    --turquoise: #1210a5;
    --dark: #0f172a;
    --gray: #64748b;
    --light-gray: #f1f5f9;
    --white: #ffffff;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--light-gray);
    color: var(--dark);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--turquoise), var(--dark));
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s, visibility 0.9s;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loading-logo img {
    width: 400px;
    height: 400px;
    animation: pulse 6s ease-in-out infinite;
}

.loading-spinner {
    margin-top: 30px;
    width: 50px;
    height: 50px;
    border: 5px solid rgba(255, 255, 255, 0.3);
    border-top-color: var(--white);
    border-radius: 50%;
    animation: spin 2s linear infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Header */
.shop-header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
}

.logo img {
    width: 100px;
    height: 100px;
}

.logo h1 {
    font-size: 22px;
    color: var(--dark);
}

.logo p {
    font-size: 12px;
    color: var(--gray);
}

.main-nav {
    display: flex;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.3s;
    cursor: pointer;
}

.nav-link:hover, .nav-link.active {
    background: var(--turquoise);
    color: var(--white);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.cart-btn, .user-btn {
    background: var(--light-gray);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    position: relative;
    transition: all 0.3s;
}

.cart-btn:hover, .user-btn:hover {
    background: var(--turquoise);
    color: var(--white);
}

.cart-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--danger);
    color: var(--white);
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

/* User Dropdown */
.user-dropdown {
    position: absolute;
    top: 70px;
    right: 20px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s;
    z-index: 1001;
}

.user-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-dropdown a, .user-dropdown button {
    display: block;
    padding: 12px 20px;
    text-decoration: none;
    color: var(--dark);
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
    transition: background 0.2s;
}

.user-dropdown a:hover, .user-dropdown button:hover {
    background: var(--light-gray);
}

.user-dropdown a:first-child {
    border-radius: 12px 12px 0 0;
}

.user-dropdown a:last-child, .user-dropdown button:last-child {
    border-radius: 0 0 12px 12px;
    color: var(--danger);
}

/* Cart Sidebar */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background: var(--white);
    box-shadow: -2px 0 20px rgba(0,0,0,0.1);
    transition: right 0.3s;
    z-index: 1002;
    display: flex;
    flex-direction: column;
}

.cart-sidebar.active {
    right: 0;
}

.cart-header {
    padding: 20px;
    border-bottom: 2px solid var(--light-gray);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.close-cart {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.cart-item {
    display: flex;
    gap: 15px;
    padding: 15px;
    background: var(--light-gray);
    border-radius: 12px;
    margin-bottom: 15px;
}

.cart-item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
}

.cart-item-info {
    flex: 1;
}

.cart-item-info h4 {
    font-size: 14px;
    margin-bottom: 5px;
}

.cart-item-info p {
    font-size: 12px;
    color: var(--gray);
}

.cart-item-price {
    font-weight: bold;
    color: var(--turquoise);
}

.cart-item-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

.qty-btn {
    width: 30px;
    height: 30px;
    border: none;
    background: var(--white);
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
}

.cart-item-qty {
    font-weight: bold;
}

.remove-item {
    background: var(--danger);
    color: var(--white);
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 12px;
}

.cart-footer {
    padding: 20px;
    border-top: 2px solid var(--light-gray);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 15px;
}

.btn-checkout {
    width: 100%;
    padding: 15px;
    background: var(--turquoise);
    color: var(--white);
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-checkout:hover {
    background: var(--dark);
}

/* Main Content */
.main-content {
    padding: 40px 0;
    min-height: calc(100vh - 80px);
}

.page {
    display: none;
}

.page.active {
    display: block;
}

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.page-header h2 {
    font-size: 32px;
    color: var(--dark);
}

.filters select {
    padding: 10px 20px;
    border: 2px solid var(--light-gray);
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.product-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.product-info {
    padding: 20px;
}

.product-category {
    font-size: 12px;
    color: var(--gray);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
}

.product-name {
    font-size: 18px;
    font-weight: bold;
    margin: 10px 0;
    color: var(--dark);
}

.product-price {
    font-size: 24px;
    font-weight: bold;
    color: var(--turquoise);
    margin-bottom: 15px;
}

.product-stock {
    font-size: 13px;
    color: var(--success);
    margin-bottom: 15px;
}

.product-stock.out-of-stock {
    color: var(--danger);
}

.btn-add-cart {
    width: 100%;
    padding: 12px;
    background: var(--turquoise);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-add-cart:hover {
    background: var(--dark);
}

.btn-add-cart:disabled {
    background: var(--gray);
    cursor: not-allowed;
}

/* Orders */
.orders-list, .orders-admin-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.order-card {
    background: var(--white);
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--light-gray);
}

.order-status {
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.order-status.pending {
    background: #fef3c7;
    color: #92400e;
}

.order-status.completed {
    background: #dcfce7;
    color: #166534;
}

.order-status.cancelled {
    background: #fee2e2;
    color: #991b1b;
}

.order-items {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.order-item {
    display: flex;
    gap: 15px;
    align-items: center;
}

.order-item img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
}

.order-total {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 2px solid var(--light-gray);
    text-align: right;
    font-size: 20px;
    font-weight: bold;
    color: var(--turquoise);
}

/* Admin */
.admin-tabs {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.admin-tab-btn {
    padding: 12px 24px;
    background: var(--white);
    border: 2px solid var(--light-gray);
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.admin-tab-btn.active {
    background: var(--turquoise);
    color: var(--white);
    border-color: var(--turquoise);
}

.admin-section {
    display: none;
}

.admin-section.active {
    display: block;
}

.admin-form {
    background: var(--white);
    padding: 40px;
    border-radius: 16px;
    margin-bottom: 40px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark);
}

.form-group input, .form-group select, .form-group textarea {
    padding: 12px;
    border: 2px solid var(--light-gray);
    border-radius: 8px;
    font-size: 14px;
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--turquoise);
}

.btn-primary {
    padding: 14px 30px;
    background: var(--turquoise);
    color: var(--white);
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-primary:hover {
    background: var(--dark);
}

.btn-primary.full-width {
    width: 100%;
}

.products-admin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.admin-product-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.admin-product-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.admin-product-info {
    padding: 15px;
}

.admin-product-actions {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.btn-edit, .btn-delete {
    flex: 1;
    padding: 8px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
}

.btn-edit {
    background: var(--warning);
    color: var(--white);
}

.btn-delete {
    background: var(--danger);
    color: var(--white);
}

/* Modals */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--white);
    border-radius: 16px;
    padding: 30px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.modal-content.small {
    max-width: 400px;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: var(--gray);
}

.modal h3 {
    margin-bottom: 20px;
    color: var(--dark);
}

/* Product Detail */
.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.product-detail-image {
    width: 100%;
    border-radius: 12px;
}

.product-detail-sizes {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 15px 0;
}

.size-btn {
    padding: 10px 20px;
    border: 2px solid var(--light-gray);
    background: var(--white);
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
}

.size-btn.active {
    border-color: var(--turquoise);
    background: var(--turquoise);
    color: var(--white);
}

/* Checkout */
.order-summary {
    background: var(--light-gray);
    padding: 20px;
    border-radius: 12px;
    margin: 20px 0;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #cbd5e1;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    font-size: 20px;
    font-weight: bold;
    color: var(--turquoise);
}

/* Responsive */
@media (max-width: 768px) {
    .main-nav {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .cart-sidebar {
        width: 100%;
        right: -100%;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }

    .product-detail {
        grid-template-columns: 1fr;
    }

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


/* Footer */
        footer {
            background: var(--dark);
            color: var(--white);
            padding: 60px 20px 0;
        }

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

        .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 40px;
            margin-bottom: 40px;
        }

        .footer-section h3 {
            font-size: 20px;
            margin-bottom: 20px;
            color: var(--turquoise);
        }

        .footer-logo {
            display: flex;
            align-items: center;
            gap: 15px;
            margin-bottom: 20px;
            cursor: pointer;
        }

        .footer-logo-icon img{
            width: 150px;
            height: 150px;
        
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 24px;
        }

        .footer-description {
            color: #94a3b8;
            line-height: 1.8;
            margin-bottom: 20px;
        }

        .footer-links {
            list-style: none;
        }

        .footer-links li {
            margin-bottom: 12px;
        }

        .footer-links a {
            color: #94a3b8;
            text-decoration: none;
            transition: all 0.3s;
            display: inline-flex;
            align-items: center;
            gap: 10px;
            cursor: pointer;
        }

        .footer-links a:hover {
            color: var(--turquoise);
            padding-left: 5px;
        }


        .footer-social {
            display: flex;
            gap: 15px;
            margin-top: 20px;
            flex-wrap: wrap;
        }

        .social-icon {
            width: 45px;
            height: 45px;
            background: var(--gray);
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--white);
            text-decoration: none;
            transition: all 0.3s;
            font-size: 20px;
        }

        .social-icon:hover {
            background: var(--turquoise);
            transform: translateY(-5px);
        }


        .footer-bottom {
            border-top: 1px solid var(--gray);
            padding: 30px 0;
            text-align: center;
            color: #64748b;
        }


        .footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #555;
    color: #ccc;
}

.footer-copyright  {
    align-items: center;
    
}

.footer-copyright a {
    align-items: center;
    text-decoration: none;
}

.footer-copyright img {
    height: 30px;
    vertical-align: middle;
    
}

.footer-copyright .furkatech {
    text-decoration: none;
    font-size: 15px;
    color: #fff;
    font-weight: 700;
}

.footer-copyright .tecnology {
    font-size: 15px;
    color: #00fefb;
    font-weight: 700;
}

/* Payment Info Styles - Ödeme Sayfası */
.payment-info-container {
    background: var(--light-gray);
    border-radius: 16px;
    padding: 30px;
    margin: 20px 0;
}

.payment-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #cbd5e1;
}

.payment-header i {
    font-size: 28px;
    color: var(--turquoise);
}

.payment-header h4 {
    font-size: 22px;
    color: var(--dark);
    margin: 0;
}

.payment-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 25px;
}

.payment-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    background: var(--white);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: all 0.3s;
}

.payment-detail-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.payment-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--turquoise), var(--dark));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.payment-icon i {
    font-size: 22px;
    color: var(--white);
}

.payment-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.payment-text strong {
    font-size: 14px;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.payment-text span {
    font-size: 16px;
    color: var(--dark);
    font-weight: 600;
}

.iban-box {
    background: var(--dark);
    color: var(--white);
    padding: 15px 20px;
    border-radius: 10px;
    font-family: 'Courier New', monospace;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-top: 8px;
    text-align: center;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.2);
    user-select: all;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.iban-box::before {
    content: '📋 Kopyalamak için tıklayın';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--turquoise);
    color: var(--white);
    padding: 8px 15px;
    border-radius: 6px;
    font-size: 12px;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
    white-space: nowrap;
}

.iban-box:hover::before {
    opacity: 1;
}

.iban-box:active {
    transform: scale(0.98);
}

/* QR Code Section */
.qr-code-section {
    text-align: center;
    padding: 25px;
    background: var(--white);
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.qr-code-section h5 {
    font-size: 16px;
    color: var(--dark);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.qr-code-section h5 i {
    font-size: 20px;
    color: var(--turquoise);
}

.qr-code-image {
    max-width: 250px;
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border: 3px solid var(--turquoise);
    padding: 10px;
    background: var(--white);
}

/* Payment Warning */
.payment-warning {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    padding: 18px 20px;
    border-radius: 12px;
    border-left: 4px solid #f59e0b;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.2);
}

.payment-warning i {
    font-size: 24px;
    color: #92400e;
    flex-shrink: 0;
}

.payment-warning p {
    margin: 0;
    color: #92400e;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
}

/* WhatsApp Button Özel Stil */
.btn-primary.full-width {
    background: linear-gradient(135deg, #25D366, #128C7E);
    font-size: 18px;
    padding: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    transition: all 0.3s;
}

.btn-primary.full-width:hover {
    background: linear-gradient(135deg, #128C7E, #075E54);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.btn-primary.full-width i {
    font-size: 22px;
}

/* Modal Content Genişlik */
.modal-content {
    max-width: 650px;
}

/* Responsive - Mobile */
@media (max-width: 768px) {
    .payment-info-container {
        padding: 20px;
    }
    
    .payment-header h4 {
        font-size: 18px;
    }
    
    .payment-detail-item {
        padding: 15px;
    }
    
    .payment-icon {
        width: 45px;
        height: 45px;
    }
    
    .payment-icon i {
        font-size: 18px;
    }
    
    .payment-text strong {
        font-size: 12px;
    }
    
    .payment-text span {
        font-size: 14px;
    }
    
    .iban-box {
        font-size: 13px;
        padding: 12px 15px;
    }
    
    .qr-code-image {
        max-width: 200px;
    }
    
    .payment-warning {
        flex-direction: column;
        text-align: center;
    }
    
    .payment-warning i {
        font-size: 20px;
    }
    
    .payment-warning p {
        font-size: 13px;
    }
    
    .btn-primary.full-width {
        font-size: 16px;
        padding: 16px;
    }
}

@media (max-width: 480px) {
    .payment-detail-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .iban-box {
        font-size: 11px;
        word-break: break-all;
    }
}