/* Saklı Bahçe Esenköy - Sözleşmeler Sayfası Özel Stilleri */

/* Contract Tabs */
.contract-tab {
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

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

.contract-tab.active {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(179, 69, 18, 0.3);
}

/* Contract Sections */
.contract-section {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Prose Styling */
.prose h3 {
    color: #1f2937;
    font-weight: 600;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e5e7eb;
}

.prose h4 {
    color: #374151;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.prose ul {
    margin-left: 1.5rem;
}

.prose li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.prose p {
    line-height: 1.7;
    margin-bottom: 1rem;
}

/* Table Styling */
.prose table {
    border-collapse: collapse;
    width: 100%;
    margin: 1.5rem 0;
}

.prose th,
.prose td {
    padding: 0.75rem 1rem;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
}

.prose th {
    background-color: #f9fafb;
    font-weight: 600;
    color: #374151;
}

.prose tr:hover {
    background-color: #f9fafb;
}

/* Info Boxes */
.bg-blue-50 {
    background-color: #eff6ff;
    border-left: 4px solid #3b82f6;
}

.bg-yellow-50 {
    background-color: #fefce8;
    border-left: 4px solid #eab308;
}

.bg-green-50 {
    background-color: #f0fdf4;
    border-left: 4px solid #22c55e;
}

.bg-purple-50 {
    background-color: #faf5ff;
    border-left: 4px solid #a855f7;
}

.bg-red-50 {
    background-color: #fef2f2;
    border-left: 4px solid #ef4444;
}

.bg-orange-50 {
    background-color: #fff7ed;
    border-left: 4px solid #f97316;
}

/* Button Styles */
.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border: none;
    box-shadow: 0 4px 15px rgba(179, 69, 18, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    box-shadow: 0 6px 20px rgba(179, 69, 18, 0.4);
    transform: translateY(-2px);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
    border: none;
    box-shadow: 0 4px 15px rgba(75, 103, 88, 0.3);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, var(--secondary-dark), var(--secondary));
    box-shadow: 0 6px 20px rgba(75, 103, 88, 0.4);
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .contract-tab {
        font-size: 0.875rem;
        padding: 0.5rem 0.75rem;
    }
    
    .prose {
        font-size: 0.875rem;
    }
    
    .prose h3 {
        font-size: 1.125rem;
    }
    
    .prose table {
        font-size: 0.75rem;
    }
    
    .prose th,
    .prose td {
        padding: 0.5rem 0.75rem;
    }
}

/* Print Styles */
@media print {
    .contract-tab {
        display: none;
    }
    
    .contract-section {
        display: block !important;
    }
    
    .btn-primary,
    .btn-secondary {
        display: none;
    }
    
    .prose {
        color: #000 !important;
    }
    
    .bg-blue-50,
    .bg-yellow-50,
    .bg-green-50,
    .bg-purple-50,
    .bg-red-50,
    .bg-orange-50 {
        background-color: #f9f9f9 !important;
        border-left: 2px solid #000 !important;
    }
}

/* Accessibility */
.contract-tab:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.prose a:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
    border-radius: 2px;
}

/* Dark mode support (if needed) */
@media (prefers-color-scheme: dark) {
    .prose h3 {
        color: #f9fafb;
        border-bottom-color: #4b5563;
    }
    
    .prose h4 {
        color: #e5e7eb;
    }
    
    .prose th {
        background-color: #374151;
        color: #f9fafb;
    }
    
    .prose tr:hover {
        background-color: #374151;
    }
}
