/* Dashboard/Menu Page Styles */

/* Loading Spinner Animation */
.loading-spinner {
    display: inline-block;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Menu Grid - 3'lü Tasarım */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 0.5rem;
}

.menu-card {
    background: white;
    border-radius: 0.75rem;
    box-shadow: var(--shadow);
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    text-decoration: none;
    color: inherit;
    display: block;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.menu-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.menu-icon {
    font-size: 3rem;
    margin-bottom: 0.75rem;
    display: block;
}

.menu-title {
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--dark-text);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.menu-description {
    color: var(--light-text);
    font-size: 0.8rem;
    line-height: 1.4;
    text-align: center;
}

/* Stats Grid - 3'lü */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.stat-card {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 1rem;
    border-radius: 0.75rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.stat-value {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.8rem;
    opacity: 0.9;
    line-height: 1.2;
}

/* Welcome Section */
.welcome-section {
    text-align: center;
    margin-bottom: 2rem;
}

.welcome-title {
    font-size: 2rem;
    color: var(--dark-text);
    margin-bottom: 0.75rem;
    font-weight: 300;
}

.welcome-subtitle {
    font-size: 1rem;
    color: var(--light-text);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.5;
}

/* Responsive - Tablet */
@media (max-width: 768px) {
    .menu-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.75rem;
    }
    
    .menu-card {
        padding: 1rem;
        min-height: 140px;
    }
    
    .menu-icon {
        font-size: 2.5rem;
        margin-bottom: 0.5rem;
    }
    
    .menu-title {
        font-size: 1rem;
    }
    
    .menu-description {
        font-size: 0.75rem;
    }
    
    .welcome-title {
        font-size: 1.75rem;
    }
    
    .welcome-subtitle {
        font-size: 0.9rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.75rem;
    }
    
    .stat-card {
        padding: 0.75rem;
    }
    
    .stat-value {
        font-size: 1.3rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
}

/* Responsive - Mobil */
@media (max-width: 480px) {
    .container {
        padding: 0 0.5rem;
        padding-top: 2px;
    }
    
    .welcome-section {
        margin-bottom: 0.5rem;
    }
    
    .welcome-title {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }
    
    .welcome-subtitle {
        font-size: 0.85rem;
        line-height: 1.4;
    }
    
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
        margin-bottom: 0rem;
    }
    
    .stat-card {
        padding: 0.5rem;
    }
    
    .stat-value {
        font-size: 1.1rem;
        margin-bottom: 0rem;
    }
    
    .stat-label {
        font-size: 0.65rem;
        line-height: 1.1;
    }
    
    .menu-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
    }
    
    .menu-card {
        padding: 0.75rem 0.5rem;
        min-height: 120px;
    }
    
    .menu-icon {
        font-size: 2rem;
        margin-bottom: 0.4rem;
    }
    
    .menu-title {
        font-size: 0.85rem;
        margin-bottom: 0.3rem;
        line-height: 1.2;
    }
    
    .menu-description {
        font-size: 0.65rem;
        line-height: 1.3;
    }
    
    .card-header {
        padding: 0.75rem;
    }
    
    .card-body {
        padding: 0.75rem;
    }
    
    .card-title {
        font-size: 1rem;
    }
}

/* Ekstra Küçük Ekranlar */
@media (max-width: 360px) {
    .menu-grid {
        gap: 0.4rem;
    }
    
    .menu-card {
        padding: 0.5rem 0.3rem;
        min-height: 100px;
    }
    
    .menu-icon {
        font-size: 1.8rem;
        margin-bottom: 0.3rem;
    }
    
    .menu-title {
        font-size: 0.8rem;
        margin-bottom: 0.2rem;
    }
    
    .menu-description {
        font-size: 0.6rem;
    }
    
    .stats-grid {
        gap: 0.4rem;
    }
    
    .stat-card {
        padding: 0.4rem;
    }
    
    .stat-value {
        font-size: 1rem;
    }
    
    .stat-label {
        font-size: 0.6rem;
    }
}