/* ========================================
   İPTAL VE İADE KOŞULLARI SAYFASI CSS
   Kompakt Tasarım - hakkimizda.html gibi
======================================== */

/* Prevent Double Scroll */
html, body {
    overflow-x: hidden;
    max-width: 100%;
}

/* Hero Section - Kompakt */
.iptal-hero {
    background: linear-gradient(135deg, #c0392b 0%, #96281b 100%);
    padding: 40px 0;
    text-align: center;
    color: #fff;
}

.iptal-hero-content h1 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.iptal-hero-content h1 i { font-size: 1.6rem; }

.iptal-hero-content p {
    font-size: 0.95rem;
    opacity: 0.95;
    max-width: 550px;
    margin: 0 auto 12px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.15);
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
}


/* Breadcrumb */
.breadcrumb-section {
    background: var(--bg-light);
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
}

.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--primary-color); }
.breadcrumb i { font-size: 0.6rem; color: var(--text-muted); }
.breadcrumb span { color: var(--text-dark); font-weight: 500; }

/* Main Content - Kompakt Container */
.iptal-content {
    padding: 30px 0 50px;
    background: #fff;
}

.iptal-content .container {
    max-width: 900px;
}

/* Cards - Kompakt */
.iptal-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    margin-bottom: 16px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.iptal-card.highlight-card {
    border: 2px solid var(--primary-color);
}

.iptal-card.critical {
    border: 2px solid #ff9800;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: var(--bg-light);
    border-bottom: 1px solid var(--border-color);
}

.card-icon {
    width: 36px;
    height: 36px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.card-icon.red { background: #e74c3c; }
.card-icon.blue { background: #3498db; }
.card-icon.green { background: #27ae60; }
.card-icon.purple { background: #9b59b6; }
.card-icon.orange { background: #ff9800; }

.card-header h2 {
    font-size: 0.95rem;
    color: var(--text-dark);
    margin: 0;
    flex: 1;
}

.critical-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #fff3e0;
    color: #e65100;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
}

.card-body {
    padding: 16px;
}

.card-body p {
    color: var(--text-dark);
    line-height: 1.6;
    margin-bottom: 12px;
    font-size: 0.85rem;
}

.intro-text { font-size: 0.9rem !important; }


/* Principle Box */
.principle-box {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: #e3f2fd;
    padding: 12px 14px;
    border-radius: 8px;
    border-left: 3px solid #2196f3;
}

.principle-box i {
    color: #1976d2;
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.principle-box p {
    color: #1565c0;
    margin: 0;
    font-size: 0.85rem;
}

/* Stages Grid - Kompakt */
.stages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 14px;
}

.stage-box {
    padding: 14px;
    border-radius: 8px;
    border: 1px solid;
}

.stage-box.success { background: #e8f5e9; border-color: #4caf50; }
.stage-box.warning { background: #fff8e1; border-color: #ffc107; }
.stage-box.danger { background: #ffebee; border-color: #f44336; }

.stage-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.stage-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
}

.stage-box.success .stage-icon { background: #4caf50; color: #fff; }
.stage-box.warning .stage-icon { background: #ffc107; color: #fff; }
.stage-box.danger .stage-icon { background: #f44336; color: #fff; }

.stage-header h3 { font-size: 0.85rem; margin: 0; }
.stage-box.success .stage-header h3 { color: #2e7d32; }
.stage-box.warning .stage-header h3 { color: #f57f17; }
.stage-box.danger .stage-header h3 { color: #c62828; }

.stage-list {
    list-style: none;
    padding: 0;
    margin: 0 0 10px 0;
}

.stage-list li {
    padding: 4px 0 4px 14px;
    position: relative;
    font-size: 0.75rem;
    line-height: 1.4;
}

.stage-box.success .stage-list li { color: #2e7d32; }
.stage-box.warning .stage-list li { color: #f57f17; }
.stage-box.danger .stage-list li { color: #c62828; }

.stage-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    font-weight: bold;
}

.stage-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.7rem;
    font-weight: 600;
}

.stage-badge.success { background: #4caf50; color: #fff; }
.stage-badge.warning { background: #ffc107; color: #fff; }
.stage-badge.danger { background: #f44336; color: #fff; }


/* İade Comparison - Kompakt */
.iade-comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 12px;
}

.iade-box {
    padding: 14px;
    border-radius: 8px;
}

.iade-box.accept { background: #e8f5e9; border: 1px solid #4caf50; }
.iade-box.reject { background: #ffebee; border: 1px solid #f44336; }

.iade-box h4 {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    margin-bottom: 10px;
}

.iade-box.accept h4 { color: #2e7d32; }
.iade-box.reject h4 { color: #c62828; }
.iade-box.accept h4 i { color: #4caf50; }
.iade-box.reject h4 i { color: #f44336; }

.iade-box ul { list-style: none; padding: 0; margin: 0; }

.iade-box ul li {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    padding: 4px 0;
    font-size: 0.8rem;
}

.iade-box.accept ul li { color: #2e7d32; }
.iade-box.reject ul li { color: #c62828; }
.iade-box ul li i { flex-shrink: 0; margin-top: 3px; font-size: 0.7rem; }

/* Process Steps - Kompakt */
.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin: 14px 0;
}

.step {
    text-align: center;
    padding: 14px 10px;
    background: var(--bg-light);
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.step-number {
    width: 32px;
    height: 32px;
    background: #9b59b6;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 700;
    margin: 0 auto 8px;
}

.step-content h4 {
    font-size: 0.8rem;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.step-content p {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.3;
}

/* Contact Methods - Kompakt */
.contact-methods {
    background: var(--bg-light);
    padding: 12px;
    border-radius: 8px;
    margin-top: 12px;
}

.contact-methods h4 {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.contact-methods h4 i { color: #9b59b6; }

.methods-grid {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.method-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--text-dark);
    text-decoration: none;
    transition: all 0.3s ease;
}

.method-item:hover { border-color: var(--primary-color); color: var(--primary-color); }
.method-item.whatsapp { background: #25d366; color: #fff; border-color: #25d366; }
.method-item.whatsapp:hover { background: #128c7e; border-color: #128c7e; }


/* Refund Info - Kompakt */
.refund-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.refund-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px;
    background: var(--bg-light);
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.refund-item i { font-size: 1.2rem; color: #27ae60; flex-shrink: 0; }
.refund-item h4 { font-size: 0.8rem; color: var(--text-dark); margin-bottom: 3px; }
.refund-item p { font-size: 0.75rem; color: var(--text-muted); margin: 0; line-height: 1.3; }

/* Damage Warning - Kompakt */
.damage-warning {
    display: flex;
    gap: 12px;
    background: #fff3e0;
    padding: 14px;
    border-radius: 8px;
    border: 1px solid #ff9800;
}

.damage-warning .warning-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: #ff9800;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.damage-warning .warning-icon i { font-size: 1.1rem; color: #fff; }
.damage-warning .warning-content h4 { font-size: 0.9rem; color: #e65100; margin-bottom: 6px; }
.damage-warning .warning-content p { color: #e65100; margin-bottom: 8px; font-size: 0.8rem; }

.warning-note {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #ffcc80;
    padding: 8px 12px;
    border-radius: 5px;
    font-weight: 600;
    font-size: 0.75rem !important;
}

.warning-note i { color: #e65100; }

/* Legal Note - Kompakt */
.legal-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: #e8f5e9;
    padding: 12px 14px;
    border-radius: 8px;
    border-left: 3px solid #4caf50;
    margin-top: 12px;
}

.legal-note i { color: #388e3c; font-size: 1rem; flex-shrink: 0; margin-top: 2px; }
.legal-note p { color: #2e7d32; margin: 0; font-size: 0.8rem; }

/* Related Links - Kompakt */
.related-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-top: 12px;
}

.related-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 14px 10px;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.related-link:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.related-link i { font-size: 1.4rem; color: var(--primary-color); }
.related-link span { font-size: 0.75rem; color: var(--text-dark); text-align: center; font-weight: 500; }


/* CTA Section - Kompakt */
.iptal-cta {
    background: linear-gradient(135deg, #c0392b 0%, #96281b 100%);
    padding: 30px;
    border-radius: 10px;
    margin-top: 20px;
    text-align: center;
    color: #fff;
}

.cta-content h2 { font-size: 1.3rem; margin-bottom: 8px; }
.cta-content p {
    font-size: 0.9rem;
    opacity: 0.95;
    margin-bottom: 18px;
    max-width: 450px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-cta.whatsapp { background: #25d366; color: #fff; }
.btn-cta.whatsapp:hover { background: #128c7e; transform: translateY(-2px); }
.btn-cta.contact { background: #fff; color: #c0392b; }
.btn-cta.contact:hover { transform: translateY(-2px); }
.btn-cta.quote { background: transparent; color: #fff; border: 2px solid #fff; }
.btn-cta.quote:hover { background: #fff; color: #c0392b; }

/* ========================================
   RESPONSIVE
======================================== */
@media (max-width: 768px) {
    .iptal-hero { padding: 30px 0; }
    .iptal-hero-content h1 { font-size: 1.4rem; flex-direction: column; gap: 6px; }
    .iptal-hero-content p { font-size: 0.85rem; }
    .hero-badge { font-size: 0.75rem; text-align: center; }
    
    .iptal-content { padding: 20px 0 35px; }
    .card-header { padding: 10px 14px; }
    .card-icon { width: 32px; height: 32px; font-size: 0.9rem; }
    .card-header h2 { font-size: 0.9rem; }
    .card-body { padding: 14px; }
    
    .stages-grid { grid-template-columns: 1fr; }
    .iade-comparison { grid-template-columns: 1fr; }
    .process-steps { grid-template-columns: repeat(2, 1fr); }
    .refund-info { grid-template-columns: 1fr; }
    .related-links { grid-template-columns: repeat(2, 1fr); }
    
    .damage-warning { flex-direction: column; text-align: center; }
    .damage-warning .warning-icon { margin: 0 auto; }
    
    .iptal-cta { padding: 25px 18px; }
    .cta-content h2 { font-size: 1.2rem; }
    .cta-buttons { flex-direction: column; align-items: stretch; }
    .btn-cta { justify-content: center; }
}

@media (max-width: 480px) {
    .iptal-hero-content h1 { font-size: 1.2rem; }
    .process-steps { grid-template-columns: 1fr; }
    .related-links { grid-template-columns: 1fr; }
    .methods-grid { flex-direction: column; }
    .method-item { justify-content: center; }
    .principle-box, .legal-note { flex-direction: column; text-align: center; }
    .refund-item { flex-direction: column; text-align: center; }
    .warning-note { flex-direction: column; text-align: center; }
}

/* Overflow Fix */
.iptal-card, .stage-box, .iade-box, .step, .refund-item, .damage-warning,
.principle-box, .legal-note, .related-link, .method-item, .contact-methods, .iptal-cta {
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.card-body p, .stage-list li, .iade-box ul li, .step-content p, .refund-item p,
.damage-warning .warning-content p, .principle-box p, .legal-note p {
    word-wrap: break-word;
    overflow-wrap: break-word;
}