/* GENEL STİLLER */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background: #f8fafc;
    color: #334155;
    line-height: 1.6;
}

.destek-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px;
}

/* BAŞLIK */
.destek-header {
    text-align: center;
    margin-bottom: 50px;
    padding: 40px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    color: white;
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.1);
}

.destek-header h1 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.destek-header p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* BİLDİRİMLER */
.alert {
    padding: 20px 25px;
    border-radius: 12px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 500;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.alert-success {
    background: #d1fae5;
    color: #065f46;
    border: 2px solid #10b981;
}

.alert-error {
    background: #fee2e2;
    color: #991b1b;
    border: 2px solid #ef4444;
}

/* MİSAFİR BİLDİRİMİ */
.guest-notice {
    background: #fff7ed;
    border: 2px solid #fdba74;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 30px;
    text-align: center;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(251, 146, 60, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(251, 146, 60, 0); }
    100% { box-shadow: 0 0 0 0 rgba(251, 146, 60, 0); }
}

.guest-notice p {
    font-size: 1.1rem;
    color: #ea580c;
    margin-bottom: 20px;
}

.auth-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* BUTONLAR */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 0;
    border-radius: 100%;
    transform: scale(1, 1) translate(-50%);
    transform-origin: 50% 50%;
}

.btn:active::after {
    animation: ripple 1s ease-out;
}

@keyframes ripple {
    0% {
        transform: scale(0, 0);
        opacity: 0.5;
    }
    100% {
        transform: scale(40, 40);
        opacity: 0;
    }
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(102, 126, 234, 0.4);
}

.btn-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}

.btn-success:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(16, 185, 129, 0.4);
}

.btn-whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
}

.btn-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.4);
}

.btn-block {
    width: 100%;
    justify-content: center;
}

/* HIZLI EYLEM BUTONLARI */
.quick-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.quick-action-btn {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    padding: 25px;
    text-decoration: none;
    color: #334155;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.quick-action-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.quick-action-btn:hover::before {
    transform: translateX(0);
}

.quick-action-btn:hover {
    transform: translateY(-5px);
    border-color: #667eea;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.quick-action-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: white;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.quick-action-btn:hover .quick-action-icon {
    transform: scale(1.1);
}

.action-call .quick-action-icon {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.action-whatsapp .quick-action-icon {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
}

.action-email .quick-action-icon {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.action-ticket .quick-action-icon {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.quick-action-btn strong {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: #1e293b;
}

.quick-action-btn p {
    font-size: 0.95rem;
    color: #64748b;
    margin: 0;
}

/* GRİD YAPISI */
.destek-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 50px;
}

@media (max-width: 992px) {
    .destek-grid {
        grid-template-columns: 1fr;
    }
}

/* KARTLAR */
.contact-card,
.ticket-form-card,
.tickets-section,
.faq-section {
    background: white;
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover,
.ticket-form-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.contact-card h2,
.ticket-form-card h2,
.tickets-header h2,
.faq-section h2 {
    color: #1e293b;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.contact-card h2::after,
.ticket-form-card h2::after,
.tickets-header h2::after,
.faq-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 2px;
}

/* İLETİŞİM YÖNTEMLERİ */
.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: #f8fafc;
    border-radius: 14px;
    text-decoration: none;
    color: inherit;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.contact-method:hover {
    background: white;
    border-color: #e2e8f0;
    transform: translateX(5px);
}

.contact-icon {
    width: 55px;
    height: 55px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: white;
    flex-shrink: 0;
}

.email .contact-icon {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.phone .contact-icon {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.whatsapp .contact-icon {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
}

.contact-info h3 {
    color: #1e293b;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.contact-info p {
    color: #64748b;
    font-size: 0.95rem;
    margin-bottom: 3px;
}

.contact-info small {
    color: #94a3b8;
    font-size: 0.85rem;
}

.quick-contact {
    margin-top: 25px;
    padding-top: 25px;
    border-top: 2px solid #f1f5f9;
}

.quick-contact h3 {
    color: #1e293b;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.quick-contact p {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #64748b;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.quick-contact i {
    color: #667eea;
    width: 20px;
}

/* FORM STİLLERİ */
.form-group {
    margin-bottom: 25px;
}

.form-label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: #1e293b;
    font-size: 0.95rem;
}

.form-control {
    width: 100%;
    padding: 16px 20px;
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 16px;
    color: #1e293b;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-control:focus {
    outline: none;
    border-color: #667eea;
    background: white;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

textarea.form-control {
    min-height: 140px;
    resize: vertical;
    line-height: 1.5;
}

/* ÖNEM DERECESİ */
.importance-badges {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.importance-badge {
    flex: 1;
    min-width: 100px;
}

.importance-badge input {
    display: none;
}

.importance-badge label {
    display: block;
    padding: 14px;
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 0.95rem;
}

.importance-badge input:checked + label {
    border-color: transparent;
    color: white;
    transform: scale(1.05);
}

.low label {
    color: #10b981;
    border-color: #a7f3d0;
}

.low input:checked + label {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    box-shadow: 0 5px 15px rgba(16, 185, 129, 0.3);
}

.normal label {
    color: #f59e0b;
    border-color: #fde68a;
}

.normal input:checked + label {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    box-shadow: 0 5px 15px rgba(245, 158, 11, 0.3);
}

.high label {
    color: #ef4444;
    border-color: #fecaca;
}

.high input:checked + label {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    box-shadow: 0 5px 15px rgba(239, 68, 68, 0.3);
}

/* KARAKTER SAYACI */
.char-counter {
    font-size: 0.85rem;
    color: #94a3b8;
    margin-top: 8px;
    text-align: right;
}

/* ÜRÜN SEÇİMİ */
.product-select select {
    width: 100%;
    padding: 16px 20px;
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 16px;
    color: #1e293b;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 20px center;
    background-size: 20px;
}

.product-select select:focus {
    outline: none;
    border-color: #667eea;
    background-color: white;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

/* DESTEK TALEP LİSTESİ */
.tickets-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.tickets-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.ticket-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px;
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 14px;
    transition: all 0.3s ease;
}

.ticket-item:hover {
    background: white;
    border-color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.ticket-info {
    flex: 1;
}

.ticket-code {
    font-weight: 700;
    color: #667eea;
    margin-bottom: 8px;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

.ticket-subject {
    font-size: 1.1rem;
    color: #1e293b;
    margin-bottom: 10px;
    font-weight: 600;
}

.ticket-meta {
    display: flex;
    gap: 20px;
    font-size: 0.9rem;
    color: #64748b;
    flex-wrap: wrap;
}

.ticket-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.importance-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.importance-dusuk {
    background: #10b981;
}

.importance-normal {
    background: #f59e0b;
}

.importance-yuksek {
    background: #ef4444;
}

.ticket-status {
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-beklemede {
    background: #fef3c7;
    color: #92400e;
}

.status-inceleniyor {
    background: #dbeafe;
    color: #1e40af;
}

.status-cevaplandı {
    background: #d1fae5;
    color: #065f46;
}

.status-kapandı {
    background: #fee2e2;
    color: #991b1b;
}

.no-tickets {
    text-align: center;
    padding: 50px 20px;
    color: #64748b;
}

.no-tickets i {
    font-size: 64px;
    margin-bottom: 20px;
    color: #cbd5e1;
    opacity: 0.5;
}

.no-tickets h3 {
    color: #475569;
    margin-bottom: 10px;
    font-size: 1.3rem;
}

/* SSS BÖLÜMÜ */
.faq-section h2 {
    text-align: center;
    padding-bottom: 0;
}

.faq-section h2::after {
    left: 50%;
    transform: translateX(-50%);
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.faq-item {
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 14px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active {
    background: white;
    border-color: #667eea;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.faq-question {
    padding: 22px;
    background: transparent;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #1e293b;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.faq-question i {
    color: #667eea;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 22px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 22px 22px;
    max-height: 2000px;
}

.faq-answer p {
    color: #475569;
    line-height: 1.7;
    font-size: 1rem;
}

.faq-answer p br {
    margin-bottom: 10px;
    display: block;
    content: '';
}

/* MODAL */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background: white;
    border-radius: 20px;
    padding: 35px;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #f1f5f9;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    color: #64748b;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: #fee2e2;
    color: #ef4444;
    transform: rotate(90deg);
}

.modal-content h3 {
    color: #1e293b;
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.modal-content > p {
    color: #64748b;
    margin-bottom: 25px;
    line-height: 1.6;
}

/* WHATSAPP SEÇENEKLERİ */
.whatsapp-options {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin: 25px 0;
}

.whatsapp-option {
    padding: 18px;
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.whatsapp-option:hover {
    background: white;
    border-color: #25D366;
    transform: translateX(5px);
}

.whatsapp-option.selected {
    background: #dcfce7;
    border-color: #25D366;
    transform: translateX(5px);
}

.whatsapp-option h4 {
    color: #1e293b;
    margin-bottom: 8px;
    font-size: 1rem;
    font-weight: 700;
}

.whatsapp-option p {
    color: #475569;
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.5;
}

/* ÖZEL MESAJ */
.custom-message-container {
    margin-top: 20px;
}

.custom-message {
    width: 100%;
    padding: 16px 20px;
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 16px;
    color: #1e293b;
    resize: vertical;
    min-height: 100px;
    font-family: inherit;
    line-height: 1.5;
    transition: all 0.3s ease;
}

.custom-message:focus {
    outline: none;
    border-color: #25D366;
    background: white;
    box-shadow: 0 0 0 4px rgba(37, 211, 102, 0.1);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .destek-header {
        padding: 30px 15px;
        margin-bottom: 30px;
    }
    
    .destek-header h1 {
        font-size: 2rem;
    }
    
    .destek-header p {
        font-size: 1rem;
    }
    
    .quick-actions {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .contact-card,
    .ticket-form-card,
    .tickets-section,
    .faq-section {
        padding: 25px;
    }
    
    .faq-question {
        padding: 18px;
        font-size: 1rem;
    }
    
    .faq-answer p {
        font-size: 0.95rem;
    }
    
    .ticket-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .ticket-status {
        align-self: flex-end;
    }
}

@media (max-width: 480px) {
    .destek-container {
        padding: 20px 15px;
    }
    
    .destek-header h1 {
        font-size: 1.7rem;
    }
    
    .auth-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .auth-buttons .btn {
        width: 100%;
        justify-content: center;
    }
    
    .importance-badges {
        flex-direction: column;
    }
    
    .importance-badge {
        min-width: 100%;
    }
    
    .modal-content {
        padding: 25px 20px;
    }
}

/* YÜKSEK KONTRAST MODU */
@media (prefers-contrast: high) {
    .contact-card,
    .ticket-form-card,
    .tickets-section,
    .faq-section,
    .quick-action-btn {
        border: 2px solid #000;
    }
    
    .btn {
        border: 2px solid transparent;
    }
    
    .form-control,
    .product-select select,
    .custom-message {
        border: 2px solid #000;
    }
    
    .faq-item {
        border: 2px solid #000;
    }
}

/* KARANLIK MOD DESTEĞİ */
@media (prefers-color-scheme: dark) {
    body {
        background: #0f172a;
        color: #cbd5e1;
    }
    
    .destek-header {
        background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    }
    
    .alert-success {
        background: #064e3b;
        color: #a7f3d0;
        border-color: #10b981;
    }
    
    .alert-error {
        background: #7f1d1d;
        color: #fecaca;
        border-color: #ef4444;
    }
    
    .guest-notice {
        background: #451a03;
        border-color: #fb923c;
        color: #fed7aa;
    }
    
    .quick-action-btn,
    .contact-card,
    .ticket-form-card,
    .tickets-section,
    .faq-section {
        background: #1e293b;
        border-color: #334155;
        color: #cbd5e1;
    }
    
    .quick-action-btn strong {
        color: #f1f5f9;
    }
    
    .contact-card h2,
    .ticket-form-card h2,
    .tickets-header h2,
    .faq-section h2,
    .quick-contact h3 {
        color: #f1f5f9;
    }
    
    .contact-info h3 {
        color: #e2e8f0;
    }
    
    .contact-info p,
    .contact-info small,
    .quick-contact p {
        color: #94a3b8;
    }
    
    .form-control,
    .product-select select,
    .custom-message {
        background: #334155;
        border-color: #475569;
        color: #f1f5f9;
    }
    
    .form-control:focus,
    .product-select select:focus,
    .custom-message:focus {
        background: #1e293b;
        border-color: #6366f1;
    }
    
    .importance-badge label {
        background: #334155;
        border-color: #475569;
    }
    
    .char-counter {
        color: #94a3b8;
    }
    
    .ticket-item,
    .faq-item {
        background: #334155;
        border-color: #475569;
    }
    
    .ticket-subject,
    .faq-question {
        color: #f1f5f9;
    }
    
    .ticket-meta {
        color: #94a3b8;
    }
    
    .no-tickets {
        color: #94a3b8;
    }
    
    .no-tickets h3 {
        color: #e2e8f0;
    }
    
    .faq-answer p {
        color: #cbd5e1;
    }
    
    .modal-content {
        background: #1e293b;
        color: #000000;
    }
    
    .modal-content h3 {
        color: #f1f5f9;
    }
    
    .modal-close {
        background: #334155;
        color: #cbd5e1;
    }
    
    .modal-close:hover {
        background: #7f1d1d;
        color: #fecaca;
    }
    
    .whatsapp-option {
        background: #334155;
        border-color: #475569;
    }
    
    .whatsapp-option h4 {
        color: #f1f5f9;
    }
    
    .whatsapp-option p {
        color: #cbd5e1;
    }
    
    .whatsapp-option.selected {
        background: #064e3b;
        border-color: #10b981;
    }
}