/* =====================================================
   TevkilYap.com - Ana Stil Dosyası
   Türkiye'nin En Güvenilir Hukuk Tevkil Platformu
   ===================================================== */

:root {
    --primary: #1a365d;
    --primary-light: #2c5282;
    --primary-dark: #0f2440;
    --secondary: #c9a84c;
    --secondary-light: #d4b96a;
    --accent: #e8b04b;
    --success: #38a169;
    --danger: #e53e3e;
    --warning: #d69e2e;
    --info: #3182ce;
    --dark: #1a202c;
    --gray-50: #f7fafc;
    --gray-100: #edf2f7;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e0;
    --gray-400: #a0aec0;
    --gray-500: #718096;
    --gray-600: #4a5568;
    --gray-700: #2d3748;
    --gray-800: #1a202c;
    --gold: #FFD700;
    --silver: #C0C0C0;
    --platin: #E5E4E2;
    --platin-plus: #8B5CF6;
    --radius: 8px;
    --radius-lg: 16px;
    --shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.07), 0 2px 4px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.1), 0 4px 6px rgba(0,0,0,0.05);
    --shadow-xl: 0 20px 25px rgba(0,0,0,0.1), 0 10px 10px rgba(0,0,0,0.04);
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--gray-700);
    line-height: 1.6;
    background: var(--gray-50);
}

a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-light); }

/* ===== NAVBAR ===== */
.navbar-tevkil {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    padding: 0;
    box-shadow: var(--shadow-lg);
    position: sticky;
    top: 0;
    z-index: 1050;
}

.navbar-tevkil .navbar-brand {
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff !important;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 0;
}

.navbar-tevkil .navbar-brand .brand-icon {
    font-size: 1.8rem;
    color: var(--secondary);
}

.navbar-tevkil .navbar-brand span {
    color: var(--secondary);
}

.navbar-tevkil .nav-link {
    color: rgba(255,255,255,0.85) !important;
    font-weight: 500;
    padding: 16px 18px !important;
    transition: var(--transition);
    position: relative;
}

.navbar-tevkil .nav-link:hover,
.navbar-tevkil .nav-link.active {
    color: #fff !important;
    background: rgba(255,255,255,0.1);
}

.navbar-tevkil .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 3px;
    background: var(--secondary);
    border-radius: 3px 3px 0 0;
}

.btn-navbar {
    background: var(--secondary);
    color: var(--primary-dark) !important;
    font-weight: 700;
    border: none;
    border-radius: 50px;
    padding: 8px 24px !important;
    margin-left: 8px;
    transition: var(--transition);
}

.btn-navbar:hover {
    background: var(--secondary-light);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(201,168,76,0.4);
}

/* ===== HERO SECTION ===== */
.hero-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
    color: white;
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    z-index: 0;
}

.hero-section .container { position: relative; z-index: 1; }

.hero-section h1 {
    font-size: 3.2rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-section h1 span {
    color: var(--secondary);
    position: relative;
}

.hero-section .hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 600px;
    margin-bottom: 40px;
    line-height: 1.7;
}

.hero-buttons .btn {
    padding: 14px 36px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px;
    margin-right: 12px;
    margin-bottom: 10px;
    transition: var(--transition);
}

.btn-hero-primary {
    background: var(--secondary);
    color: var(--primary-dark);
    border: 2px solid var(--secondary);
}

.btn-hero-primary:hover {
    background: var(--secondary-light);
    color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(201,168,76,0.4);
}

.btn-hero-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255,255,255,0.5);
}

.btn-hero-secondary:hover {
    background: rgba(255,255,255,0.1);
    border-color: white;
    color: white;
    transform: translateY(-2px);
}

.hero-stats {
    display: flex;
    gap: 50px;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.15);
}

.hero-stat h3 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--secondary);
}

.hero-stat p {
    opacity: 0.8;
    font-size: 0.95rem;
}

.hero-image {
    position: relative;
}

.hero-image img {
    max-width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
}

/* ===== TRUST BAR ===== */
.trust-bar {
    background: white;
    padding: 30px 0;
    border-bottom: 1px solid var(--gray-200);
}

.trust-item {
    text-align: center;
    padding: 15px;
}

.trust-item i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.trust-item h6 {
    font-weight: 700;
    color: var(--gray-700);
    margin-bottom: 4px;
}

.trust-item p {
    font-size: 0.85rem;
    color: var(--gray-500);
    margin: 0;
}

/* ===== HOW IT WORKS ===== */
.section { padding: 80px 0; }
.section-light { background: white; }
.section-dark { background: var(--gray-50); }

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 12px;
}

.section-title p {
    font-size: 1.1rem;
    color: var(--gray-500);
    max-width: 600px;
    margin: 0 auto;
}

.section-title .divider {
    width: 60px;
    height: 4px;
    background: var(--secondary);
    margin: 15px auto 0;
    border-radius: 2px;
}

.step-card {
    text-align: center;
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    background: white;
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    position: relative;
    height: 100%;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary);
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    font-size: 1.5rem;
    font-weight: 800;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.step-card h4 {
    color: var(--primary-dark);
    font-weight: 700;
    margin-bottom: 12px;
}

.step-card p {
    color: var(--gray-500);
    font-size: 0.95rem;
}

.step-arrow {
    position: absolute;
    right: -30px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: var(--secondary);
    z-index: 2;
}

/* ===== FEATURES ===== */
.feature-card {
    padding: 30px;
    border-radius: var(--radius-lg);
    background: white;
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    font-size: 1.3rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.feature-card h5 {
    color: var(--primary-dark);
    font-weight: 700;
    margin-bottom: 8px;
}

.feature-card p {
    color: var(--gray-500);
    font-size: 0.9rem;
    margin: 0;
}

/* ===== PRICING ===== */
.pricing-card {
    background: white;
    border-radius: var(--radius-lg);
    border: 2px solid var(--gray-200);
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    height: 100%;
}

.pricing-card.popular {
    border-color: var(--secondary);
    transform: scale(1.05);
    box-shadow: var(--shadow-xl);
}

.pricing-card.popular::before {
    content: 'Önerilen';
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--secondary);
    color: var(--primary-dark);
    font-weight: 700;
    font-size: 0.8rem;
    padding: 4px 20px;
    border-radius: 50px;
}

.pricing-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.pricing-card .plan-name {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 8px;
}

.pricing-card .plan-price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
}

.pricing-card .plan-price small {
    font-size: 0.9rem;
    color: var(--gray-500);
    font-weight: 500;
}

.pricing-card .plan-features {
    list-style: none;
    padding: 0;
    margin: 24px 0;
    text-align: left;
}

.pricing-card .plan-features li {
    padding: 8px 0;
    color: var(--gray-600);
    border-bottom: 1px solid var(--gray-100);
    font-size: 0.93rem;
}

.pricing-card .plan-features li i {
    margin-right: 8px;
    width: 20px;
    text-align: center;
}

.pricing-card .plan-features li i.fa-check { color: var(--success); }
.pricing-card .plan-features li i.fa-times { color: var(--danger); }

/* ===== TESTIMONIALS ===== */
.testimonial-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 30px;
    border: 1px solid var(--gray-200);
    height: 100%;
}

.testimonial-card .stars { margin-bottom: 12px; }
.testimonial-card .stars i { color: var(--accent); font-size: 1rem; }

.testimonial-card .quote {
    color: var(--gray-600);
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.7;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-author .avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
}

.testimonial-author .info h6 {
    margin: 0;
    font-weight: 700;
    color: var(--gray-700);
}

.testimonial-author .info small {
    color: var(--gray-500);
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: white;
    padding: 80px 0;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.cta-section p {
    font-size: 1.15rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 30px;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--gray-800);
    color: var(--gray-400);
    padding: 60px 0 30px;
}

.footer h5 {
    color: white;
    font-weight: 700;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer a {
    color: var(--gray-400);
    transition: var(--transition);
    display: block;
    padding: 4px 0;
}

.footer a:hover { color: var(--secondary); }

.footer .footer-brand {
    font-size: 1.4rem;
    font-weight: 800;
    color: white;
    margin-bottom: 12px;
}

.footer .footer-brand span { color: var(--secondary); }

.footer .social-links a {
    display: inline-flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    color: white;
    margin-right: 8px;
    transition: var(--transition);
}

.footer .social-links a:hover {
    background: var(--secondary);
    color: var(--primary-dark);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    margin-top: 40px;
    text-align: center;
    font-size: 0.85rem;
}

/* ===== DASHBOARD ===== */
.dashboard-sidebar {
    background: white;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    padding: 20px;
    position: sticky;
    top: 90px;
}

.sidebar-user {
    text-align: center;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--gray-200);
    margin-bottom: 16px;
}

.sidebar-user .avatar-lg {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    margin: 0 auto 10px;
}

.sidebar-nav .nav-link {
    color: var(--gray-600);
    padding: 10px 16px;
    border-radius: var(--radius);
    margin-bottom: 4px;
    font-weight: 500;
    transition: var(--transition);
}

.sidebar-nav .nav-link:hover { background: var(--gray-100); color: var(--primary); }
.sidebar-nav .nav-link.active { background: var(--primary); color: white !important; }
.sidebar-nav .nav-link i { width: 24px; margin-right: 8px; }

/* ===== CARDS ===== */
.listing-card {
    background: white;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    padding: 24px;
    margin-bottom: 16px;
    transition: var(--transition);
}

.listing-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--gray-300);
}

.listing-card .listing-type {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.listing-type.dava { color: var(--primary); }
.listing-type.icra { color: var(--info); }

.listing-card h5 {
    color: var(--gray-800);
    font-weight: 700;
    margin: 8px 0;
}

.listing-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 12px;
}

.listing-meta span {
    font-size: 0.9rem;
    color: var(--gray-500);
}

.listing-meta span i { margin-right: 4px; color: var(--gray-400); }

/* ===== FORMS ===== */
.form-control, .form-select {
    border: 1px solid var(--gray-300);
    border-radius: var(--radius);
    padding: 10px 14px;
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26,54,93,0.1);
}

.form-label {
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 6px;
}

/* ===== BUTTONS ===== */
.btn-primary {
    background: var(--primary);
    border-color: var(--primary);
    font-weight: 600;
    border-radius: var(--radius);
    transition: var(--transition);
}

.btn-primary:hover {
    background: var(--primary-light);
    border-color: var(--primary-light);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-secondary-gold {
    background: var(--secondary);
    color: var(--primary-dark);
    border: none;
    font-weight: 700;
    border-radius: var(--radius);
}

.btn-secondary-gold:hover {
    background: var(--secondary-light);
    color: var(--primary-dark);
}

.btn-outline-primary {
    border: 2px solid var(--primary);
    color: var(--primary);
    font-weight: 600;
    border-radius: var(--radius);
}

.btn-outline-primary:hover {
    background: var(--primary);
    color: white;
}

/* ===== ALERTS ===== */
.alert { border-radius: var(--radius); border: none; font-weight: 500; }
.alert-success { background: #f0fff4; color: #22543d; }
.alert-error, .alert-danger { background: #fff5f5; color: #742a2a; }
.alert-warning { background: #fffff0; color: #744210; }
.alert-info { background: #ebf8ff; color: #2a4365; }

/* ===== BADGE ===== */
.badge { font-weight: 600; padding: 5px 12px; border-radius: 50px; }

/* ===== STATUS BADGE ===== */
.status-active { background: #c6f6d5; color: #22543d; }
.status-pending { background: #fefcbf; color: #744210; }
.status-completed { background: #c3dafe; color: #2a4365; }
.status-cancelled { background: #fed7d7; color: #742a2a; }

/* ===== AVAILABILITY TOGGLE ===== */
.availability-toggle {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: white;
    border-radius: var(--radius-lg);
    border: 2px solid var(--gray-200);
}

.availability-toggle.active { border-color: var(--success); background: #f0fff4; }
.availability-toggle.active .toggle-text { color: var(--success); }

/* Toggle Switch */
.toggle-switch {
    position: relative;
    width: 52px;
    height: 28px;
}

.toggle-switch input { opacity: 0; width: 0; height: 0; }

.toggle-slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background: var(--gray-300);
    border-radius: 28px;
    transition: var(--transition);
}

.toggle-slider::before {
    content: '';
    position: absolute;
    height: 22px;
    width: 22px;
    left: 3px;
    bottom: 3px;
    background: white;
    border-radius: 50%;
    transition: var(--transition);
}

.toggle-switch input:checked + .toggle-slider { background: var(--success); }
.toggle-switch input:checked + .toggle-slider::before { transform: translateX(24px); }

/* ===== MOBILE APP BANNER ===== */
.mobile-app-banner {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--primary-dark);
    color: white;
    padding: 15px 20px;
    z-index: 9999;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
}

.mobile-app-banner .btn-close-banner {
    position: absolute;
    top: 8px;
    right: 12px;
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .hero-section { padding: 60px 0 50px; }
    .hero-section h1 { font-size: 2rem; }
    .hero-stats { gap: 20px; flex-wrap: wrap; }
    .hero-stat h3 { font-size: 1.6rem; }
    .section { padding: 50px 0; }
    .section-title h2 { font-size: 1.8rem; }
    .pricing-card.popular { transform: none; }
    .step-arrow { display: none; }
    .mobile-app-banner { display: block; }
    .navbar-tevkil .nav-link { padding: 10px 16px !important; }
}

@media (max-width: 576px) {
    .hero-section h1 { font-size: 1.7rem; }
    .hero-buttons .btn { display: block; width: 100%; margin-right: 0; }
}

/* ===== NOTIFICATION DROPDOWN ===== */
.notification-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 18px;
    height: 18px;
    background: var(--danger);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notification-dropdown {
    width: 360px;
    max-height: 400px;
    overflow-y: auto;
    padding: 0;
}

.notification-item {
    padding: 12px 16px;
    border-bottom: 1px solid var(--gray-100);
    transition: var(--transition);
}

.notification-item:hover { background: var(--gray-50); }
.notification-item.unread { background: #ebf8ff; }

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fadeInUp {
    animation: fadeInUp 0.6s ease forwards;
}

.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }
.animate-delay-4 { animation-delay: 0.4s; }

/* ===== MODAL ===== */
.modal-content { border-radius: var(--radius-lg); border: none; }
.modal-header { background: var(--primary); color: white; border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
.modal-header .btn-close { filter: invert(1); }

/* ===== PRINT ===== */
@media print {
    .navbar-tevkil, .footer, .mobile-app-banner, .sidebar { display: none; }
    body { background: white; }
}
