﻿/* ===== SITE.CSS - EK STİL DÜZENLEMELERİ ===== */

/* Login Sayfası Özel Stilleri */
.login-container {
    min-height: 100vh;
    background: linear-gradient(135deg, #2E8B57 0%, #3CB371 50%, #90EE90 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

    .login-container::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="25" cy="25" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1.5" fill="rgba(255,255,255,0.08)"/><circle cx="50" cy="10" r="1" fill="rgba(255,255,255,0.06)"/></svg>');
        opacity: 0.3;
    }

.login-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 48px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: 100%;
    max-width: 420px;
    position: relative;
    z-index: 1;
}

.login-header {
    text-align: center;
    margin-bottom: 32px;
}

    .login-header .logo {
        width: 80px;
        height: 80px;
        background: linear-gradient(135deg, #2E8B57, #3CB371);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 24px;
        font-size: 32px;
        color: white;
        box-shadow: 0 8px 20px rgba(46, 139, 87, 0.3);
    }

    .login-header h2 {
        color: #374151;
        font-weight: 700;
        margin-bottom: 8px;
        font-size: 28px;
    }

    .login-header p {
        color: #6B7280;
        margin: 0;
        font-size: 16px;
    }

/* Ana Sayfa Hero Bölümü */
.hero-section {
    min-height: 75vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #F0FFF0 0%, rgba(144, 238, 144, 0.1) 100%);
    position: relative;
    overflow: hidden;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
}

.hero-content .lead {
    font-size: 1.25rem;
    color: #6B7280;
    margin-bottom: 32px;
}

.hero-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.organic-illustration {
    position: relative;
    width: 300px;
    height: 300px;
    margin: 0 auto;
}

.leaf-container {
    position: relative;
    width: 100%;
    height: 100%;
}

    .leaf-container i {
        position: absolute;
        font-size: 4rem;
        color: #2E8B57;
        opacity: 0.8;
    }

.leaf-1 {
    top: 20%;
    left: 20%;
    animation: leafFloat 3s ease-in-out infinite;
}

.leaf-2 {
    top: 40%;
    right: 20%;
    animation: leafFloat 3s ease-in-out infinite 1s;
}

.leaf-3 {
    bottom: 20%;
    left: 30%;
    animation: leafFloat 3s ease-in-out infinite 2s;
}

@keyframes leafFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-10px) rotate(5deg);
    }
}

.stats-container {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 16px;
}

.stat-item {
    background: rgba(255, 255, 255, 0.9);
    padding: 12px 16px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: #2E8B57;
}

    .stat-item i {
        display: block;
        font-size: 24px;
        margin-bottom: 4px;
    }

/* Hızlı Erişim Kartları */
.quick-access-section {
    background: white;
    padding: 80px 0;
}

.quick-access-card {
    background: white;
    border: 2px solid #F1F5F4;
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

    .quick-access-card:hover {
        border-color: #2E8B57;
        transform: translateY(-4px);
        box-shadow: 0 8px 25px rgba(46, 139, 87, 0.15);
        color: inherit;
        text-decoration: none;
    }

    .quick-access-card .card-icon {
        width: 64px;
        height: 64px;
        border-radius: 16px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 16px;
        font-size: 24px;
        color: white;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }

    .quick-access-card h5 {
        font-weight: 600;
        margin-bottom: 8px;
        color: #374151;
    }

    .quick-access-card p {
        color: #6B7280;
        margin: 0;
        font-size: 14px;
    }

/* Özellikler Bölümü */
.features-section {
    background: #F8FFFE;
    padding: 80px 0;
}

.feature-card {
    background: white;
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid #E5E7EB;
}

    .feature-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    }

    .feature-card .feature-icon {
        width: 64px;
        height: 64px;
        background: linear-gradient(135deg, #2E8B57, #3CB371);
        border-radius: 16px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 20px;
        font-size: 24px;
        color: white;
        box-shadow: 0 4px 12px rgba(46, 139, 87, 0.3);
    }

    .feature-card h4 {
        font-weight: 600;
        margin-bottom: 12px;
        color: #374151;
    }

    .feature-card p {
        color: #6B7280;
        margin: 0;
        line-height: 1.6;
    }

/* Dashboard Özel Stilleri */
.firm-dashboard,
.admin-dashboard {
    padding: 24px 0;
}

.dashboard-header {
    background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(248,255,254,0.9) 100%);
    border: 1px solid rgba(229, 231, 235, 0.8);
    border-radius: 24px;
    padding: 40px;
    margin-bottom: 32px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

    .dashboard-header::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: linear-gradient(90deg, #2E8B57, #3CB371);
    }

    .dashboard-header h1 {
        font-size: 2.5rem;
        font-weight: 700;
        margin-bottom: 8px;
        color: #374151;
    }

    .dashboard-header .lead {
        color: #6B7280;
        font-size: 1.125rem;
        margin-bottom: 0;
    }

    .dashboard-header .badge {
        font-size: 12px;
        padding: 4px 12px;
        margin-left: 8px;
    }

.quick-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* Mobil Responsive İyileştirmeler */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content .lead {
        font-size: 1.125rem;
    }

    .organic-illustration {
        width: 200px;
        height: 200px;
    }

    .leaf-container i {
        font-size: 2.5rem;
    }

    .stats-container {
        gap: 8px;
    }

    .stat-item {
        padding: 8px 12px;
        font-size: 12px;
    }

        .stat-item i {
            font-size: 18px;
        }

    .quick-access-card,
    .feature-card {
        margin-bottom: 16px;
    }

        .quick-access-card .card-icon,
        .feature-card .feature-icon {
            width: 48px;
            height: 48px;
            font-size: 20px;
        }

    .dashboard-header {
        padding: 24px;
        text-align: center;
    }

        .dashboard-header h1 {
            font-size: 2rem;
        }

    .quick-actions {
        justify-content: center;
        margin-top: 16px;
    }

    .login-card {
        margin: 16px;
        padding: 32px 24px;
    }

    .login-header .logo {
        width: 64px;
        height: 64px;
        font-size: 24px;
    }

    .login-header h2 {
        font-size: 24px;
    }
}

/* Tablet için özel düzenlemeler */
@media (min-width: 769px) and (max-width: 1024px) {
    .hero-content h1 {
        font-size: 3rem;
    }

    .dashboard-header h1 {
        font-size: 2.25rem;
    }

    .organic-illustration {
        width: 250px;
        height: 250px;
    }
}

/* Dark mode hazırlığı */
@media (prefers-color-scheme: dark) {
    .card-organic {
        background: #1F2937;
        border-color: #374151;
        color: #F9FAFB;
    }

    .feature-card,
    .quick-access-card {
        background: #1F2937;
        border-color: #374151;
        color: #F9FAFB;
    }

    .hero-section {
        background: linear-gradient(135deg, #1F2937 0%, rgba(31, 41, 55, 0.9) 100%);
    }
}

/* Yazdırma stilleri */
@media print {
    .hero-section,
    .quick-access-section,
    .features-section {
        display: none !important;
    }

    .dashboard-header {
        box-shadow: none !important;
        border: 1px solid #D1D5DB !important;
        background: white !important;
    }
}

/* Yüksek kontrast erişilebilirlik */
@media (prefers-contrast: high) {
    .card-organic,
    .feature-card,
    .quick-access-card {
        border-width: 2px;
        border-color: #000;
    }

    .btn-organic {
        background: #000;
        border: 2px solid #000;
    }

    .btn-outline-organic {
        border-width: 2px;
        color: #000;
        border-color: #000;
    }
}

/* Animasyon azaltma */
@media (prefers-reduced-motion: reduce) {
    .leaf-1,
    .leaf-2,
    .leaf-3 {
        animation: none;
    }

    .quick-access-card:hover,
    .feature-card:hover,
    .card-organic:hover {
        transform: none;
    }
}

/* Focus durumları - erişilebilirlik */
.quick-access-card:focus,
.feature-card:focus {
    outline: 2px solid #2E8B57;
    outline-offset: 2px;
}

/* Loading states */
.btn-loading {
    position: relative;
    pointer-events: none;
    opacity: 0.8;
}

    .btn-loading::after {
        content: '';
        position: absolute;
        width: 16px;
        height: 16px;
        top: 50%;
        left: 50%;
        margin-left: -8px;
        margin-top: -8px;
        border: 2px solid transparent;
        border-top-color: currentColor;
        border-radius: 50%;
        animation: spin 0.8s ease infinite;
    }

/* Skeleton loading */
.skeleton {
    background: linear-gradient(90deg, #F1F5F4 25%, #E5E7EB 50%, #F1F5F4 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* Utility classes */
.min-vh-75 {
    min-height: 75vh;
}

.min-vh-100 {
    min-height: 100vh;
}

.z-index-1 {
    z-index: 1;
}

.z-index-10 {
    z-index: 10;
}

.z-index-50 {
    z-index: 50;
}

.cursor-pointer {
    cursor: pointer;
}

.cursor-not-allowed {
    cursor: not-allowed;
}

.user-select-none {
    user-select: none;
}

.overflow-hidden {
    overflow: hidden;
}

.position-relative {
    position: relative;
}

.position-absolute {
    position: absolute;
}

.w-auto {
    width: auto;
}

.h-auto {
    height: auto;
}
