/* Reset ve temel stiller */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #FFFFFF;
    overflow-x: hidden;
}

a,
a:focus,
a:active {
    outline: none !important;
    text-decoration: none;
    border: none !important;
}

img {
    border: none !important;
}

/* Ana tablo stilleri */
.center-table {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    border-collapse: collapse;
    table-layout: fixed;
}

.center-table td {
    width: 100%;
    text-align: center;
}

.center-table img {
    width: 100%;
    height: auto;
    max-width: 1000px;
    display: block;
    margin: 0 auto;
}

/* Goto order butonları */
.goto-order {
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.goto-order:hover {
    opacity: 0.8;
    transform: translateY(-2px);
}

.goto-order:active {
    transform: translateY(0);
}

/* Ürün seçimi stilleri */
.product {
    cursor: pointer;
    text-align: center;
    padding: 20px;
    transition: all 0.3s ease;
    border-radius: 8px;
    margin: 10px 0;
    border: none !important;
}

.product:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.product input[type="radio"] {
    display: none;
}

.product .packet,
.product .selected {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.product .packet {
    display: block;
}

.product .selected {
    display: none;
}

.product.show .packet {
    display: none;
}

.product.show .selected {
    display: block;
}

/* Form stilleri */
.form-group {
    margin: 1rem 0;
}

.form-control {
    width: 100%;
    max-width: 100%;
    padding: 12px 15px;
    font-size: 16px;
    border: none !important;
    border-radius: 8px;
    outline: none;
    resize: none;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    border: none !important;
    box-shadow: none !important;
}

.form-control.error {
    border-color: #dc3545;
}

/* Bootstrap form elemanları için ek stiller */
.form-label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
}

.form-select {
    width: 100%;
    padding: 12px 15px;
    font-size: 16px;
    border: none !important;
    border-radius: 8px;
    background-color: white;
    cursor: pointer;
}

.form-select:focus {
    border: none !important;
    box-shadow: none !important;
}

/* Buton stilleri */
.btn {
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.4);
}

.btn-outline-primary {
    background: transparent;
    color: #007bff;
    border: 2px solid #007bff;
}

.btn-outline-primary:hover {
    background: #007bff;
    color: white;
    transform: translateY(-2px);
}

/* Card stilleri */
.card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin: 20px 0;
}

.card-header {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    padding: 20px;
    border: none;
}

.card-body {
    padding: 30px;
}

/* Alert stilleri */
.alert {
    border-radius: 10px;
    border: none;
    padding: 15px 20px;
    margin: 20px 0;
}

.alert-danger {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
}

.alert-success {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
}

/* Parsley validasyon stilleri */
.parsley-errors-list {
    list-style: none;
    padding: 0;
    margin: 5px 0 0 0;
    font-size: 14px;
    color: #dc3545;
}

.parsley-error {
    border-color: #dc3545 !important;
}

/* Responsive tasarım */
@media (max-width: 1200px) {
    .center-table {
        max-width: 95%;
    }

    .center-table img {
        max-width: 95%;
    }
}

@media (max-width: 768px) {
    .center-table {
        max-width: 100%;
        margin: 0;
    }

    .center-table img {
        max-width: 100%;
        width: 100%;
    }

    .product {
        padding: 15px 10px;
    }

    .form-control,
    .form-select {
        font-size: 16px;
        /* iOS zoom'u önlemek için */
        padding: 15px;
    }

    .btn {
        width: 100%;
        margin: 10px 0;
        padding: 15px;
    }

    .card-body {
        padding: 20px 15px;
    }

    .container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .center-table {
        width: 100%;
    }

    .center-table td {
        padding: 0;
    }

    .product {
        padding: 10px 5px;
    }

    .form-control,
    .form-select {
        padding: 12px;
    }

    .card-body {
        padding: 15px 10px;
    }
}

/* Container responsive ayarları */
.container {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.row {
    margin: 0 -10px;
}

.col-md-6,
.col-md-8 {
    padding: 0 10px;
}

/* Utility sınıfları */
.text-center {
    text-align: center;
}

.mt-4 {
    margin-top: 1.5rem;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

.me-2 {
    margin-right: 0.5rem;
}

/* Hover efektleri */
.goto-order img:hover {
    filter: brightness(1.1);
}

/* Loading animasyonu */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}