/* ===== DASHBOARD HOMEPAGE STYLES ===== */

/* Scroll animasyonu için ekstra stiller */
.modern-card, .package-card, .service-card, .value-card {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.modern-card.animate-in, .package-card.animate-in, .service-card.animate-in, .value-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Gradient text animasyonu */
@keyframes gradient-text {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.modern-section-title h2 {
    background: linear-gradient(90deg, #76b729, #5a9e1f, #76b729, #4a8c1a);
    background-size: 300% 300%;
    animation: gradient-text 3s ease infinite;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ===== DASHBOARD FULL SCREEN LAYOUT ===== */
.hero-modern {
    position: relative;
    overflow: hidden;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.dashboard-logo-container,
.dashboard-content {
    background-color: #28364a;
    color: #ffffff;
    width: 100%;
    min-height: 100vh;
}

.dashboard-logo-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.dashboard-content {
    position: relative;
    z-index: 2;
    padding: 5rem 0 4rem;
}

.dashboard-logo {
    width: 120px;
    height: auto;
}

/* ===== DASHBOARD PROFILE SECTION ===== */
.dashboard-profile-section {
    margin-bottom: 3rem;
}

.profile-card-simple {
    max-width: 600px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* İşletme Bilgisi */
.shop-info {
    margin-bottom: 1.5rem;
}

.shop-name-simple {
    font-size: 2.2rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    line-height: 1.2;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Kullanıcı Bilgileri */
.user-info-simple {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}

.avatar-simple {
    flex-shrink: 0;
}

.avatar-simple i {
    font-size: 3.5rem;
    color: #76b729;
    filter: drop-shadow(0 2px 8px rgba(118, 183, 41, 0.3));
}

.user-avatar-img {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #76b729;
    box-shadow: 0 2px 8px rgba(118, 183, 41, 0.3);
}

.user-details-simple {
    text-align: left;
    flex: 1;
    max-width: 300px;
}

.user-name-simple {
    font-size: 1.6rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 0.5rem 0;
    line-height: 1.3;
}

.role-badge-simple {
    background: #76b729;
    color: #ffffff;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    display: inline-block;
    box-shadow: 0 2px 8px rgba(118, 183, 41, 0.3);
}

/* ===== DASHBOARD STATS SECTION ===== */
.dashboard-stats-section {
    margin-bottom: 5rem;
}

.dashboard-stat-card {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 2rem;
    height: 100%;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-left: 5px solid #76b729;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    min-height: 140px;
}

.dashboard-stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.stat-icon-wrapper {
    margin-right: 1.5rem;
    min-width: 80px;
    text-align: center;
}

.stat-icon {
    font-size: 3rem;
    color: #76b729;
}

.stat-info {
    flex: 1;
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: #28364a;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-number.stat-success {
    color: #76b729;
}

.stat-title {
    font-size: 1rem;
    color: #6c757d;
    font-weight: 500;
    line-height: 1.3;
}

/* ===== DASHBOARD ACTIONS SECTION ===== */
.dashboard-actions-section {
    text-align: center;
}

.actions-header {
    margin-bottom: 3rem;
}

.actions-title {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

.actions-grid {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.dashboard-action-btn {
    background-color: #76b729;
    color: #ffffff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    border: 2px solid #76b729;
    transition: all 0.3s ease;
    min-width: 200px;
    justify-content: center;
}

.dashboard-action-btn:hover {
    background-color: #ffffff;
    color: #76b729;
    text-decoration: none;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(118, 183, 41, 0.3);
}

/* Sipariş Ekle butonu için özel stil */
.dashboard-action-btn.btn-primary-action {
    background: linear-gradient(45deg, #76b729, #8bc34a);
    border: 2px solid #76b729;
    position: relative;
    overflow: hidden;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(118, 183, 41, 0.4);
}

.dashboard-action-btn.btn-primary-action::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.dashboard-action-btn.btn-primary-action:hover::before {
    left: 100%;
}

.dashboard-action-btn.btn-primary-action:hover {
    background: linear-gradient(45deg, #8bc34a, #76b729);
    color: #ffffff;
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(118, 183, 41, 0.5);
}

.dashboard-action-btn.btn-primary-action .action-icon {
    font-size: 1.3rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.action-icon {
    font-size: 1.2rem;
}

.action-text {
    white-space: nowrap;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 992px) {
    .dashboard-content {
        padding: 4rem 0 3rem;
    }

    .dashboard-profile-section {
        margin-bottom: 4rem;
    }

    .dashboard-stats-section {
        margin-bottom: 4rem;
    }
}

@media (max-width: 768px) {
    .dashboard-content {
        padding: 3rem 0 2rem;
    }

    .profile-card-simple {
        max-width: 95%;
        padding: 1.5rem;
    }

    .shop-name-simple {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }

    .user-info-simple {
        flex-direction: column;
        gap: 1rem;
    }

    .user-details-simple {
        text-align: center;
        max-width: none;
    }

    .user-name-simple {
        font-size: 1.4rem;
        margin-bottom: 0.5rem;
    }

    .avatar-simple i {
        font-size: 3rem;
    }

    .user-avatar-img {
        width: 3rem;
        height: 3rem;
    }

    .role-badge-simple {
        font-size: 0.8rem;
        padding: 0.3rem 0.8rem;
    }

    .dashboard-profile-section {
        margin-bottom: 3rem;
    }

    .dashboard-stats-section {
        margin-bottom: 3rem;
    }

    .actions-grid {
        gap: 1rem;
    }

    .dashboard-action-btn {
        min-width: 250px;
        font-size: 0.95rem;
    }

    .actions-title {
        font-size: 1.7rem;
    }
}

@media (max-width: 576px) {
    .dashboard-content {
        padding: 2rem 0;
    }

    .profile-card-simple {
        margin: 0 1rem;
        padding: 1.2rem;
    }

    .shop-name-simple {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .user-info-simple {
        flex-direction: column;
        gap: 0.8rem;
    }

    .user-details-simple {
        text-align: center;
    }

    .user-name-simple {
        font-size: 1.2rem;
        margin-bottom: 0.4rem;
    }

    .avatar-simple i {
        font-size: 2.5rem;
    }

    .user-avatar-img {
        width: 2.5rem;
        height: 2.5rem;
    }

    .role-badge-simple {
        font-size: 0.75rem;
        padding: 0.25rem 0.7rem;
    }

    .dashboard-stat-card {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
        min-height: auto;
    }

    .stat-icon-wrapper {
        margin-right: 0;
        margin-bottom: 1rem;
        min-width: auto;
    }

    .stat-icon {
        font-size: 2.5rem;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .stat-title {
        font-size: 0.9rem;
    }

    .actions-grid {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .dashboard-action-btn {
        width: 100%;
        max-width: 280px;
        min-width: auto;
        font-size: 0.9rem;
        padding: 0.875rem 1.5rem;
    }

    .actions-title {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }

    .dashboard-profile-section,
    .dashboard-stats-section {
        margin-bottom: 2rem;
    }
}
